Secrets Behind The Run Registry key

You can start or stop programs from executing at bootup by adding or deleting them
to/from the run Keys in the Registry. Windows loads programs to start in the
following order; Program listed in the Local Machine hive, then the Current User
hive, then theWin.ini Run= and Load = lines and then finally programs in your Start
Up folder.

To add or remove programs in the Registry.

Open RegEdit. .Go to the desired Key:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun
HKEY_LOCAL_MACHINESOFTWAREMicrsoftWindowsCurrentVersionRunServices
HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRun
HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRunServices

Add a new String Value and name it anything you like. For the value data, enter the
path and executable for the program you want to run.

By adding the value to the KEY_CURRENT_USER hive instead allows the program
to start only when that user is logged on.
If you add the value to the RunOnce key the program will run once and be removed from the key by Windows.