Program Startup in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run...

  • Thread starter Thread starter Armstrong Wong
  • Start date Start date
A

Armstrong Wong

Are there any difference in starting up programs via:

1. Add "C:\Program Files\MyPgm.exe" to Windows registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
2. Add "C:\Program Files\MyPgm.exe" to Windows registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
3. Add a shortcut in C:\Documents and Settings\All Users\Start Menu\Programs\Startup
4. Add a shortcut in C:\Documents and Settings\MyName\Start Menu\Programs\Startup

Thanks.

Armstrong
Hong Kong
 
Only in that the startup folder is 7th thing started and
the programs are started alphabetically. You can rename
the shortcut by putting a 1,2,3,4, ect at the begenning of
the short to get the right order. I played with bootvis to
find the fastest load.



-----Original Message-----
Are there any difference in starting up programs via:

1. Add "C:\Program Files\MyPgm.exe" to Windows registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio
n\Run
2. Add "C:\Program Files\MyPgm.exe" to Windows registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio
n\RunOnce
3. Add a shortcut in C:\Documents and Settings\All
Users\Start Menu\Programs\Startup
4. Add a shortcut in C:\Documents and
Settings\MyName\Start Menu\Programs\Startup
 
Armstrong said:
1. Add "C:\Program Files\MyPgm.exe" to Windows registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
2. Add "C:\Program Files\MyPgm.exe" to Windows registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

that as the name suggests gets run once, then the entry removed

Those happen before the Logon comes up.

Once the user has logged on, then the one at
HKEY_CURRENT_USER\. . . \Run
gets activated then
3. Add a shortcut in C:\Documents and Settings\All Users\Start Menu\Programs\Startup then
4. Add a shortcut in C:\Documents and Settings\MyName\Start Menu\Programs\Startup

The difference in the last two being really that the first provides a
communal place to put a shortcut that will apply whoever logs on, the
second is personal

Number 2 is a good place for anything where you want to run a clear up
batch file - any second phase of a program install will have finished by
then, so it will not pull their files from underfoot
 
Back
Top