Avatar of tcrtech
tcrtech
 asked on

Admin shares accessible to domain users

We recently upgraded our SBS 2003 server to SBS 2008.  Since then we've discovered that all admin shares on all machines (servers and workstations) are accessible to all domain users from any other machine.

I've confirmed that the domain user group isn't in the administrator or domain admin groups or anything silly like that.  Also all of our domain users do NOT have local admin privileges.  

As far as I can tell there isn't anywhere to specifically modify admin share permissions.  

Any idea what's causing this & how to fix it?  
Windows Server 2008SBS

Avatar of undefined
Last Comment
tcrtech

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
patterned

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
tcrtech

ASKER
The drives aren't specifically shared, it's just the admin shares that are accessible, so under Advanced Sharing the permission button is grayed out.  

On the Security tab I have:
Authenticated Users - Allow Special Permission
System - Allow All
Local Administrators - Allow All
Local Users - Allow Read & execute, Allow List folder contents, Allow Read.

I'm not sure I understand "special permissions" for the authenticated users.  What is that, where did it come from, & do I need it?  
Mike Thomas

Check that the guest account has not been enabled or anything crazy like that maybe.
patterned

Are you speaking of the C$ admin shares?

This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
tcrtech

ASKER
no guest accounts.
yes, all of the <drive>$ shares.  
patterned

I can't even find official documentation for the default share ACEs or permissions.

Maybe disable the shares and re-enable?

Double check what groups the domain users are in.. and double check local user groups..
Steve

use gpresult on a client while logged in as a normal user.

this will tell you what group policies are applying.
alternatively use the group policy results wizard on the server to see what is applied.

One of the settings in your group policies is assigning admin rights to all users.

alternatively, open a user in active directory and check what groups they are members of. follow each group to see which groups they are members of too, right up to the top level.  one of the groups may be nested and effectively be an administrator.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
tcrtech

ASKER
ok, it's definitely a problem with the NTFS shares, but I'm not sure how to fix it.  

On the domain computers the group "Domain Users" is in the local "Users" group.  Then on the NTFS permission of each computer, the local "Users" group has read access.  So that tells me that every user on the domain has access.

I assume that this setup is necessary for domain users to have access to the drive when they login to the machine, but how do I prevent remote domain users from accessing those drives via the <drive>$ shares?
SOLUTION
Steve

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
tcrtech

ASKER
ok, so you were technically correct, just not complete.  The permissions were all correct and the groups were all correct. But walking through all of those & the process of elimination led me to the solution.  

Even though they are called "Admin Shares," anyone in the Backup Operators group also has access to them, not just administrators.  In our case most of our users have Acronis Backup & Recovery installed which requires users to be in either the local Administrators group or the Backup Operators group.  So we have a GPO that adds all domain users to the local Backup Operators group.  

Removing the users from that group fixes the Admin shares problem, but prevents them from using Acronis.  
tcrtech

ASKER
The information was mostly accurate, but incomplete.  Administrators are not the only group with access to the Admin shares.  And anyone in the Backup Operators group super-cedes individual drive permissions.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck