![]() Logon scripts Logon scripts, which run automatically at startup, can open other programs. Shell service objects Windows loads a number of helper dynamic-link libraries (DLLs) to add capabilities to the Windows shell. For information about what to do if your system hangs while Autocheck is running, see Microsoft Knowledge Base article 151376, “How to Disable Autochk If It Stops Responding During Reboot,” /0503.) (Note: Microsoft warns against deleting the default BootExecute value. It is possible for other programs or processes to add themselves to this registry value. This value causes Windows, at startup, to check the file-system integrity of your hard disks if your system has been shut down abnormally. Policies\Explorer\Run keys Using policy settings to specify startup programs, as described in the previous paragraph, creates corresponding values in either of two registry keys: HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ Run or HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run.īootExecute value By default, the multistring BootExecute value of the registry key HKLM\System\CurrentControlSet\Control\Session Manager is set to autocheck autochk *. Group Policy The Group Policy console includes two policies (one in Computer Configuration\Administrative Templates\System\Logon, and one in the comparable User Configuration folder) called Run These Programs At User Logon that specify a list of programs to be run whenever any user logs on. The HKLM\Software\ Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit and HKLM\Software\ Microsoft\Windows NT\CurrentVersion\Winlogon\Shell subkeys can automatically launch programs. Most of these actions are under the control of the operating system, but you can also add custom actions here. Winlogon key The Winlogon key controls actions that occur when you log on to a computer running Windows 7. They can be assigned to a specific user account or to a computer. RunServices and RunServicesOnce keys As the names suggest, these rarely used keys can control automatic startup of services. HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnceEx HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce These keys can be assigned to a specific user account or to the machine: RunOnce and RunOnceEx keys This group of registry keys identifies programs that run only once, at startup. The Win.ini file is a legacy of the Windows 3.1 era. Win.ini Programs written for 16-bit Windows versions can add commands to the Load= and Run= lines in the section of this startup file, which is located in %SystemRoot%. In addition, an administrator can set up tasks for your computer to run at startup that are not available for you to change or delete. Scheduled tasks The Windows task scheduler (see “Using the Windows 7 Task Scheduler” on page 779) can specify tasks that run at startup. Load value Programs listed in the Load value of the registry key HKCU\ Software\ Microsoft\Windows NT\CurrentVersion\Windows run when any user logs on. A similar subkey, HKCU\ Software\Microsoft\Windows NT\CurrentVersion\Windows\Run, can also be used. Run key (user) Programs listed in the HKCU\Software\Microsoft\Windows\ CurrentVersion\Run key run when the current user logs on. Run key (machine) Programs listed in the registry’s HKLM\Software\Microsoft\ Windows\CurrentVersion\Run key are available at startup to all users. ![]() A program can be configured to run at startup in many ways, not just by having a shortcut in a Startup folder. Unfortunately, tracking down programs that start automatically isn’t as easy as you might think. If you don’t require a program at startup, it’s a good idea to get it out of your startup path. Having too many startup programs not only makes your system take a longer time to start, it also has the potential to waste memory. The problem that many users have with startup programs is not with creating them (that’s easy, and in many cases it happens more or less automatically), but getting rid of them. Controlling Startup Programs with the System Configuration Utility ![]() To get to your own Startup folder, be sure that you choose Open, not Open All Users, when you right-click the Startup folder shortcut on the Start menu. Program installers (running under the TrustedInstaller account) can create shortcuts there, but you cannot (without changing the access control entries associated with that folder). The All Users folder holds shortcuts for everyone with an account at your computer. ![]() You’re in the All Users Startup folder (%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup) instead of your own Startup folder (%AppData%\Microsoft\ Windows\Start Menu\Programs\Startup).
0 Comments
Leave a Reply. |