When you open a CMD prompt in Windows 2000, CMD.EXE checks to see if AutoRun is configured at:
HKEY_Current_User\SOFTWARE\Microsoft\Command Processor
If this String (REG_SZ) variable contains commands or the full path to a batch file, it is run. If no AutoRun value name exists at the above key, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor is checked.
If AutoRun is configured, you can open a CMD prompt without invoking it, by running CMD /D.
You can define a machine standard script and different ones for each user.
0 comments
Hide comments