Setup your cmd.exe
for autorun.
Cmd.exe
can be configured to use a startup script. This is set in the following registry entry:
HKCU\Software\Microsoft\Command Processor\Autorun
. This installer sets up that entry for you.
From command line:
curl -L -O https://github.com/RadAd/CmdStartup/releases/latest/download/CmdStartupSetup.exe && start "" /Wait CmdStartupSetup.exe && del CmdStartupSetup.exe