Autostart Program Order

G

Guest

Hello,

Does anyone know if there is a way to specify the program start order in
autostart
(HKLM\Software\Microsoft\Windows\CurrentVersion\Run) ?
Thanks

Brian
 
G

george

BriansUnited said:
Hello,

Does anyone know if there is a way to specify the program start order in
autostart
(HKLM\Software\Microsoft\Windows\CurrentVersion\Run) ?
Thanks

Brian

Just pondering on a possible sollution.
I had a look at the Run key on mine and it struck me that the entries are
listed in alphabetical order.
Now I haven't checked this, maybe you have, but is the order listed in the
key the order they are fired up?
If that is the case you could (probably) influence that order by renaming
the Valuename in such a way that you'd prefix eg. a number to indicate the
order you want.
So as an example, the order:
AVG7_CC
NeroFilterCheck
could be renamed:
2-AVG7_CC
1-NeroFilterCheck
if you wanted Nero run before AVG.
If this works then AFAICT a potential drawback to this approach will
probably be that the app-specific deinstall routines don't find 'their' keys
anymore to remove upon deinstallation (if they even bother!)

hth
george
 
G

Guest

No... There is no order to the sequence of execution in the
HCLM\Software\Microsoft\Windows\Currentversion\Run and
HCCU\Software\Microsoft\Windows\Currentversion\Run ,

but there is when it comes to the
HCLM\Software\Microsoft\Windows\Currentversion\Run Services
HCCU\Software\Microsoft\Windows\Currentversion\Run Services
Run Services execute in the background.

http://msdn.microsoft.com/library/d...upapi/setup/run_and_runonce_registry_keys.asp

Gotta Love the KB

-Cheers-
 
D

Doug Knox MS-MVP

No, but you can replace all of those entries with an entry pointing to a BAT file that does load them in the order you want.

The command line(s) for the BAT file is:

START "program.exe"

Open a command prompt window and enter START /? for the command line options.
 
B

bumtracks

There's about a dozen places to add an entry to start or run programs at
start up and they do fire off in sequence.
If & when needed, I will slightly delay starting a program by removing it
from the normal Run key and placing a shortcut to it in;
C:\Documents and Settings\username\Start Menu\Programs\Startup\
which is down on the lower pecking order of the methods of autostarting.

If you want to dig a bit, somewhere out there in microsoft pages there is a
list of the various methods and their pecking order to load programs at
windows xp start-up.
 
G

Guest

Thank you George, Xandre, Doug Knox, and Bumtracks for taking the time out to
repsond.

I'll investigate using the Batch file approach to solve this particular
problem (I haven't written one since MS-DOS 6.0 days). George's solution did
appear the easiest to implement, but as he pointed out, the uninstall
routines might require a specific key name.

Again thank you for your responses.

Brian
 
G

Guest

One more method would be to move the entries out of your Registry & into the
Startup folder, at which point you can apppend the name the shortcuts with
alphabetical entries;
1 winword.exe
2 nerocheck.exe
etc.

A quick way to move them is a freeware app named "ASpy."

One more shareware alternative is "AutoStartManager."
 
S

SeaMaid

If you use the numeric shortcut method and you have more than 9 startup
entries, Windows will open them as 1, 10, 2, 3, 4. To get around this
problem ,use 01 rather than 1, 02 rather than 2, etc.
 
S

Stan Brown

One more method would be to move the entries out of your Registry & into the
Startup folder, at which point you can apppend the name the shortcuts with
alphabetical entries;
1 winword.exe
2 nerocheck.exe
etc.

That's a myth. See
http://blogs.msdn.com/oldnewthing/archive/2003/12/25/45926.aspx

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Fortunately, I live in the United States of America, where we are
gradually coming to understand that nothing we do is ever our
fault, especially if it is really stupid. --Dave Barry
 
S

Stan Brown

If you use the numeric shortcut method and you have more than 9 startup
entries, Windows will open them as 1, 10, 2, 3, 4. To get around this
problem ,use 01 rather than 1, 02 rather than 2, etc.

The entries aren't necessarily run in alpha order, so the above is
wasted effort. See
http://blogs.msdn.com/oldnewthing/archive/2003/12/25/45926.aspx

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com
Fortunately, I live in the United States of America, where we are
gradually coming to understand that nothing we do is ever our
fault, especially if it is really stupid. --Dave Barry
 

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