Skip to content

Instantly share code, notes, and snippets.

@cjsewell
Last active September 22, 2015 03:40
Show Gist options
  • Save cjsewell/b6909166a884eac6278a to your computer and use it in GitHub Desktop.
Save cjsewell/b6909166a884eac6278a to your computer and use it in GitHub Desktop.
Recursively reset NT permissions in Windows
cd "c:\problem folder" && takeown /a /r /d Y /f . && icacls . /T /Q /C /RESET
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment