-
Notifications
You must be signed in to change notification settings - Fork 284
Closed
Description
Installing the AutoRun requires administrator privs as it tries to write to
HKEY_LOCAL_MACHINE
.
However a per user autorun key is available in HKEY_CURRENT_USER
and this should be used by default (with an option to install for everyone on the system if desired).
C:\Users\jnord>"c:\Program Files (x86)\clink\0.4.4\clink.bat" autorun -i
You must have administator rights to access cmd.exe's autorun
C:\Users\jnord>ver
Microsoft Windows [Version 6.3.9600]
C:\Users\jnord>cmd /?
....
If /D was NOT specified on the command line, then when CMD.EXE starts, it
looks for the following REG_SZ/REG_EXPAND_SZ registry variables, and if
either or both are present, they are executed first.
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
and/or
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
...
Metadata
Metadata
Assignees
Labels
No labels