Possible Duplicate:
How can I change permissions for the folder including subfolders?

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?

link|improve this question

55% accept rate
Do you just want to set all file permissions to something specific? When you say 'reset', I think of 'revert' - which I'm not sure is exactly what you want..? – Doc Aug 9 '11 at 20:15
What would be considered not a regular file? – joeqwerty Aug 9 '11 at 21:06
joeqwerty: thing that the OS depends on being there. Such as files in program/ or windows/. This is a extern HD for data files (audios, videos, backed up code, etc).@Doc: I do mean revert. I want any user to add/remove/move files like it was originally – acidzombie24 Aug 9 '11 at 21:29
feedback

closed as exact duplicate by techie007, Randolf Richardson, Hello71, Kyle, studiohack Aug 9 '11 at 23:57

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

2 Answers

To reset all permissions, run these 2 commands in successsion

first navigate to the drive letter, example is D

D:

icacls * /T /Q /C /RESET

Source of Information

link|improve this answer
feedback

As answered in comments of this being a duplicate, use cacls with the subdirectory option to go through subfolders as well, with /G:Everyone. So the final command would be: CACLS x:\*.* /G:Everyone /T

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.