When i blocked C Drive my users can't able to use desktop,document and downloads

arwah abdalla 30 Reputation points
2024-05-05T18:05:05.7066667+00:00

Hello,

I'm using windows server 2022 from azure portal and i create users to have access my server, so when i created users in my server, users can they able to delete and create folder in C Drive.

After that i wanted to apply my users Group Policy about drives, so when i blocked C Drive using Group Policy and i enabled "prevent access to drives from my computer" my users can't able to use desktop,document,picture and downloads and they got massage saying "this operation has been cancelled due to restrictions in effect on this computer. please contact your system administrator"

So is there away to prevent access C Drive except "desktop,document,picture and downloads" ?

Thank you in advance.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,318 questions
{count} votes

1 answer

Sort by: Most helpful
  1. v-vvellanki-MSFT 4,680 Reputation points Microsoft Vendor
    2024-05-10T11:56:50.4333333+00:00

    Hi @arwah abdalla ,

    Thanks for contacting Microsoft Q&A platform.

    Quick and short answer for your question is follow below steps to achieve.

    1. Create a Security Group. Add the relevant users to this security group.
    2. Navigate to the folders you want to restrict (e.g., Desktop, Documents, Pictures, Downloads) on the C Drive.
      1. Right-click each folder, select "Properties," and go to the "Security" tab.
      2. Remove the "Users" group and add the security group you created in
    3. Open Group Policy Management Console (GPMC) on your Windows Server 2022 instance.
      1. Create a new Group Policy Object (GPO) or edit an existing one that applies to the users who need restricted access.
      2. Navigate to User Configuration -> Policies -> Administrative Templates -> Windows Components -> File Explorer.
      3. Enable the policy "Prevent access to drives from My Computer.

    Hope this helps you.

    0 comments No comments