Avast Not Recognized in Vista

I am having problems in Vista with the Security Center recognizing Avast Home Edition. I don’t know when it started but it doesn’t even see it, at all. It keeps telling me to install AntiVirus programs.

Is there a simple solution for this or do I need to uninstall and install to get this to work? I am seen a couple of things on this but nothing that makes sense to fix.

Is this an Avast or Vista thing?? :cry:

This is more a failing of the Vista Security Center, this was a common problem with the XP Security Center, which seems to have been inherited.

Whilst these are XP related
Windows Security Center not recognising avast!
Frequently asked questions about Windows Security Center
Check this - Solution when Windows Security Center does not recognize antivirus or firewall

Or

WSC doesn’t detect avast! - http://www.microsoft.com/technet/scriptcenter/topics/help/wmi.mspx#EQKAC
Windows XP SP2, Start, Run, type cmd and click OK from the command prompt type ‘rundll32 wbemupgd, RepairWMISetup’ without the quotes and enter.

[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 did “‘rundll32 wbemupgd, RepairWMISetup’ without the quotes” without the quotes and it doesn’t work on Vista Ultimate. I have also tried the other link that you suggested and that won’t let me delete the files that it mentions.

I guess I will disable this for now but it would be nice to fix. Do you know if uninstalling and installing again will fix this problem? I didn’t have the issue when I built this machine, it just appeared recently and it is puzzling.

There is a good chance of working…

Just did the uninstall and put it back on, cleared the registry and everything. It still shows no AV installed. I will turn off the notification and wait for something to get corrected on one end or the other.

Thanks for the suggestions on this… :cry:

Unfortunately waiting won’t resolve anything as it is a problem with VSC and nothing that avast does is likely to change that.

There were a couple of other links on that page and I assume that you were talking about the Blue link text and deletion of the Repository.

If so what reason was given for not being able to delete the file/repository sub folder ?
Perhaps a permissions issue, were you logged on to an account with administrator privileges ?

I finally did it, thanks to all the posts and the persistence that I have. Here is what I did, I followed the direction that this person did:

Method B from MVP Torgeir Bakken (more elegant)
Open a command window (Start/Run → cmd.exe) and run the following commands:

1)net stop winmgmt I paused winmgmt in services.

2)cd /d %windir%\system32\wbem ren repository repository.old
(or delete it using the command “rd /s repository” instead of the ren command)
What I had to do here is “cd” to the wbem folder and then run “rd /s repository”

3)net start winmgmt I restarted winmgmt in services.
It may take a minute or so to complete while WMI rebuilds the database.

Once this was done it still didn’t see so the next step was to reboot the system. When it came back up it saw Avast and the system is working correctly.

Thanks again,
;D

Glad you persevered and thanks for the feed back it may help others.