Ryan's District Boards

Computer, programming, and webmaster help , support , tips and tricks => Internet webmaster computer programming technology tips and tricks => Topic started by: ben2ong2 on September 30, 2006, 06:10:22 PM

Title: How startup programs get loaded in Windows at boot time ?
Post by: ben2ong2 on September 30, 2006, 06:10:22 PM
Run keys of Windows RegistryRun keys cause programs to automatically run every time computer/XP boots up . The Windows XP registry includes the following four Run keys: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce Each of these keys has a series of values. The values allow multiple entries to exist without overwriting one another. The data value for a value is a command line. There are some special considerations for the third and fourth keys in the list, the RunOnce keys: By default, Run keys are ignored when the computer starts in Safe mode. Under the RunOnce keys, You can prefix a value name with an asterisk (*) to force the associated program to run even in Safe mode. You can prefix a RunOnce value name with an exclamation point (!) to defer deletion of the value until after the command runs. Without the exclamation point prefix, a RunOnce value is deleted before the command runs. As a result, if a RunOnce operation does not run properly, the associated program is not asked to run the next time You start the computer.