Solved

Need help restoring permissions to folder and all sub directories

Posted on 2014-01-24
7
351 Views
Last Modified: 2014-01-29
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
Comment
Question by:nextech01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 2

Expert Comment

by:dalberson
ID: 39807874
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
 

Author Comment

by:nextech01
ID: 39807881
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
 
LVL 2

Expert Comment

by:dalberson
ID: 39807895
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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

Author Comment

by:nextech01
ID: 39807899
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
 
LVL 2

Accepted Solution

by:
dalberson earned 500 total points
ID: 39807904
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
 

Assisted Solution

by:nextech01
nextech01 earned 0 total points
ID: 39807913
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
 

Author Closing Comment

by:nextech01
ID: 39817303
What I did corrected the issue.   dalberson pointed me there by asking me questions!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question