File Permission Problems after recovery
I had to rebuild my machine due to HW problems. I reinstalled Windows 7 Pro64bit. I had backed up all of my user files (c:\users\xx\mydocuments, etc.) using windows backup. After getting Windows back up, I restored all of the directories. However, I would get access denied on anything I tried to access. I am logged in with administrative rights. I can (and have) taken ownership at the folder level, however I can't get it to push the permissions to the individual objects. If I look at the security of the folder, it shows the user as the owner and as having full acces permissions If I go to advanced it shows the users having full access to "this folder, subfolders and files", however if I go to a file, the user does not have access. I have to change the file individually to add the permissions and then it works fine. There are too many files to do this all manually for every file! Any suggestions on how I can propegate the permissions to each of the files in the folder?
November 22nd, 2009 5:50pm

Two commands to try:TAKEOWN /f "path\FOLDER NAME">> Grantsownership of specified folder to current userIcacls "path\folder name" /grant %username%:F>> Assigns full permision to current user for specified folderSeesons greetings!
Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2009 9:07pm

Thanks for the help! Worked like a charm! I had forgotten about Icacls! Use to use it on my servers all the time...how soon we forget!!!!
November 23rd, 2009 4:45am

Just a friendly reminder - glad it worked :)Seesons greetings!
Free Windows Admin Tool Kit Click here and download it now
November 23rd, 2009 5:17am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics