Last active
May 10, 2017 14:07
-
-
Save euhmeuh/5b5b15e89142bd6f44791f7926d99219 to your computer and use it in GitHub Desktop.
Take the ownership of a folder on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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