Windows error 0x80041002, -2147217406

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode4 (0x004)
NameFACILITY_ITF[1][2]
DescriptionThe source of the error code is COM/OLE Interface management.[1][2]
Error Code4098 (0x1002)

Questions

5votes
1answer

DFS: File randomly missing?

We have a DFS installed on two different servers. Running health reports finds no errors and generally everything seems OK, but: 1. On some computers, files will be saved on a DFS folder randomly, but will not actually appear on other computers or physically on the server. Sometimes they will [...] read more
windows-server-2008
dfs
4votes
5answers

Windows 2008 DFS Replication Issue

We have two Server 2008 R2 servers running DFS-R (named dfs01 and dfs02) in a 2008 R2 Domain. Today I found the files in server dfs01 can not be replicated to dfs02. So I used the command dfsrdiag backlog /rgname:<group> /rfname:<folder> /sendingmember:dfs01/receivingmember:dfs02 to check the backlog. After executing the command, [...] read more
windows-server-2008
dfs-r
3votes
2answers

Printer monitoring script (PowerShell)

I am going to write a script of some sort to check event viewer in a windows server 2003 for all printjobs, and then write them to a comma delimited textfile like printername_floor_room.txt I am wondering what the best way is to do this realtime, and keep checking the event [...] read more
windows-server-2003
powershell
scripting
printer
2votes
2answers

Give Powershell the output of a command as if it was a string

I'm using Powershell to script the deletion of printers and their drivers. I'm calling the Printing_admin_scripts that are located in the System32 folder on Windows 7+. These scripts generate a LOT of output, and I'd like to capture the output (throw away most of it), and generate my own output, [...] read more
windows
powershell
2votes
0answers

Ansible win_dsc fails to install SqlServer with SqlServerDsc

I am trying to install SQLServer 2019 on Windows Server 2019 using ansible and SqlServerDsc I am getting am error about missing CimClass MSFT_SqlSetup. It seems that I am missing something to be installed or ? The full traceback is: Not found At line:50 char:17 + ... $resource = Get-CimClass [...] read more
sql-server
windows
ansible
dsc
2votes
2answers

I'm getting errors when I try open a URL in VB

I get a "A first chance exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll" error when I try to open a URL in VB. I have tried multiply ways of opening the site, but all have returned this error. The code I'm using now is this Public Class Revise Private Sub [...] read more
vb.net
url
visual-studio-2012
1vote
1answer

XP64 2 XP64 install software using WMI

I try to install a .exe remote onto my gaming PC. I know the .exe exists but the call gives me an error. C:\WINDOWS>wmic /node:"Spiele" /user:"Spielen" /password:"XXX" product call install true,"", "C:\setup.exe" ERROR: Code = 0x80041002 Description = Not found Facility = WMI C:\WINDOWS> The location of the exe-File I [...] read more
windows
wmi
1vote
1answer

Creating WorkFolders fail with: New-SyncShare : Not Found

Currently I am eveluating Microsofts new WorkFolder feature which sounds very promissing to abendon the messy folder redirection feature. So I installed the feature using ServerManager under "File and iSCSI Services" and ran through the wizard. However when I try to create the the share i receive: Create sync share [...] read more
windows
windows-server-2012-r2
1vote
0answers

Tigger installation in software center using SCCM 2012 & Powershell

I would need some directions where to look for an solution. I need to trigger install on a few programs in SCCM 2012 software center on Windows 10 clients through Powershell. I guess some of those are User Based Packages(not sure about this at all) but when i run the [...] read more
powershell
sccm
1vote
2answers

Python --- find current or last logged on user

I am trying to find current or last logged on user Part of the script # userIP has been defined # try to access wmi try: c = wmi.WMI(userIP) except: print "Cannot access WMI for", userIP sys.exit() for os in c.Win32_OperatingSystem(): print os.Caption for us in c.Win32_LogonSession(): print us.LogonId I [...] read more
python
wmi
1vote
1answer

accesing WMI information from python

I have this small PS script which outputs a list of ip adresses and their respective ID's for the iSCSI initiator. Now I want to do some more extensive stuff with this information and since I don't really know PS and the way it works I would like to migrate [...] read more
python
powershell
wmi
iscsi
1vote
1answer

How to use powershell to open a URL like "imacros://run/?m=my_saved_macro.iim"?

To open a typical URL like http://www.google.com from PowerShell, we can use something like: start http://www.google.com However, to automate imacros, sometimes I need open URLs like imacros://run/?m=my_saved_macro.iim. You can go to here if you want the details. When I try the PowerShell code start imacros://run/?m=my_saved_macro.iim, I got the following error: [...] read more
powershell
imacros
1vote
1answer

Can anyone help me with this error?? 0x80041002

unknown error 0x80041002 c# programming I have a listview I am able to via openfiledialog, open file paths and put them into the listview I will save them in text file format and close my c# winform application Open it up again and tried to place the saved files back [...] read more
c#
0votes
0answers

Win32_PerfFormattedData_PerfOS_Processor not available

I have the problem, that the WMI providers Win32_PerfFormattedData_PerfOS_Processor and Win32_PerfFormattedData_PerfProc_Process requests are not working at one of my systems. In C# test program it is waiting endlessly for the request, in Delphi it throws an exception 'invalid query'. Seems like the whole WmiPerfInst Provider is not available. Update: Found [...] read more
windows-10
wmi
0votes
1answer

Windows 8.1: Tasklist: ERROR: Not found

When I run tasklist, I get this error. >tasklist ERROR: Not found >where tasklist C:\Windows\System32\tasklist.exe >tasklist /? TASKLIST [/S system [/U username [/P [password]]]] [/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH] ... >taskkill ERROR: Invalid syntax. Neither /FI nor /PID nor /IM were specified. Type "TASKKILL [...] read more
windows
command-line
windows-8.1
wmi
0votes
0answers

Prncnfg.vbs Unable to get configuration for printer 0x80041002 Not Found

Print Logs batch file Hi, I am currently getting the following error: Unable to get configuration for printer %remoteComputerIP%,3,Windows NT x86 Error 0x80041002 Not found Operation GetObject Provider CIMWin32 Description Win32 error code The code seems to execute. All of the code I am running remotely, and I have the [...] read more
printing
batch-file
cmd.exe
0votes
2answers

SCCM deployment (XP) fails on random computers; cant seem to communicate with server

Let me start off by mentioning that I have no prior experience with SCCM, and that this is a proof of concept setup we are setting up in order to deploy our classroom environments more dynamically. The need arose to be able to change between OSes (XP and Win7, to [...] read more
sccm
0votes
0answers

SCCM can't install client..even manually

we have SCCM Server the client install successfully on servers but not on workstations windows 10. on the ccmsetup.log I got these errors Failed to connect to policy namespace. Error 0x8004100e Failed to revoke client upgrade local policy. Error 0x8004100e Could not retrieve value for MDM_ConfigSetting . Error 0x80041002 Failed [...] read more
installation
windows-10
client
sccm
0votes
0answers

Unable to apply local GP changes due to WMI errors

I've been working on this for quite a while, and I still can't seem to get it fixed. When I run gpupdate /force, I get the following error: The processing of Group Policy failed. Windows could not evaluate the Windows Management Instrumentation (WMI) filter for the Group Policy object cn={20FFF4C6-8EAF-49D7-AA66- [...] read more
wmi
group-policy
0votes
1answer

Unable to RDP after running docker on windows

I am running docker on windows. But I am getting this error: 17:07:22 ---> Running in 8c6a46bbe049 17:07:33 container 8c6a46bbe049260df0ef60b165bd7929a2d8368dcb2baa3cffc7434175a2f811 encountered an error during CreateContainer: failure in a Windows system call: winapi error #2147749890 (0x80041002) extra info: {"SystemType":"Container","Name":"8c6a46bbe049260df0ef60b165bd7929a2d8368dcb2baa3cffc7434175a2f811","Owner":"docker","IsDummy":false,"VolumePath":"\\\\?\\Volume{885e371e-7607-11e9-a9ef-00155de60a79}","IgnoreFlushesDuringBoot":true,"LayerFolderPath":"C:\\ProgramData\\docker\\windowsfilter\\8c6a46bbe049260df0ef60b165bd7929a2d8368dcb2baa3cffc7434175a2f811","Layers":[{"ID":"70d02c58-59c2-5c57-832b-040fbae4082d","Path":"C:\\ProgramData\\docker\\windowsfilter\\3f3b1333b3e56c53c9cdedab9c4ec0e536b923e35c4cfbb64d68d775f7e189ab"},{"ID":"f2b424b8-a849-53e1-9257-7e17fcf4a3fa","Path":"C:\\ProgramData\\docker\\windowsfilter\\874be3b3d29cd1420a8799b482648281a5a04a4604b6f955b305f16c5ffd87db"},{"ID":"865b0b0c-60dc-5052-9af1-6f48b0081b58","Path":"C:\\ProgramData\\docker\\windowsfilter\\ca13b9af8dcc734a0b7dab288ff35a9de9e0b1831122d80315038a368e4be979"},{"ID":"e027a8bd-497f-51a0-bba6-56de6579fd8c","Path":"C:\\ProgramData\\docker\\windowsfilter\\9b2b43be7ff215bea3764306e1d8bbc5a2663c418b5af5643cf720b3604e1909"},{"ID":"754b58d8-c4c4-526a-84df-17b6113fd181","Path":"C:\\ProgramData\\docker\\windowsfilter\\47284b3fd596123a45b89439805ba7f38a7900b1bd67696fafc508f247ca8879"},{"ID":"170bb839-9260-50cf-9f16-2d104a0a41a0","Path":"C:\\ProgramData\\docker\\windowsfilter\\963bfd0727440da144ef3634b9201cf122704bf6171b2306a513c8cc9ca1bd7b"},{"ID":"a3fb6aee-3e04-54c1-8e5b-e665ee073dfe","Path":"C:\\ProgramData\\docker\\windowsfilter\\1daa28b5b08959c93789085549c21165ae66eaebb21092c6019d04939b544085"},{"ID":"a4b61e7f-94cc-5174-95cf-cd5840cd0a92","Path":"C:\\ProgramData\\docker\\windowsfilter\\c81fd28ba0796e1447eee305a9c05f088a0b3ef7920d5fb20b44399fbe584079"},{"ID":"ac5b7f9d-6b96-56fb-93b8-276e30c421ed","Path":"C:\\ProgramData\\docker\\windowsfilter\\58c0426733a33c783f6e3c359c83a63fb31c00fe629bb82764d6a1871b5ac433"},{"ID":"1cd2b979-13de-5fdd-a19b-d33d85fb14eb","Path":"C:\\ProgramData\\docker\\windowsfilter\\5eae35195cd3f58f2d02312aa5df2fec6f87cedf57f41554b625ddac21dddf66"},{"ID":"bee4c6c2-fda9-53d1-97a2-730790e98655","Path":"C:\\ProgramData\\docker\\windowsfilter\\54e2d38e2056906db9e434c33c546a0e536a29a545fe98406be4c1836d90887d"},{"ID":"d30d22d3-5197-555b-928c-d0f2f2099a61","Path":"C:\\ProgramData\\docker\\windowsfilter\\21c171679948030094aa20ecc6c9cf02ea0cc6b438f9a0fde0eb1f76e057d825"}],"HostName":"28224361016f","MappedDirectories":[],"HvPartition":false,"EndpointList":["6864626d-9cdf-4e21-9a34-2ae818f2e8f5"],"Servicing":false,"AllowUnqualifiedDNSQuery":true} 17:07:33 Build step 'Execute shell' marked build as failure Unfortanely, as soon [...] read more
windows
docker
rdp
0votes
1answer

How to understand apparent memory leak in WmiPrvSE process?

My application is running lots of WMI queries, which are done by opening a connection to root\cimv2, executing the query, and then closing that connection. Now it seems that the WmiPrvSE.exe process in going into a memory leak. A heap_stat.py memory leak investigation (heap_stat.py, as explained under this URL), shows [...] read more
memory-leaks
wmi
windows-server-2016
0votes
0answers

x_wmi: Unexpected COM Error (getting COM Port adresses) Python2.7

error: x_wmi: Unexpected COM Error (-2147217406, 'OLE error 0x80041002', None, None) I am trying to get the windows PC the detect the COM port of an Ardunio. The code sometimes works and sometimes doesn't, when it doesn't i get the error listed above. testing the code by plugging in and [...] read more
python
wmi
0votes
1answer

Unknown error (0x80041002) when starting process on ASP.NET server

I have a very basic ASP.NET (.NET 4) forms application. This application is designed to control some items on the server. One of the things I do is launch URIs on the server using Process.Start(uri);. During development, on my dev PC, it launches the process/URI just fine and works great. [...] read more
c#
asp.net
process
uri
0votes
1answer

Can somebody correct the vbscript error

I'm trying to copy of all the order files into one file at the end of the day. Here's my code.Can somebody please correct the error.The error is in cFol when I type in the complete name of the directory like C:\Customers\ABF\Orders I'm not getting any error. But when I [...] read more
vbscript
wmi

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0