Skip to content

Instantly share code, notes, and snippets.

@Fartomy
Created May 27, 2024 19:42
Show Gist options
  • Save Fartomy/e2da306ef5409a74cb06b3c13020a04c to your computer and use it in GitHub Desktop.
Save Fartomy/e2da306ef5409a74cb06b3c13020a04c to your computer and use it in GitHub Desktop.
Restricting Drive Access for a Specific User in Windows

⛔ Restricting Drive Access for a Specific User in Windows 10

Precautions may be taken to prevent a particular user from cluttering some places.

Instructions

  1. In File Explorer, right-click the drive on which you want to deny access to specific users, and then click Properties
  2. Select the Security tab, then click the Edit button
  3. Click Add to select the user you want to prevent from accessing your drive.
  4. Type the username of the user you want to restrict access to, and to confirm, click Check Names then select OK
  • Note: You need to know the correct username of the account you want to restrict. An easy way to view the users on your pc, is to to view the names of the profile folders under the C:\Users\ folder
  1. Now in Permissions for window, select the user you just added and in the Permissions section, tick Deny, restricting access for Full control. Now select Apply >> OK
  2. Click Yes when prompted to apply the permissions and then close all windows
  3. That's it..

Source

  1. How to Prevent Access to Local Drive for Specific Users in Windows 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment