Windows program self-start Principle

Source: Internet
Author: User


Windows program self-start principle in Windows operating system, there are mainly two folders and eight Registry Key Control Program self-start, the following mainly introduces the two folders and eight registry keys: 1. user-dedicated boot folder-the most common folder for self-starting programs, which is located under the system partition disk, path: System Disk: \ Dcoument and Setting \ <User Name> \ Start \ Program \ Start, which is used by users. 2. all user Startup folders-another common self-starting Program folder, which is located in the system partition disk, path: System Disk: \ Dcoument and Setting \ all user \ Start \ Program \ Start, the folder is started for all users.
3. LOAD registration key: located at: [HKEY_CURRENT_USER \ Software \ Microsoft \ Windows NT \ CurrentVersion \ Windows \ load] Description: Generally, a deep registry key is buried 4. USERINIT registration key: located at: [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ Userinit] Description: <1> generally, its value is userinit.exe ", because the values of this subkey can be separated by commas (,), www.2cto.com can add other programs to the values of the key value. The program is loaded when the system starts.
5. EXPLORER \ RUN registration key: located: [HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \ Run] [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \ Run] Description: it also exists in the HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE root keys 6. RUNSERVICESONVE registration key: Location: [HKEY_CURRENT_USER \ Softvvare \ Mcrosoft \ Windows \ CurrentVersion \ RunServicesOnce] [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ RunServicesOnce] Description: it also exists in the HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE root keys before the user logs on and starts services before other registration keys start
7. RUNSERVICES registration key: located at: [HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ RunServices] [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ RunServices] Description: Following Runservicesonce, before the user logs on, start 8. RUNONCE \ STEUP registration key: Location: [HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ RunOnce \ Setup] [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ RunOnce \ Setup] Description: after the user logs on, start the program or service
9. RUNONCE registration key: Location: [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ RunOnce] [HEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ RunOnce] Description: the "RunOnce" sub-key located under the [HKEY_LOCAL_MACHINE] Root Key is located in the [HKEY_CURRENT_USER] root key after you log on to the user and add www.2cto.com before the Run key value loader of other registries. the "RunOnce" sub-key under Windows XP is loaded after the operating system processes the Run sub-Key of other registries and the program in the self-starting file folder, this subkey is found in [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ RunOnceEx]
10. RUN registration key: Location: [HKEY_CURRENT_USER \ Softvvare \ Microsoft \ Windows \ CurrentVersion \ Run] [HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Run] Description: [HKEY_CURRENT_USER] the "Run" key value under the root key is followed by the "Run" key value under [HKEY_LOCAL_MACHINE]. However, both key values load the author's prodigal swordsman before the "Start" folder.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.