App start order

H

Heirloom

I would like to set the start order of my startup applications, i.e.
firewall first, then AV, etc. I know there are $$$ programs available for
this purpose, however, I am unable to find a freeware or an ability within
XP (preferably) to perform this function. Is anyone aware of such??.....if
so, details please. Thanks to all that respond.
Heirloom, old and prefers order
 
E

eric_d_green

You could make a batch job that opens each program in the order you
want, if they are services you could set them to manual and then make a
batch file that would say something like the following, depending on
the service name:

Net Start "Firewall"
Net Start "Anti Virus"

or just a batch file that opens the program you want to open:

Start "C:\program files\internet explorer\iexplore.exe"
Start "C:\program files\microsoft office\word.exe"
"c:\mydocuments\daily.doc"

All you would do is open notepad, type in something similar to above,
and save as filename.bat. You could then place it in the Start, All
Programs, Startup if you wanted it to run as soon as you logged in.
 
W

Wesley Vogel

Rename the shortcuts.

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.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
H

Heirloom

A big thanks to all...........BTW, Stan, I like your site.
Heirloom, old and still hackin' it
 
W

Wesley Vogel

Very true, Stan. It can be a race. A different program can be the winner
once in a while.

Hurry, hurry, step right up, eveyone gets to be winner. LOL

[[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.]]

You might want to have a look at this from Tony Klein...

A Collection Of Autostart Locations
http://forums.subratam.org/index.php?s=b74132cf3a1d447c444032b08bf9e356&showtopic=1063

But as Alex Nichol stated once,
[[And only four get used in practice. HKCU and HKLM Run, and the two
Startup folders. I think the other keys remain solely for historic reasons.
Even explorer as the shell does not get run from System.ini now, but from a
'shell' value in HKLM\. . . Windows NT\C Ver\Winlogon]]

Excepting every piece of malware known to man. ;-)

BTW, you might want to look at this.
Control Panel
Direct Access

Control.exe Parameters...
microsoft.public.windowsxp.general
http://groups.google.com/group/micr...nsubject:Parameters...&hl=en#3a9d070b6224ab0c

And maybe some day David will give me a better hint for...

{D20EA4E1-3957-11d2-A40B-0C5020524153} is Administrative Tools.
and
{E211B736-43FD-11D1-9EFB-0000F8757FCD} is Scanners & Cameras.

I try something new every once in a while. ;-)

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top