Skip to content

Instantly share code, notes, and snippets.

@fcharlie
Created August 30, 2017 01:36
Show Gist options
  • Save fcharlie/03348d1c379190c25048a18db9296c40 to your computer and use it in GitHub Desktop.
Save fcharlie/03348d1c379190c25048a18db9296c40 to your computer and use it in GitHub Desktop.
Remove Windows.old
0: CMD ADMIN
1: takeown /F c:\Windows.old\* /R /A /D S
2: cacls C:\Windows.old\*.* /T /grant administrators:F
3: rmdir /S /Q c:\Windows.old
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment