Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
fix permissions for "You need permissions from .. to perform this action" in Windows 7
takeown /r /d y /f *
icacls * /reset /t /c /q

alpham8 commented Feb 12, 2017

It works nearly. For my german language set up, I need to use the localized "Y" for Yes, so in my case it was "J". Maybe it applies also to other languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment