Reset all permissions on Windows 7?
I have an external hard drive and I did something which I shouldn't have done, and I am annoyed that many files are prompting me about Administrator permissions to move a folder. They are regular files.
How do I reset all the permission on the external hard drive?
Solution 1:
Run this command to navigate to the drive letter, example is D
D:
To reset all permissions, run this command
icacls * /reset /t /c /q
More info
/reset replaces ACLs with default inherited ACLs for all matching files. /t indicates that this operation is performed on all matching files/directories below the directories specified in the name. /c indicates that this operation will continue on all file errors. Error messages will still be displayed. /q indicates that icacls should supress success messages.