Folder
1. Dedicated Startup folder of the current user
This is a common location for Automatic startup of many applications. All shortcuts for Windows Automatic startup in this folder. User Startup folders are generally in: \ Documents and Settings \ <username> \ "START" Menu \Program\ Start, where "<username>" is the name of the currently logged-on user account.
2. Effective startup folders for all users
This is the second important position to find an Automatic startup program. No matter what identity the user uses to log on to the system, the shortcut to put the folder is always automatically started-this is the difference between it and the user-specific Startup Folder. This folder is generally in: \ Documents ents and Settings \ All Users \ "START" Menu \ Program \ Start.
Registry
Iii. Load registration key
There is not much information about the registration key. In fact, it can also automatically start the program. Location: HKEY_CURRENT_USER \ Software \ Microsoft \ WindowsNT \ CurrentVersion \ windows \ load.
Iv. userinit registration key
Location: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ WindowsNT \ CurrentVersion \ Winlogon \ USERINIT. This also enables the system to automatically initialize the program at startup. Generally, this registration key has a userinit.exe. This key allows you to specify multiple programs with commas (,), for example, userinit.exe, cmd.exe "(without quotation marks ).
5. Explorer \ Run registration key
Unlike load and userinit, the Explorer \ Run key is available in both HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE. 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.
6. runservicesonce registration key
The runservicesonce registration key is used to start the service program. the start time is before the user logs on and prior to other programs started by the registration key. The runservicesonce registration key is HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ runservicesonce, and HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ runservicesonce.
VII. runservices registration key
The program specified by the runservices registration key runs immediately after the program specified by runservicesonce, but both run before the user logs on. Runservices: HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ runservices, and HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ runservices.
8. runonce \ setup registration key
Runonce \ setup specifies the program that runs after the user logs on. Its location is HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ runonce \ setup, and HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ runonce \
9. 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.
The runonce key under HKEY_LOCAL_MACHINE runs the program immediately after the user logs on. The runtime is before the program specified by other run keys. The runonce key under HKEY_CURRENT_USER runs after the operating system processes other run keys and the content of the "Start" folder. If it is XP, you also need to Check HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ runonceex.
10. Run registration key
Run is the most common registration key for automatically running programs. Its location is 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 processing the "Start" folder.
Summary:
\ Documents and Settings \ <username> \ "START" Menu \ Program \ Start
\ Documents and Settings \ All Users \ "START" Menu \ Program \ Start
HKEY_CURRENT_USER \ Software \ Microsoft \ WindowsNT \ CurrentVersion \ windows \ Load
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \ Run
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ runservicesonce
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ runservices
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ runonce \ setup
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ runonce
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Run
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ WindowsNT \ CurrentVersion \ Winlogon \ userinit
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \ Run
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ runservicesonce
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ runservices
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ runonce \ setup
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ runonce
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ runonceex
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Run