I'm looking to get some assistance with a script needed to resolve the following issue:
Issue: - Customer has an Enterprise NAS solution with EMC. They were doing Scheduled Maintenance on it and they (EMC) were to delete a file system (one of the replicated areas at the other sites) and deleted the wrong file system inadvertently. They deleted the production file system at their Estherville, IA location. The Customer lost access to home drives and shared drives that go out to everyone. Users are getting permissions error “Access is denied”. The H drive is mapped in AD to: \\EV-NAS\Stf-Home\ (Staff Employees) and \\EV-NAS\ACD-Home\ (Students). The basic fix is to go in and take ownership of the object so that they inherent permissions from the parent object.
The manual fix for the issue is as follows:
• On the Estherville DC access the \\EV-NAS\Stf-home share (users are listed inside of this directory)
• Right click on the user folder and select Properties, on the Security Tab choose Advanced. Owner, Edit and check the box ‘Replace Owner on subcontainers and objects’
• Go back into Properties, on the Security Tab choose Advanced, Ensure the box ‘Include inheritable permissions for this object’s parent’ is selected
Does anyone have a script that could automate this process?
Thanks in advance!