Re: Modify program/driver load at boot

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Wesley Vogel (123WVogel955_at_comcast.net)
Date: 02/16/04


Date: Mon, 16 Feb 2004 20:00:05 GMT

Hank;
Execution Order for starting programs

With Windows XP Home, 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
11) C:\Documents and Settings\Your Name Here\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 to aghj.exe,bdfg.exe and cfgh.exe. They would then start in
that order.

-- 
Hope this helps.  Let us know.
Wes
In news:1086a01c3f4b0$796290b0$a101280a@phx.gbl,
anonymous@discussions.microsoft.com <anonymous@discussions.microsoft.com>
hunted and pecked:
> Thanks for the reply Rick
>
> I'd line NAV & Zone Alarm to start first but the I'd like
> the network connections (Linksys cable & wireless
> routers) to get set-up before the other apps I have set
> to start.
>
> I only felt a need for this lately cause it seems to take
> forever to get to the net connections.
>
> Hank


Relevant Pages

  • Re: Order of startup files
    ... Before Logon ... WIN.INI [Windows] Load ... predict the exact order of execution for individual startups. ...
    (microsoft.public.windowsxp.basics)
  • Re: Startup Programs
    ... Before Logon ... WIN.INI [Windows] Load ... predict the exact order of execution for individual startups. ...
    (microsoft.public.windowsxp.basics)
  • Re: Is there a way to control the boot load order of programs?
    ... Before Logon ... WIN.INI [Windows] Load ... predict the exact order of execution for individual startups. ...
    (microsoft.public.windowsxp.general)
  • [NT] Windows VDM #UD Local Privilege Escalation
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... vulnerability to fully compromise a Windows NT 4.0, Windows 2000, Windows ... 32-bit VDM "host" code, and the invalid opcode fault handler within the ... process).The kernel does not validate the address to which execution is ...
    (Securiteam)
  • Re: Program order stating up
    ... Before Logon ... WIN.INI [Windows] Load ... predict the exact order of execution for individual startups. ...
    (microsoft.public.windowsxp.general)