Windows Security Center uses Windows Management Instrumentation (WMI) to acquire information about the installed Anti-virus and Firewall applications, and their current status. In some cases, the Security Center may show outdated or misleading information due to problem in WMI repository. Here is a case where the Windows Vista Security Center reports incorrect information.

Fig 1: Security Center incorrectly reporting anti-virus/firewall info.
In the subject computer, the McAfee firewall was already uninstalled, but the Security Center still lists it. In some cases the Windows Vista Security Center may not detect installed Anti-Virus or firewall. (REF KB944175)
This occurs due to Windows Management Instrumentation (WMI) problems, but the fix is pretty simple! In Windows Vista, new command-line parameters are included for winmgmt.exe which help you automatically repair the WMI.
Note: If you’re using Windows XP and experiencing this problem, check Repairing and re-registering the WMI article for information on fixing WMI issues in Windows XP.
Resolution
To repair the WMI repository in Windows Vista, use these steps:
Open an elevated Command Prompt. To open an elevated Command Prompt, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
Type the following command and press ENTER:
If the command was successful, you should see the message WMI repository has been salvaged. Restart Windows and see if the Security Center issue is resolved.
Editor’s note: If you receive the error "WMI repository salvage failed" when running the above command, running the command the second time might help.
More Information
Running the winmgmt /salvagerepository command performs a consistency check on the WMI repository, and if an inconsistency is detected, rebuilds the repository. If you just want to check the WMI repository (without fixing it), use this command:
You may get either WMI repository is consistent or WMI repository is INCONSISTENT in the output.
Bookmark this Page!
BlinkList | del.icio.us | Digg it | Furl | reddit | Spurl | StumbleUpon |
Related Posts
- Update AVG Anti-Virus Silently Using Command-Line
- Enable and Disable Windows Firewall Quickly Using Command-Line
- Error “a .Bin File Is Missing” When Updating AVG Anti-Virus 8.0
- Error 1075 When Starting the Security Center Service in Windows XP
- Reset the Registry and the File Permissions in Windows XP
- Use the Windows 7 Compatibility Center to Know if a Software or Hardware Supports Windows 7
- Updating Microsoft Security Essentials Using Command-Line
- Virtual PC 2007 Security Options: Restrictions for Limited Users
- Analyze and Defragment Buttons in Disk Defragmenter Do Not Work
- Microsoft Security Essentials Is Now Available for Download
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?

› 
I tried both of your command prompts and get same messege:
wmi repository consistent
I DO NOT GET WMI REPOSITORY HAS BEEN SALVAGED
plus i have to be in safe mode as i cant acess the normal windows
please please i been tryin evrything i seen online
but no luck
I tried both of your command prompts and get same messege:
wmi repository consistent
I DO NOT GET WMI REPOSITORY HAS BEEN SALVAGED
Is there a key step missing?
thanx,
eDDIE