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

0 Members and 1 Guest are viewing this topic.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
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, 04:53:11 AM by Tech »
The best things in life are free.

CharleyO

  • Guest
***

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.


***

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88895
  • No support PMs thanks
Or perhaps you could also add it to one of the other Stickies, like the Users FAQ ;D one of Tech's other creations.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
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: 88895
  • No support PMs thanks
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 ?
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Spiritsongs

  • Guest
 :)  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

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
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
  • Probably Bot
  • *****
  • Posts: 48523
  • 64 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
:)  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 Security Seminar: https://bit.ly/bobg2023  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 11 Pro v22H2 64bit, 16 Gig Ram, 1TB SSD, Avast Free 23.5.6066, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq -- My Online Activity https://bit.ly/BobGInternet

shotpeen2000

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

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
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.

roundtrip

  • Guest
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: 88895
  • No support PMs thanks
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.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline bob3160

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 48523
  • 64 Years of Happiness
    • bob3160 Protecting Yourself, Your Computer and, Your Identity
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 Security Seminar: https://bit.ly/bobg2023  -  Important: http://www.organdonor.gov/ -- My Web Site: http://bob3160.strikingly.com/ - Win 11 Pro v22H2 64bit, 16 Gig Ram, 1TB SSD, Avast Free 23.5.6066, How to Successfully Install Avast http://goo.gl/VLXdeRepair & Clean Install https://goo.gl/t7aJGq -- My Online Activity https://bit.ly/BobGInternet

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 88895
  • No support PMs thanks
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, 02:46:21 PM by DavidR »
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.2.6105 (build 24.2.8918.824) UI 1.0.799/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67195
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.