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:

winmgmt /salvagerepository

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:

winmgmt /verifyrepository

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


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

3 Responses to “Security Center Not Reporting Anti-Virus or Firewall Status Correctly” Subscribe to comments!

  1. Dave
    said this on Sunday, November 8th 2009 6:16 pm

    I removed the trial virus protection off my laptop and installed a new package which seems to be working ok but i get a warning message on my Windows Security Alerts Icon that i have no anti virus.

    I tried the above solution but got the same message as Eddie above & am still getting the same warning on my Windows Security Icon.

    Can anyone help please ?

    Cheers
    Dave

  2. pok
    said this on Saturday, April 4th 2009 9:46 pm

    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

  3. said this on Wednesday, February 4th 2009 8:17 am

    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

Leave a Reply