Author Topic: Solution when Windows Security Center does not recognize antivirus or firewall  (Read 118174 times)

Offline Tech

  • avast! team
  • Certainly Bot
  • *
  • Posts: 64873
  • Gender: Male
    • Personal Message (Offline)
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.


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:

Code: [Select]
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).
« Last Edit: October 02, 2007, 02:53:11 AM by Tech »
The best things in life are free.

Offline CharleyO

  • avast! Evangelist
  • Starting Graphoman
  • ***
  • Posts: 7102
  • Gender: Male
  • Be alert for error code - ID 10T
    • Personal Message (Offline)
***

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

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


***
Self-built desktop (8 years old) - AMD64 3200+_Gigabyte GA-K8NS Ultra-939_4 gb RAM_GeForceFX 5800w/256 ram_XP/SP3_Avast 7_MBAM_ZA Free __and__ Toshiba Satellite Laptop_W7-64bit_ 4 gb Ram_Avast 8_MBAM

Offline DavidR

  • avast! Überevangelist
  • Certainly Bot
  • *****
  • Posts: 69205
  • Gender: Male
  • No support PMs thanks
    • Personal Message (Offline)
Or perhaps you could also add it to one of the other Stickies, like the Users FAQ ;D one of Tech's other creations.
Core2Duo E8300/ 4GB Ram/ WinXP ProSP3/ avast! free 2014 9.0.2018/ Outpost Firewall Pro9.1/ Firefox 28.0, NoScript, RequestPolicy/ MailWasher Pro/ DropMyRights/ MalwareBytes AntiMalware Premium 2.0.1/ WinPatrol+/ Drive Image 7.1/ SnagIt 10.0/ avast! mobile security

Offline Tech

  • avast! team
  • Certainly Bot
  • *
  • Posts: 64873
  • Gender: Male
    • Personal Message (Offline)
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 best things in life are free.

Offline DavidR

  • avast! Überevangelist
  • Certainly Bot
  • *****
  • Posts: 69205
  • Gender: Male
  • No support PMs thanks
    • Personal Message (Offline)
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 ?
Core2Duo E8300/ 4GB Ram/ WinXP ProSP3/ avast! free 2014 9.0.2018/ Outpost Firewall Pro9.1/ Firefox 28.0, NoScript, RequestPolicy/ MailWasher Pro/ DropMyRights/ MalwareBytes AntiMalware Premium 2.0.1/ WinPatrol+/ Drive Image 7.1/ SnagIt 10.0/ avast! mobile security

Offline Spiritsongs

  • avast! Evangelist
  • Super Poster
  • ***
  • Posts: 1761
  • Ad-aware orientated Support forum(s)
    • Personal Message (Offline)
 :)  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
For the Best in what counts in Life :
www.tacf.org

Offline Tech

  • avast! team
  • Certainly Bot
  • *
  • Posts: 64873
  • Gender: Male
    • Personal Message (Offline)
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 ?
It was, until yesterday... I think they 'changed' the stutus of it.  ::)

Well, I've posted there too  ;)
The best things in life are free.

Offline bob3160

  • avast! Überevangelist
  • Maybe Bot
  • *****
  • Posts: 23931
  • Gender: Male
  • 53 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
    • Personal Message (Offline)
:)  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

Take Davids advice and use DropMyRights.
This can only be a possible security flaw if your online as an administrator.
Free avast! Security Seminar: http://www.authorstream.com/Presentation/bob3160-1425909-protecting-yourself/    -  Important: http://www.organdonor.gov/
My Blog: http://bob3160.blogspot.com/ - Win 8.1 Pro 64bit, 4 Gig Ram, avast!2014.9.0.2015 Free, MBAM, WinPatrol -- How to Successfully Install avast! http://goo.gl/VLXde
                     - It's nice to be Important. - It's more important to be Nice. -

Offline shotpeen2000

  • Newbie
  • *
  • Posts: 1
  • I'm a llama!
    • Personal Message (Offline)
thansk tech who provide such wonderful skill and deal with nightmare when i surfing on the net  :)

Offline Tech

  • avast! team
  • Certainly Bot
  • *
  • Posts: 64873
  • Gender: Male
    • Personal Message (Offline)
thansk tech who provide such wonderful skill and deal with nightmare when i surfing on the net  :)
You're welcome... But you need to come back for more posts and help the others  8)
The best things in life are free.

Offline roundtrip

  • Jr. Member
  • **
  • Posts: 39
  • I'm a llama!
    • Personal Message (Offline)
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.

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

Offline DavidR

  • avast! Überevangelist
  • Certainly Bot
  • *****
  • Posts: 69205
  • Gender: Male
  • No support PMs thanks
    • Personal Message (Offline)
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.

Quote
Microsoft Windows XP, Service Pack 2

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.
Core2Duo E8300/ 4GB Ram/ WinXP ProSP3/ avast! free 2014 9.0.2018/ Outpost Firewall Pro9.1/ Firefox 28.0, NoScript, RequestPolicy/ MailWasher Pro/ DropMyRights/ MalwareBytes AntiMalware Premium 2.0.1/ WinPatrol+/ Drive Image 7.1/ SnagIt 10.0/ avast! mobile security

Offline bob3160

  • avast! Überevangelist
  • Maybe Bot
  • *****
  • Posts: 23931
  • Gender: Male
  • 53 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
    • Personal Message (Offline)
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.  :)
Free avast! Security Seminar: http://www.authorstream.com/Presentation/bob3160-1425909-protecting-yourself/    -  Important: http://www.organdonor.gov/
My Blog: http://bob3160.blogspot.com/ - Win 8.1 Pro 64bit, 4 Gig Ram, avast!2014.9.0.2015 Free, MBAM, WinPatrol -- How to Successfully Install avast! http://goo.gl/VLXde
                     - It's nice to be Important. - It's more important to be Nice. -

Offline DavidR

  • avast! Überevangelist
  • Certainly Bot
  • *****
  • Posts: 69205
  • Gender: Male
  • No support PMs thanks
    • Personal Message (Offline)
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.
« Last Edit: January 28, 2007, 12:46:21 PM by DavidR »
Core2Duo E8300/ 4GB Ram/ WinXP ProSP3/ avast! free 2014 9.0.2018/ Outpost Firewall Pro9.1/ Firefox 28.0, NoScript, RequestPolicy/ MailWasher Pro/ DropMyRights/ MalwareBytes AntiMalware Premium 2.0.1/ WinPatrol+/ Drive Image 7.1/ SnagIt 10.0/ avast! mobile security

Offline Tech

  • avast! team
  • Certainly Bot
  • *
  • Posts: 64873
  • Gender: Male
    • Personal Message (Offline)
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... :(

Quote
If the repair fails or if your script still does not work then you will need to contact Microsoft Product Support Services.
The best things in life are free.

 

Google Chrome

AVAST recommends using the FREE Google Chrome™ browser.

Download Google Chrome Now