AutoRun Entry
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
AutoRun
HKCU\Software\Microsoft\Command Processor
Data type | Range | Default value |
---|---|---|
REG_SZ |
command |
(None) |
Description
Contains commands that run each time you start Command Processor (Cmd.exe).
Change Method
You can change the value of this entry by using Command Processor (Cmd.exe) and typing CMD /D, but only for the duration of that instance of Cmd.exe. For all other changes, you must edit the registry directly.
Activation Method
To make changes to this entry effective, you must restart Cmd.exe.
Notes
AutoRun can appear in HKLM and HKCU. If both appear in the registry, the value of the entry in HKLM executes first, then the value in HKCU executes.
The command-line parameters take precedence over the registry settings.
Tip
- For more information about the AutoRun feature, at the command prompt, type CMD /?.