File Permission Problems after recovery from backup
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 user 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?Here is what I am doing: 1) logged in as userA with admin privledges 2) go to c:\users\userA 3) Right Click-->Properties on My Documents 4) Go to Security Tab 5)In Permissions for UserA it shows allow Full Control 6) go to advanced 7) In Permission Entries on permission tabit shows UserA Full Control Inherited from C:\Users\UserA "Applies to This Folder, subfolders and files" 8) on Owner tab it shows UserA as owner 9) on Effective Permissions everything is checked for UserA 10) Edit on Owner tab, click "replace owner on subcontainers and objects", click apply it says "If you have just taked ownership you must close and reopen....." 11) If I try to open a document in My Documents as UserA is says access denied. 12) right click-->properties on a file in My Documents --->Security tab "to continue you must be an admin" --> Continue 13) UserA does not show up as a valid user (though the administrators group is listed with full control and UserA is in this group 14) add--> add UserA --> select UserA click Full Control -->apply UserA can now open the file.There should be a way I can do this at the folder level and have the objects inherit the correct permissions so I don't have to do every file individually!!
November 22nd, 2009 8:03pm

Thanks to "Mr Seven" over in the Misc forum.... he reminded me of the cmd line utilities which worked like a charm!!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 folder
Free Windows Admin Tool Kit Click here and download it now
November 23rd, 2009 4:47am

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

Other recent topics Other recent topics