Skip to content

Instantly share code, notes, and snippets.

@cHolzberger
Last active July 7, 2016 13:08
Show Gist options
  • Save cHolzberger/da353d8bad2ceac9eeb0 to your computer and use it in GitHub Desktop.
Save cHolzberger/da353d8bad2ceac9eeb0 to your computer and use it in GitHub Desktop.
Windows VM Optimizations
bcdedit /set BOOTUX disabled
vssadmin delete shadows /All /Quiet
Powershell disable-computerrestore -drive c:\
netsh advfirewall set allprofiles state off
powercfg -H OFF
net stop "sysmain"
fsutil behavior set DisableLastAccess 1
schtasks /change /TN "\Microsoft\Windows\Defrag\ScheduledDefrag" /Disable
schtasks /change /TN "\Microsoft\Windows\SystemRestore\SR" /Disable
schtasks /change /TN "\Microsoft\Windows\Registry\RegIdleBackup" /Disable
schtasks /change /TN "\Microsoft\Windows Defender\MPIdleTask" /Disable
schtasks /change /TN "\Microsoft\Windows Defender\MP Scheduled Scan" /Disable
schtasks /change /TN "\Microsoft\Windows\Maintenance\WinSAT" /Disable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment