Last active
August 29, 2015 14:27
-
-
Save nztim/6dd965bdc46e8358cfda to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable hibernation | |
powercfg.exe /h off | |
# Disable USB storage | |
REG ADD HKLM\SYSTEM\CurrentControlSet\Services\UsbStor /v Start /t REG_DWORD /d 4 /f | |
# Allow admin shares | |
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment