Order of startup files

  • Thread starter Thread starter Ray
  • Start date Start date
R

Ray

Is it possible to start applications in a certain order when XP boots up?
The reason I ask, is that I get a warning that 'my computer may be at risk
because Kaspersky anti-virus is not running. This happens because Kaspersky
starts after the volume control icon and my anti-spyware have started.
What I would like to do is start KAV first, as soon as my desktop appears.
Thanks
 
Some one posted a link to a third party tool some weeks ago, maybe a google
group search would find it
Personnally I wouldnt worry about it, AV apps are nearly always one of the
last things to start
 
In
Ray said:
Is it possible to start applications in a certain order when XP
boots
up? The reason I ask, is that I get a warning that 'my computer
may
be at risk because Kaspersky anti-virus is not running. This
happens
because Kaspersky starts after the volume control icon and my
anti-spyware have started. What I would like to do is start KAV
first, as soon as my desktop
appears. Thanks

Yes, and no. There is a heirarchy to the loading of programs,
about 4 of them. Within each heirarchy you could order things,
but you couldn't get one heir before the other.
The order of the icons in the System Tray that you see are
when the programs COMPLETE their install, not when they are
called to be installed/started. Things don't happen in strict
serial fashion and each application takes its own length of time
to load.

You -could- uninstall everything you want kav to precede, install
kav and then re-install the rest, but ... that would NOT
guarantee the results you want, because the program loads are
done in parallel and since some take longer than others, some get
higher priorities than other,s and so forth, it's pretty iffy to
get the results you want. But, you could try - nothing to lose
but the time involved unless you accidentally screw something up
or uncover a file corruption you're not aware of yet<g>.

You -might- be able to do something about it with MS's
BootVis.msi, but I don't know how well it would work. Google for
it; it's all over the 'net. Install it, run it, and then select
Trace | Optimize and let it restart the computer. Worst case
nothing would improve, best case it'd boot a little faster and
kav would load before something else.

I think, IMO, you need to decide "is it really necessary to do?"

Pop`
 
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
 
Back
Top