When Windows starts, there is usually a whole bunch of programs that start automatically. Do not think that the control of the "start → program → start" menu is all right, in fact, in Windows xp/2k, let Windows automatically start the program many ways, the following tells you the most important two folders and eight registry keys.
First, the current user-specific Startup folder
This is a common location for many applications to start automatically, and Windows automatically launches all shortcuts that fit into the folder. User startup folders are generally: \documents and Settings\〈 User name 〉\ Start menu \ program \ Boot, where "user name" is currently logged in user account name.
Ii. valid startup folders for all users
This is the second important place to find the automatic startup program, regardless of the user's identity log in to the system, the shortcut into the folder is always automatically started?? This is where it differs from the user-specific Startup folder. This folder is typically in: \documents and Settings\All users\ Start menu \ program \ Boot.
Third, the Load registration key
There is not much information about the registry key, and it can actually start the program automatically. Location: Hkey_current_user\software\microsoft\windowsnt\currentversion\windows\load.
Four, Userinit registration key
Location: Hkey_local_machine\software\microsoft\windowsnt\currentversion\winlogon\userinit. This also enables the system to initialize the program automatically when it is started. There is usually a userinit.exe below the registration key, as in figure one, but this key allows you to specify multiple programs separated by commas, such as "Userinit.exe,osa.exe" (without quotes).
Five, Explorer\run registration key
and load, Userinit different, Explorer\run key in HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE under all, the specific location is: Hkey_current_ User\software\microsoft\windows\currentversion\policies\explorer\run, and Hkey_local_. Machine\software\microsoft\windows\currentversion\policies\explorer\run.
VI. RunServicesOnce Registration Key
The RunServicesOnce registry key is used to start the service program, which starts before the user logs on, and before other programs that start with the registry key. The location of the RunServicesOnce registry keys is: Hkey_current_user\software\microsoft\windows\currentversion\runservicesonce, and Hkey_local _machine\software\microsoft\windows\currentversion\runservicesonce.
Seven, RunServices registration key
The program specified by the RunServices registration key runs immediately after the program specified by RunServicesOnce, but both are before the user logs on. RunServices's location is: hkey_current_user\software\microsoft\windows\currentversion\runservices, and Hkey_local_ Machine\software\microsoft\windows\currentversion\runservices.
Eight, Runonce\setup registration key
RUNONCE\SETUP specifies a program that runs after the user logs on, and its location is: Hkey_current_user\software\microsoft\windows\currentversion\runonce\setup, and Hkey_local_machine\software\microsoft\windows\currentversion\runonce\setup.
Nine, RunOnce registration key
The installer usually runs the program automatically with the RunOnce key, which is located in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce and Hkey_current_ User\software\microsoft\windows\currentversion\runonce. HKEY_LOCAL_MACHINE the RunOnce key below will run the program immediately after the user logs on, running the time before the program specified by the other run key. The RunOnce key below HKEY_CURRENT_USER runs after the operating system processes other run keys and the contents of the Startup folder. If it is XP, you also need to check Hkey_local_machine\software\microsoft\windows\currentversion\runonceex.
Ten, run registration key
Run is the most commonly used registry key for Autorun programs, located in: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run, and Hkey_local_ Machine\software\microsoft\windows\currentversion\run. The run key under HKEY_CURRENT_USER runs immediately following the run key under HKEY_LOCAL_MACHINE, but both are before working on the Startup folder.