Prevent access to network shares from certain computers

I'd like to a way to prevent certain machines from accessing certain network shares.  Is there a way to do that, maybe based on computer account name?
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.

I've always been under the impression you grant rights to user accounts, not computer accounts. Is there a particular user account you use to login to this computer? If so, you can add that user account to the group in Active Directory that can access certain network shares, and ensure they are not added to the other groups where you want to deny access.

What you can also try, is create a login script which does not connect the network shares you want to block. Put a shortuct to this script in your startup folder on the start menu, and it will run every time the system is logged into. This will prevent the specified network drives from being connected.

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
vaspAuthor Commented:
I had the same impression.  However a scenario has come up where I want to be able to demonstrate that certain computers on the domain cannot access a particular network share (or folder on the server), irrespective of who is logged on to the computer.

So UserA can access the share from PC1, but not from PC2.
vaspAuthor Commented:
Don't think what I wanted to do is possible and you kindly confirmed that for me!  Thanks for your help.
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
OS Security

From novice to tech pro — start learning today.