Prevent access to network shares from certain computers

Posted on 2008-11-18
Last Modified: 2013-12-04
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?
Question by:vasp
    LVL 1

    Accepted Solution

    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.

    Author Comment

    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.

    Author Closing Comment

    Don't think what I wanted to do is possible and you kindly confirmed that for me!  Thanks for your help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
    Users of Windows 10 Professional can disable automatic reboots using the policy editor. This tool is not included in the Windows home edition. But don't worry! Follow the instructions below to install (a Win7) policy editor on your Windows 10 Home e…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now