Error Message " 0x8004100E" When You Run a Windows Management Instrumentation Script
c:\wbemtest
To check WMI connectivity.
Cause:WMI corruption
Resolution:
C:\Windows\system32>winmgmt /verifyrepository
WMI repository is INCONSISTENT
C:\Windows\system32>winmgmt /salvagerepository
WMI repository salvage failed
Error code: 0x8007041B
Facility: Win32
Description: A stop control has been sent to a service that other running ser vices are dependent on.
C:\Windows\system32>winmgmt /resetrepository
WMI repository reset failed
Error code: 0x8007041B
Facility: Win32
Description: A stop control has been sent to a service that other running services are dependent on.
Cause:WMI corruption
Resolution:
C:\Windows\system32>winmgmt /verifyrepository
WMI repository is INCONSISTENT
C:\Windows\system32>winmgmt /salvagerepository
WMI repository salvage failed
Error code: 0x8007041B
Facility: Win32
Description: A stop control has been sent to a service that other running ser vices are dependent on.
C:\Windows\system32>winmgmt /resetrepository
WMI repository reset failed
Error code: 0x8007041B
Facility: Win32
Description: A stop control has been sent to a service that other running services are dependent on.
IT WORKED.
WMI issue was fixed in the server after
applying following steps.
1.
Change startup type to Window Management Instrumentation (WMI) Service to
disabled
2.
Stop the WMI Service, you may need to stop IP Helper Service first before it
allow you to stop WMI Service as it is a dependency
3.
Rename the repository folder: C:\WINDOWS\system32\wbem\Repository
4.
Open a CMD Prompt with elevated privileges
5.
Cd windows\system32\wbem
6.
for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s
7.
Set the WMI Service type back to Automatic and restart WMI Service
8.
cd /d c:\ ((go to the root of the c drive, this is important))
9.
for /f %s in ('dir /s /b *.mof *.mfl') do mofcomp %s
10.
Reboot the server
The solution was provided by Microsoft PS.
No comments:
Post a Comment