We had a workstation that wasn’t getting updates properly. Here are some items in the logs we noticed:
Event ID 43: Windows Management Instrumentation ADAP failed to connect to namespace \\.\root\cimv2 with the following error 0x80041002 |
And:
Event ID 1090: Windows failed to record Resultant Set of Policy (RSoP) information, which describes the scope of Group Policy objects applied to the computer or user. This could be caused by Windows Management Instrumentation (WMI) service being disabled, stopped, or other WMI errors. Group Policy settings successfully applied to the computer or user; however, management tools may not report accurately. |
Use the winmgmt command to see if you have WMI corruption:
C:\Windows\system32>winmgmt /verifyrepository WMI repository is INCONSISTENT C:\Windows\system32> |
Shut down the Windows Management Instrumentation and any dependencies, or you will get this error:
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> |
Fix and verify:
C:\Windows\system32>winmgmt /salvagerepository WMI repository has been salvaged C:\Windows\system32> C:\Windows\system32>winmgmt /verifyrepository WMI repository is consistent C:\Windows\system32> |
Run gpupdate:
C:\Windows\system32>gpupdate Updating Policy... User Policy update has completed successfully. Computer Policy update has completed successfully. C:\Windows\system32> |