Powershell

Justin Neff 6 Reputation points
2021-11-04T14:34:03.453+00:00

Looking for a power shell script to restrict drive access in group policies.

Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
4,630 questions
No comments
1 vote

3 answers

Sort by: Most helpful
  1. Rich Matheisen 35,191 Reputation points
    2021-11-04T15:07:13.053+00:00

    Try Google, Bing, Yahoo, etc.

    No comments

  2. Limitless Technology 37,351 Reputation points
    2021-11-05T12:58:10.513+00:00

    Hi there,

    With Group Policy Objects in Windows, there is a "Hide these specified drives in My Computer" option that lets you hide specific drives. However, it may be necessary to hide only certain drive, but retain access to others.

    There are seven default options for restricting access to drives. You can add other restrictions by modifying the System.adm file for the default domain policy or any custom Group Policy Object (GPO).

    You can follow the steps in this link to do this https://learn.microsoft.com/en-us/troubleshoot/windows-client/group-policy/using-group-policy-objects-hide-specified-drives

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    No comments

  3. Eric MILA 86 Reputation points
    2022-05-23T19:42:48.487+00:00

    Hi JustinNeff-6868

    If you are in a domain, all users must have User level with UAC active.
    You create an user in your AD with local admin level in each computers

    Each user on each computer can't acces all the drive without elevation
    So your Local admin can do it

    I hope bring some help to you

    No comments