Skip to content

Instantly share code, notes, and snippets.

@Strykar
Created September 1, 2016 12:29
Show Gist options
  • Save Strykar/f9a07845938bc9084f99760c6874f0b9 to your computer and use it in GitHub Desktop.
Save Strykar/f9a07845938bc9084f99760c6874f0b9 to your computer and use it in GitHub Desktop.
#1
cacls d:\cygwin /T /e /g Administrators:f
rmdir /S d:\cygwin
#2
takeown /f "d:\cygwin" /r /d Y
icacls "d:\cygwin" /T /Q /C /reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment