NetAdminTools.com
 
Categories:
GNU/Linux | Homebrew designs | Perl | Ruby | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | ERP | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Ruby
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·ERP
·REALbasic
·All Categories


Fixing WMI Corruption on Windows 7
Topic:Desktop   Date: 2013-02-03
Printer Friendly: Print   Mobile View: mobile

spacerspacer
<<  <   >  >>

Subject

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>


People:
Places:
Things:
windows management instrumentation
wmi
Times:





Please read our Terms of Use and our Privacy Policy
Microsoft, Windows, Windows Server are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2013 NetAdminTools.com