Restore Default Ownership Permissions of Directory in Windows

file-permissionspermissionswindowswindows 7windows 8

I have a 1TB external (USB) HDD which i used for additional data storage (mostly media files).

Unfortunately, i appear to have changed the permissions on one of the sub-folders, and this is my problem.

The PC which i used the drive on most of the time, has died. Now, putting this external drive into a new PC, i cannot access the said sub-directory (Music) as i do not have permission.

Is it at all possible to resore the permissions of this directory to the default (ie FULL access to EVERYONE with no specifically defined "owner"?

I think the problem now is that the Owner of the folder is my user account from my (now dead) previous PC.

I dont know if this helps but the permissions were adjusted (originally) on a Windows 8 PC, where i was logged in using my Micrsoft Account. Even when plugging in the drive to another Windows 8 PC (this time Surface Pro), and logging in using the same Microsoft Account, i still cannot access the files in the music folder.

Is this possible?

Best Answer

Run Command Prompt as administrator (right click->Run as administrator), and type there

takeown /f YourFolderName /r

That's it. This will make you owner of that folder.

For making it accessible to all users, you can do this:
Right click on that folder -> Properties -> Security -> Edit -> Add
and type there "Everyone" (or click Advanced -> Search and find smtg like "Everyone") and click OK buttons. Go back to Security tab, click on "Everyone" (in upper side), and choose "Full Access", click OK.
Now it will become accessible to all users.

Related Question