Windows Management Instrumentation Error Code 80041003

Asked By 10 points N/A Posted on -
qa-featured

I have a Windows Management Instrumentation related problem. It gave me an error message code of 80041003 which indicates that the user does not have permission to perform the action. What are the best and easy ways to fix this problem? Do I need to reinstall WMI? What are the steps and where I could find them? How do I start with it? Thanks!

 

 

SHARE
Answered By 0 points N/A #102593

Windows Management Instrumentation Error Code 80041003

qa-featured
There is the best way to understand the problem go for line 54:-
 
Set colItems = objWMIService.ExecQuery("Select IPAddress from
Win32_NetworkAdapterConfiguration WHERE IPEnabled=TRUE",,48)
 
If it is correct, it appears you have permission to connect to the
computer, but not to use the Win32_NetworkAdapterConfiguration class of WMI.
Or, if the error is raised on the previous line (which seems more likely),
you cannot connect with WMI. Instead of the following:
Set objWMIService = GetObject("winmgmts:\" & strComputer & "rootcimv2")
also you should to try this:
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate,authenticationLevel=Pkt}!\" _
& strComputer & "rootcimv2")
 
there is having another links given for troubleshoot WMI:
 

 

Related Questions