Summary of self-starting methods for Windows programs

Source: Internet
Author: User

Introduction: we often encounter a lot of programs that we don't want to start on our own, and there are a lot of programs that we don't want it to start. Don't think everything is fine if we manage the "Start> program> Start" menu, in fact, in Windows XP/2 K, there are many ways to enable Windows to automatically start the program. The following describes the two most important folders and the eight registration keys.
We often encounter a lot of programs that we don't want to start on our own, and there are a lot of programs that we don't want it to start. Don't worry about the "Start> program> Start" menu. Actually, everything is fine, 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. To see what you don't want, press "del.
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. 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.
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 position of 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 is located:
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 run 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 uses the RunOnce key to automatically run the program. Its location is
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

From xum2008

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.