Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 363
  • Last Modified:

Need help restoring permissions to folder and all sub directories

Have  a folder called 2012.  Someone modified the permissions and gave ownership to all sub folders and files to someone that is no longer employed.  Problem is I deleted the user from AD.  I gave permissions to administrators on the root and then added System and Domain admins back to full control and then tried to replicate to all child objects (There are a ton of files and folders) Problem is I get an access denied because there is no owner on any of the folders and files below because it was deleted from AD.  Is there a way to change those permissions without having to touch each and every file/folder etc from top to bottom.  That could take days!

Server is 2008 R2   I am hoping someone has a magic tool or a wand.
0
nextech01
Asked:
nextech01
  • 4
  • 3
2 Solutions
 
dalbersonCommented:
Do you have a server backup with Backup Exec? If so, you can restore the directory and subdirectories and re-apply original permissions (to whatever state they were when the backup was taken).
0
 
nextech01Author Commented:
I tried to restore the backup.  Problem is they only backed up the Data drive not the OS.  And since the User is no longer there it doesn't care.  However I restore it the permissions are the same on the backup as they are now.  I just need to change each owner on all the files and folders.  Because the Owner no longer exists in AD.
0
 
dalbersonCommented:
When you make the permissions changes at the top level directory, have you tried checking the box to apply to all subdirectories? or am I misunderstanding what you want to accomplish?
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
nextech01Author Commented:
Yes thats what I try.  And when I do that.  All the files and folders start coming up access denied (This is when its attempting to change the permissions)  Mainly I believe because none of the files or folders have an"owner"
0
 
dalbersonCommented:
I understand now that you tried that and can't because you get access denied, due to the deletion of the owner.

I know that if you copy files to a new volume, permissions are changed to the perms of the new volume, so if you can read the files (which I am not sure you can), try copying them to another server volume where you have rights. Then you should become the "owner". Just a shot...
0
 
nextech01Author Commented:
Holy crap.  It was so simple.  Its been a long day.  When you take ownership on 2008 there is a little check box that says apply this down.  I missed it several times.  I am an idiot today.  Thank goodness its Friday.  Problem is now resolved since I pushed Ownership down to all objects..  Thank you for your quick response though!!
0
 
nextech01Author Commented:
What I did corrected the issue.   dalberson pointed me there by asking me questions!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now