Unable to access drive root after removing local user access ?

Hi People,

I'm using Windows Server 2012 R2 as my new file server. I'm logging in as the Domain\Administrator privileged account who also member of Server2012R2\Administrator (local admin).

I have accidentally remove the Server2012R2\USER permission from the root drive and now I cannot browse into the folder and subfolder ?

how this is possible and how to restore my access back ?
LVL 9
Senior IT System EngineerIT ProfessionalAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Premkumar YogeswaranAnalyst II - System AdministratorCommented:
Hi,
Use SUBINACL command, to add permission to the folder and sub folder.
If support tools is not installed, you can download the same from microsoft site.

Check the command below
Update the path as required

subinacl /subdirectories E:\Users\*.*  grand=administrators=f >> c:\subinacl.txt

Open in new window

0
Senior IT System EngineerIT ProfessionalAuthor Commented:
I can't even go to the S:\ drive ?
0
Premkumar YogeswaranAnalyst II - System AdministratorCommented:
Have you tried to execute this line

subinacl /subdirectories "S:"  grand=administrators=f

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Premkumar YogeswaranAnalyst II - System AdministratorCommented:
Also can you try to access after disabling the UAC in server?
0
Senior IT System EngineerIT ProfessionalAuthor Commented:
ok, I can now access the server drive after taking ownership using Local Administrator and then I reboot it
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.

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.