avast on XP

I have avast on a Dell laptop that is running Windows XP. The Windows security icon says no antivirus is running or up-todate, but when I check avast it is u[-to-date and appears to be running. There is not any other antivirus on myu computer. Can someone please help me.

This is a problem with the Windows Security Center or more correctly the WMI reporting (not avast).

WSC doesn’t detect avast! - http://www.microsoft.com/technet/scriptcenter/topics/help/wmi.mspx#EQKAC

[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.

  • OR
* Click Start, Run and type CMD.EXE
  • Type this command and press Enter:

net stop winmgmt

  • Using Windows Explorer, rename the folder %windir%\System32\Wbem\Repository. (For example, %windir%\System32\Wbem\Repository_bad.). %windir% represents the path to the Windows directory, which is typically C:\Windows.

  • Switch to Command Prompt window, and type the following and press ENTER after each line:

net start winmgmt

EXIT
Reboot

Did you have in the past other antivirus?
Is your system time and date correct?