Skip to content

Instantly share code, notes, and snippets.

Last active April 3, 2020 12:10
What would you like to do?

Useful commands in Windows

Run a batch file everytime a command prompt starts:

reg add "HKCU\Software\Microsoft\Command Processor" /v AutoRun /t REG_EXPAND_SZ /d x:\cmd_init.bat /f

To delete:

reg delete "HKCU\Software\Microsoft\Command Processor" /v AutoRun

Remove web searches in start menu:


Set to 1 to reenable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment