Tuesday, December 21, 2010

【 Weak current college 】 system since the start in Visual FoxPro



Windows startup there is usually a lot of programs from starting automatically. Do not think that the tube well "start → programs → startup" menu is built, in fact, from Windows to have Windows automatically starts the program in many ways, below tell you the two most important folders and eight registration key.

First, the current user exclusive's startup folder

This is a lot of application software to automatically start the common location, Windows automatically boot into the folder shortcut. Users startup folder in General: \DocumentsandSettings\ <用户名字>\“开始”菜单\程序\启动,其中“<用户名字> "is the name currently logged-on user account.

Second, effective for all users startup folder

This is the search for auto-start program in the second important location, regardless of the user logged on with what system, placed in the folder shortcuts always start automatically — it and user-specific differences from the startup folder. This folder usually start at: \DocumentsandSettings\AllUsers\ "" menu/programs/startup.

3. Load the registration key

Describes the key information is not much, in fact, it is also able to automatically launch the program. Location: HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Windows\load.

Fourth, the Userinit registry key

Location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\Userinit. There will also be able to make automatic initialization at system startup. Usually the registry key under a userinit.exe, as in Figure 1, but this key allows you to specify a comma-separated list of multiple programs, such as "userinit.exe, OSA.exe" (without quotation marks).

V. Explorer\Run registry key

And load, Userinit, Explorer\Run keys under HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE in, specific location is: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run, and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run.

Six, RunServicesOnce registry key

RunServicesOnce registry key is used to start the service, start time, before a user logs on and before the other through a program to start the registration key. RunServicesOnce registry key location: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce, and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServicesOnce.

Seven, RunServices registry key

RunServices registry key specifies the program immediately after the RunServicesOnce specified program, but both are running prior to user logon. RunServices location: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunServices, and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunServices.

VIII. RunOnce\Setup registry key

RunOnce\Setup specifies the user logon after running the program, its location is: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup, and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\Setup.

IX. the RunOnce registry key

Setup typically use RunOnce keys automatically run the program, its location in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce and HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce. HKEY_LOCAThe RunOnce key below L_MACHINE will immediately after a user logs on to run the program, run timing in other programs Run by key. The RunOnce keys under HKEY_CURRENT_USER in the operating system handle other Run keys and the "Startup" folder after you run the content. If it is XP, you also need to check the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx.

10. Run registry key

Run is automatically run programs most common registration keys, location: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run., and HKEY_CURRENT_USER key immediately Run below HKEY_LOCAL_MACHINE run Run keys below, both in the handling of the "Startup" folder.

No comments:

Post a Comment