How to set the Automatic startup program in Windows

Source: Internet
Author: User

Transfer from http://topic.csdn.net/t/20050916/15/4275379.html (9f)

During Windows Startup, many programs are automatically started. In Windows XP/2 K, there are many ways for Windows to automatically start a program. The following describes the two most important folders and eight registration keys.

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. The User Startup Folder is generally in the \ 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.

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. Quotation marks (excluding 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 \ setup.

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.

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.