Solution when Windows Security Center does not recognize antivirus or firewall

Sometimes, Windows Security Center stop recognizing your antivirus or firewall… The fix could be fairly easy for the most part.

  1. Go to control panel and open Administrative tools.
  2. Click on services.
  3. Go down to Windows Managament Instrumentation.
  4. Stop this service. Stop Security Center service too.
    Let them to Automatically start.
  5. Exit out of this area to your desktop.
  6. Right click Start and choose Explore.
  7. Go to c:\windows\system32\wbem\repository.
    Delete this subdirectory ONLY. Let the others there.
    Sometimes, only using Unlocker, MoveOnBoot or Delete FXP you can delete these files.
  8. Exit back to your desktop and reboot your computer (maybe you need to boot twice).

This will rebuild the deleted folder and the database. Once restarted, Windows Security Center should show the correct info and antivirus and firewall should now be recoginized :wink:

Other answers for XP Security Center not detecting antivirus or firewall program could be found here: http://support.microsoft.com/kb/883792.

On Vista, the following procedure seems to work:

  1. Go to control panel and open Administrative tools.
  2. Click on services.
  3. Stop these services:
    Windows Security Center
    Windows Managament Instrumentation
    SBSD Security Center Service (if you use Spybot Search & Destroy).
  4. Let all them to Automatically start.
  5. Remove the directory C:\Windows\System32\wbem\Repository
  6. Go to Services and Continue all the Services above or go to next step.
  7. Reboot

Or, create a .bat file with the following content:


echo off
cls
echo.
echo Stopping Windows Management Service - please wait ...
net stop winmgmt
echo.
echo.
echo Removing Repository folder - please wait ...
rd /S /Q %systemroot%\system32\wbem\Repository
echo.
echo.
echo Starting Windows Management Service - please wait ...
net start winmgmt
cls
echo.
echo Done!

Run it in Vista as Administrator (right click the file and chose to run as Administrator).


Thanks for posting that information, Tech, as I am sure it will help many. :slight_smile:

That should be made a “sticky” for at least a few months or else it will get “buried” below other post.


Or perhaps you could also add it to one of the other Stickies, like the Users FAQ ;D one of Tech’s other creations.

You know I can’t… the thread is locked and I’m not a Moderator there anymore, although my name and Bob are still shown there :-\

The Users FAQ is in the General forum now, Vlk and Igor as Moderators and there doesn’t appear to be a lock on it ?

:slight_smile: Hi all :

  I still think one should turn OFF ( "Disable" ) the entire
 "Windows Security Center" based on the security flaw
  in the WMI as discussed in :

  www.pcmag.com/article2/0,1759,1639276,00.asp

It was, until yesterday… I think they ‘changed’ the stutus of it. ::slight_smile:

Well, I’ve posted there too :wink:

Take Davids advice and use DropMyRights.
This can only be a possible security flaw if your online as an administrator.

thansk tech who provide such wonderful skill and deal with nightmare when i surfing on the net :slight_smile:

You’re welcome… But you need to come back for more posts and help the others 8)

This is the dirty old method that was used before Win XP SP2 made it simpler! It is better to rebuild the repository. Microsoft have an article about WMI that details how to do this on Win XP SP2 and Win 2K3 SP1.

See http://www.microsoft.com/technet/scriptcenter/topics/help/wmi.mspx

I assume is what you are talking about, this UpgradeRepository for XP SP2.

If so I doubt we will have long to wait to see if it works as this appears quite frequently in the forums, thanks for the link.

[b]Microsoft Windows XP, Service Pack 2[/b]

If you are running Windows XP, Service Pack 2 you can use a single command to detect and repair a corrupted WMI Repository. To do so, type the following from the command prompt (note that the parameter UpgradeRepository is case-sensitive and must be typed exactly as shown):

rundll32 wbemupgd, UpgradeRepository

After running UpgradeRepository you can verify the results by looking ay the Setup log. If inconsistencies are detected and if the operating system was able to rebuild the Repository you should see information in Setup.log similar to this:

(Wed Oct 12 13:46:36 2005): ===========================================================================
(Wed Oct 12 13:46:36 2005): Beginning WBEM Service Pack Installation
(Wed Oct 12 13:46:36 2005): Current build of wbemupgd.dll is 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
(Wed Oct 12 13:46:36 2005): Current build of wbemcore.dll is 5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)
(Wed Oct 12 13:46:52 2005): Inconsistent repository detected; it will be recreated


(Wed Oct 12 13:47:33 2005): Wbemupgd.dll Service Security upgrade succeeded (XP SP update).
(Wed Oct 12 13:47:33 2005): WBEM Service Pack Installation completed.
(Wed Oct 12 13:47:33 2005): ===========================================================================

Note. There will probably be other entries in the log as well, but you should specifically look for the ones shown above.

I can attest that Tech’s method works since I’ve had to use it.
I also know that the scripting method is beond my skills and probably
most non expert computer users but thanks for the information. :slight_smile:

It isn’t that complex, Start, Run, type cmd and click OK, at the command prompt type ‘rundll32 wbemupgd, UpgradeRepository’ (without the quotes) and enter, it’s done.

The confirmation I guess isn’t a must do as it either works and avast is recognised or it fails, if it fails there isn’t much you can do.

I tried it as I outlined above and it ran OK and updated the C:\WINDOWS\SYSTEM32\wbem\Logs\setup.log file.

I also tried as a Windows, Start, Run, and typed the command, no errors displayed I assume it worked, but it was very fast. Since the instructions mention ‘To do so, type the following from the command prompt’ so my guess is you have to open a cmd window to run it.

Edit: tested the windows Run command again and this time checked the setup.log file and the windows run method also works, mind you that is run against a working wbem repository.

rundll32 wbemupgd, UpgradeRepository

I’ve tested last time I had a problem and it does not solve my problem.
Seems that I’m on the users that should go to MS support… which I’ve tried and receive none.
Outside of US, MS support has a lot of holes, dark holes… :frowning:

If the repair fails or if your script still does not work then you will need to contact Microsoft Product Support Services.

Thank you. It only took the first step for me just now. I stopped the security service, then I waited a few seconds, then started it again. Voila! Now Security Center reads my Avast! protection.

Thanks! :slight_smile:

Linda

Would this work with Vista Home Premium OS too?
I have just installed Avast! on a friends new DELL after removing McAfee (with some difficulty). Avast seems to work okay but Vista does not recognise it.

Please look at the original instruction and follow them.
http://forum.avast.com/index.php?topic=23457.msg193534#msg193534
This will work with either version.
Welcome to the forum.

Thanks for the welcome Bob3160. I will try what you say.

Ted

Any other possible ideas re: the security center not recognizing AVAST? I 've tried " Solution when Windows Security Center does not recognize antivirus or firewall
« on: September 10, 2006, 08:18:42 PM »


Sometimes, Windows Security Center stop recognizing your antivirus or firewall… The fix could be fairly easy for the most part.

  1. Go to control panel and open Administrative tools.
  2. Click on services.
  3. Go down to Windows Managament Instrumentation.
  4. Stop this service. Stop Security Center service too.
    Let them to Automatically start.
  5. Exit out of this area to your desktop.
  6. Right click Start and choose Explore.
  7. Go to c:\windows\system32\wbem\repository.
    Delete this subdirectory ONLY. Let the others there.
    Sometimes, only using Unlocker, MoveOnBoot or Delete FXP you can delete these files.
  8. Exit back to your desktop and reboot your computer (maybe you need to boot twice).

This will rebuild the deleted folder and the database. Once restarted, Windows Security Center should show the correct info and antivirus and firewall should now be recoginized

Other answers for XP Security Center not detecting antivirus or firewall program could be found here: http://support.microsoft.com/kb/883792.

« Last Edit: December 10, 2006, 01:35:32 PM by Tech » "

more than a couple of times. I’ve also tried the cmd line solution as well. Nothing seems to be working.

Running XP sp 2
avast is completely upto date

Ideas please.

thanks in advance