Windows power-on Self-Starter program method

Source: Internet
Author: User

Power-on Startup Item

"Startup Project is a program that will run in the foreground or in the background when the system is powered on."

When the Windows (operating system) completes the login process, there are many processes in the process table! Windows automatically loads a lot of programs when it starts.

Many programs from the start, to bring us a lot of convenience, this is an indisputable fact, but not every start of the program for us to be useful, even more, perhaps a virus or trojan in the ranks of the start!

In fact, the Windows2000/xp file in the Autoexec.bat, in addition to loading from the legacy files in the previous system, automatically loads the program according to two folders and 9 core registry subkeys.

"Startup Item Decomposition"

1 "Startup" folder--the most common from startup Programs folder.

It is located under the "Documents and settings-->user-->(Start" menu--> programs directory on the system partition. The user at this point refers to the username for the login.

2 "All Users" from the Startup Programs folder-another common from the Startup program folder.

It is located in the system partition's "Documents and Settings-->all user-->(start" menu--> program directory. The "Startup" folder mentioned earlier runs the self-starter program for logged-in users, and the programs that are started in "All users" are valid under all users (regardless of the user you are logged on to).

3 "Load" key value--a deep buried registry key value.

Located under (hkey_current_user/software/microsoft/windows nt/currentversion/windows/load) primary key.

4 "Userinit" key value--user-related

It is located under the (hkey_local_machine/software/microsoft/windows Nt/currentversion/winlogon/userinit) primary key and is also used for loading programs at system startup. In general, the default value is "Userinit.exe", because the values of the subkey can be separated by commas, so you can add other programs to the value of the key values.

5 the "Explorer/run" key value--unlike the "load" and "Userinit" two key values, "Explorer/run" is located in both (hkey_current_user) and (hkey_local_machine) two root keys.

It is located in two places, respectively (Hkey_current_user/software/microsoft/windows/currentversion/policies/explorer/run) and (hkey_local_ Machine/software/microsoft/windows/currentversion/policies/explorer/run) under.

6 "RunServicesOnce"--it is loaded before the user logs in and the other registry is loaded before the boot program loads.

This key is also located in (hkey_current_user/software/microsoft/windows/currentversion/runservicesonce) and (hkey_local_machine/ Software/microsoft/windows/currentversion/runservicesonce) under.

7 "RunServices" subkey--it is also loaded before the user logs in and the other registry is loaded before loading from the startup program.

This key is also located in (hkey_current_user/software/microsoft/windows/currentversion/runservices) and (hkey_local_machine/software/ Microsoft/windows/currentversion/runservices) under.

8 "Runonce/setup" subkey--The default value is the program that is loaded after the user logs in.

This key is also located in (hkey_current_user/software/microsoft/windows/currentversion/runonce/setup) and (hkey_local_machine/ Software/microsoft/windows/currentversion/runonce/setup) under.

9 "RunOnce" subkey--many self starter programs want to complete the first load by RunOnce subkeys.

This key is also located in (hkey_current_user/software/microsoft/windows/currentversion/runonce) and (hkey_local_machine/software/ Microsoft/windows/currentversion/runonce) under. The RunOnce subkey located under the (hkey_current_user) root key loads the program before the user login button and other registry's run key loader, and the RunOnce subkey located under the (hkey_local_machine) primary key is in the

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.