Skip to content

Instantly share code, notes, and snippets.

@euhmeuh
Last active May 10, 2017 14:07
Show Gist options
  • Save euhmeuh/5b5b15e89142bd6f44791f7926d99219 to your computer and use it in GitHub Desktop.
Save euhmeuh/5b5b15e89142bd6f44791f7926d99219 to your computer and use it in GitHub Desktop.
Take the ownership of a folder on Windows
REM sometimes you need to kill explorer.exe
psexec -i -s cmd.exe
takeown /F directory /R /A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment