Re: Forcing order of launch of systray programs



It's called the registry.

Execution Order for starting programs

With Windows XP, There are 13+ places that programs can start from and
they are executed in the following order:

Before Logon
1)
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
2) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServices

After Logon
3)
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup
4) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
5) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
6) WIN.INI [Windows] Load
7) WIN.INI [Windows] Run
8) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
9) HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
10) C:\Documents and Settings\All Users\Start Menu\Programs\Startup
or %allusersprofile%\Start Menu\Programs\Startup
11) C:\Documents and Settings\Your Name Here\Start Menu\Programs\Startup
or %userprofile%\Start Menu\Programs\Startup
12) HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
13) As a Scheduled Task set to run at startup.

[[Startups in groups 6 to 11 all run at the same time (more or less).
However, the groups themselves are triggered in the order shown above. In
other words, the next group can begin launching while the previous group is
still loading its startups. Due to timing issues it is impossible to say
what order these items will finish loading, thus it is impossible to
predict the exact order of execution for individual startups. For instance,
you may notice two or more system tray icons changing position with each
boot - even when no changes have been made to the order.]]

[[The order of items within a group is not necessarily the final order, as
some programs take longer than others to load, and synchronous groups can
overlap each other.]]

Items in 10 and 11 execute alphanumerically. You can change the order in 10
and 11 by moving the items from 11 to 10. Also, you can rename the
shortcuts in 10 and/or 11.

For example; dfg.exe, fgh.exe and ghj.exe would start in that order. To
change the order rename the shortcuts to 1ghj.exe, 2dfg.exe and 3fgh.exe.
They would then start in that order.

Some items are a race every time as to which actually starts first, no
matter what you do.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:erjGqoXRHHA.3812@xxxxxxxxxxxxxxxxxxxx,
Rien <rien@xxxxxxxx> hunted and pecked:
Hello

I have several programs launched at startup and shown in systray :
antivirus, firewall, etc : they are recorded in the register base.

The problem is that they are never launched in the same order. They seem
to be launched at random. When the antivirus is launched in last
position, the Windows security center warns me there is no antivirus;
it's probably because the security center is launched before the
antivirus. I don't think it's very serious, but it's annoying.

The question : How can I force the order of launch and place the
antivirus first.

My configuration : WXP SP2 Media center, Kasperski antivirus, ZoneAlarm
Pro firewall.

Thank you

.



Relevant Pages

  • Re: Forcing order of launch of systray programs
    ... | 6) WIN.INI [Windows] Load ... the next group can begin launching while the previous group ... | predict the exact order of execution for individual startups. ... When the antivirus is launched in last ...
    (microsoft.public.windowsxp.general)
  • Re: password protection
    ... and cable] and should really consider Windows 2000 / XP. ... sure you're also running antivirus and firewall, ... Internet] to bypass this security. ...
    (microsoft.public.security)
  • Re: Life is beautiful pps
    ... Never open attachments to emails unless you know the sender and were ... Create and Configure User Accounts in Windows XP ... antivirus setup and automatically updating/scanning ... Why you should use a computer firewall.. ...
    (microsoft.public.windowsxp.general)
  • Re: been hit by hacker, servudaemon installed
    ... Windows 2000 hardening checklists from www.microsoft.com/technet/security ... use antivirus and a file change checker such as ... where to get a firewall and antivirus program ... Consider installing an antivirus program that is ...
    (microsoft.public.inetserver.iis.security)
  • Re: message at start up
    ... It sounds like you're not running a firewall, ... You also failed to mention what version of Windows you are using, ... Antivirus programs generally detect some ... Consider installing an antivirus program that is configured to ...
    (microsoft.public.win2000.security)