XP startup program

  • Thread starter Thread starter MikeB
  • Start date Start date
M

MikeB

How to create a dependency of a startup program to another
in order to wait for one is started before starting the
other one OR how to add delay to start at logon for a
startup program?
 
MikeB;

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.
 
That's a very good explanation, unfortunately that's were
I'm at right now... So I still need to make an
application that depends on another in step 10 OR delayed
one before the other start.

Any ideas?


-----Original Message-----
MikeB;

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\CurrentVersi on\RunServicesOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\RunServices

After Logon
3)
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersi on\RunOnce\Setup
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\RunOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\RunOnceEx
6) WIN.INI [Windows] Load
7) WIN.INI [Windows] Run
8) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\Run
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
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 MikeB <[email protected]> hunted and pecked:
How to create a dependency of a startup program to another
in order to wait for one is started before starting the
other one OR how to add delay to start at logon for a
startup program?

.
 
I don't know of any time delay (On Delay as an Electrician
would refer to it).

It could be done using a batch file(s).

What two programs are you thinking about?
Or is that a secret?

--
Hope this helps. Let us know.
Wes

In
That's a very good explanation, unfortunately that's were
I'm at right now... So I still need to make an
application that depends on another in step 10 OR delayed
one before the other start.

Any ideas?


-----Original Message-----
MikeB;

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\CurrentVersi
on\RunServicesOnce 2) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\RunServices

After Logon
3)
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersi
on\RunOnce\Setup 4) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\RunOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\RunOnceEx
6) WIN.INI [Windows] Load
7) WIN.INI [Windows] Run
8) HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersio
n\Run
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 MikeB <[email protected]> hunted and pecked:
How to create a dependency of a startup program to another
in order to wait for one is started before starting the
other one OR how to add delay to start at logon for a
startup program?

.
 
Back
Top