AVS Forum banner
Status
Not open for further replies.
1 - 4 of 4 Posts

·
Registered
Joined
·
123 Posts
Discussion Starter · #1 ·
Now that I have a stable and better than decent image displayed, I would like to begin tinkering by making a few adjustments. I have not had to reboot my system in quite a while, but when I did, I noticed Powerstip loads last, or does it just appear that way? Is it possible to change the sequence in which programs load? Until Powerstrip loads, my whole screen is shifted to the right and is quite annoying. I do have an internet connection that I realize windows is detecting, along with a virus program, but I would like to load powerstrip before these other items, if possible. I have read and been debating whether or not to change from the standard boot-up screen to either a different background or just a blank screen, but with the issue of the screen shifted to the right until Powerstrip loads, I'm deciding against it. Thanks for your help. By the way, I'm running WinXP SP1.


Brian -
 

·
Registered
Joined
·
194 Posts
Excerp from Windows.NET mag....

May can use this to have some control over startup order.....

Although, the order programs/services are submitted for execution may have little to do with the actual order they finish booting.... in other words if you submit a app that takes 500MS to boot followed 5MS later by one that only takes 50MS to boot the secodn one will be up and running 440MS sooner... (very simplistic example and there are many factors that will affect this)


Windows Program Startup Locations

Learn how Windows controls autorun programs


Michael Otey

InstantDoc #27100

December 2002


Hunting down and stopping programs that launch themselves at system startup whether you want them to or not is a pain. Windows can automatically start programs according to two folders and eight core registry subkeys. Here are the 10 locations from which Windows XP, Windows 2000, and Windows NT can automatically run programs at system startup.


10. The user Startup folder-The user's Startup folder is the most common location for programs that Windows automatically loads at boot time. You can find the user Startup folder at Documents and Settings, user, Start Menu, Programs, Startup. If you've migrated from NT, you'll find the Startup folder at WinNT, Profiles, user, Start Menu, Programs, Startup.


9. The All Users Startup folder-The next most common place to find autostart programs is the All Users Startup folder. Whereas the user Startup folder runs programs for only the user who's logged on, the All Users Startup folder autostarts programs no matter who logs on to the system. You can find this folder at Documents and Settings, All Users, Start Menu, Programs, Startup. If you've migrated from NT, you'll find the folder at WinNT, Profiles, user, Start Menu, Programs, Startup.


8. The load entry-Several registry subkeys also can start programs automatically. One esoteric location is the load entry at HKEY_CURRENT_USER\\Software\\Microsoft\\WindowsNT\\CurrentVe rsion\\Windows\\load.


7. The Userinit entry-The Userinit entry, HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\WindowsNT\\CurrentV ersion\\Winlogon\\Userinit, can also initiate programs when the system boots. You'll usually see an entry for userinit.exe, but this subkey can accept multiple comma-separated values (CSVs), so other programs can tack themselves onto the end of the entry.


6. The Explorer\\Run entry-Unlike the load and Userinit entries, the Explorer\\Run entry works in both the HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE root keys. You can find the Explorer\\Run subkey at HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVers ion\\Policies\\Explorer\\Run and at HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\Policies\\Explorer\\Run.


5. The RunServicesOnce subkey-The RunServicesOnce subkey is designed to start service programs before the user logs on and before the other registry autostart subkeys start their programs. You'll find the RunServicesOnce subkey at HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVers ion\\RunServicesOnce and at HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\RunServicesOnce.


4. The RunServices subkey-The RunServices subkey loads immediately after the RunServicesOnce subkey and runs before the user logs on. You'll find the RunServices subkey at HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVers ion\\RunServices and at HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\RunServices.


3. The RunOnce\\Setup subkey-The RunOnce\\Setup subkey's default value specifies programs to run after the user logs on. The RunOnce\\Setup subkey is in the HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE root keys. You'll find it at HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVers ion\\RunOnce\\Setup and at HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\RunOnce\\Setup.


2. The RunOnce subkey-Setup programs typically use the RunOnce subkey to run programs automatically. You'll find this subkey at HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\RunOnce and at HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVers ion\\RunOnce. The RunOnce entry in the HKEY_LOCAL_MACHINE root runs associated programs immediately after logon and before the other registry Run entries start their programs. The RunOnce subkey in the HKEY_CURRENT_USER root runs after the OS processes the other registry Run subkeys and the contents of the Startup folder. If you run XP, you can also check the RunOnceEx subkey at HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\RunOnceEx.


1. The Run subkey-By far the most common registry location for autorun programs is the Run entry, which you'll find at HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVers ion\\Run and HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVer sion\\Run. The Run entry in the HKEY_LOCAL_MACHINE root runs immediately before the Run entry in the HKEY_CURRENT_USER root, and both subkeys precede the processing of the Startup folder.
 

·
Registered
Joined
·
1,230 Posts
If you really need control over the timing, you might consider putting together a batch file that launches your apps in the order you wish.


Here http://www.computerhope.com/dutil.htm is a sleep.com file thatyou can download (note it has a wacky bug that makes it subtract 10 seconds from the amount of time that you ask it to sleep.


So, in your MyStartup.bat file, you might write:



# launch myprogram1

"c:\\program files\\myprogram1.exe"


# pause for 30 seconds (40-10 seconds of bug)

sleep 40


#launch program 2

"c:\\program files\\myprogram2.exe"


Regards,
 
1 - 4 of 4 Posts
Status
Not open for further replies.
Top