Robert said:
I use Sophos antivirus and the XP firewall. When I log in I usually get a
message "Your computer might be at risk - No firewall is turned on, Sophos
anti-virus is turned off". These two items are definitely switched on and
the message eventually goes away.
How do I prevent this from happening?
I have always assumed that this sort of behavior results from the order
in which various applications and services are started at boot time.
With respect to the "no anti-virus" warning, this simply means that
Windows security center has started and performed its check before your
Sophos a/v has completed its start-up. I'm a little surprised that
Windows firewall shows this same behavior. I would have thought it
would have been better integrated into the security checking system.
As for the order of startup items, the official word is that items in
the Run, RunOnce, RunServices, RunServicesOnce registry keys and the
Startup folder load asynchronously. That is, you can't really control
or predict the sequence in which items start. See
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q179365
http://blogs.msdn.com/oldnewthing/archive/2003/12/25/45926.aspx
In my experience, this behavior may occur more frequently if there are a
lot of startup items. Thus, if after some [unspecified] system
reconfiguration, the antivirus ends up at the tail end of the startup
sequence, security center loads up, sees no a/v, complains and posts the
warning balloon. Then, the a/v loads up and a second or so thereafter,
the security center warning goes away.
If you are interested, download Autoruns see what is being started and
in what order.
http://www.microsoft.com/technet/sysinternals/utilities/Autoruns.mspx
If you are really bothered by it, write a script or batch file to
specify the startup order