Skip to content

Instantly share code, notes, and snippets.

@kindohm
Forked from williamfields/PerformanceON.bat
Last active May 22, 2018 13:38
Show Gist options
  • Save kindohm/24f6468bfbcedf396618bbaac0f921a0 to your computer and use it in GitHub Desktop.
Save kindohm/24f6468bfbcedf396618bbaac0f921a0 to your computer and use it in GitHub Desktop.
Pre-Performance Script
echo "TURN OFF WINDOWS DEFENDER FROM CONTROL PANEL, THEN HIT SPACE."
pause
echo "TURN OFF DOCKER"
pause
REM PAUSE SCHEDULER
net stop schedule
net stop com.docker.service
REM STOP SERVICES
net stop "gupdate"
net stop "gupdatem"
REM KILL TASKS NICELY FIRST
taskkill /IM googledrivesync.exe
REM FORCE KILL ANY REMAINING
taskkill /F /IM googledrivesync.exe
REM DISABLE NETWORK CARD
REM netsh interface set interface name="Wi-Fi" admin=disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment