Partition/File access control for users

Method 1 - Hide Partitions

If you want to hide partitions from other users so they cannot access them from the Windows explorer then follow the steps below.

The Local Group Policy can help you hide drive icons from Windows Explorer. You can still access the data by typing the drive path on the File Explorer address bar.
  1. Press the Windows + R shortcut to open the Run command window.
  2. Input gpedit.msc and click OK start Local Group Policy Editor.

Strart Local Group Policy Editor3. Expand User Configuration > Administrative Templates > Windows Components.
4. Under the Windows Components section, double-click the File Explorer.
5. Go to the right panel, click the Standard button.
6. Scroll down to find Hide these specified drives in My Computer and double-click it.

Local Group Policy Editor7. Click on Enabled.
8. Under the Options part, select the drive you want to restrict or select Restrict all drives.
9. Click Apply and click OK.

Choose Drivers

If you want to show the hidden drives, change the “Hide these specified drives in My Computer” to “Not configured”.

Method 2 - Control access to folder specified user

For this I have created 2 folders with the username of the users for each workplace:

rabistha is a folder for 1st workplace user.

saritastha is a folder for 2nd workplace user.

Note: Users can be admin or standard user accounts.

1. Open the properties for the folder.
Properties2. Then, click on the “Security” tab.

Security Tab3. Click on the “Edit” button.

Edit Button4. Click on the “Add” button

Add button5. Click on the “Advanced…” button

Advanced button6. Click on the “Find Now” button

Find now Button7. From the “Search results” list, choose the user account which you want to allow access to the folder to and then click the “OK” button.

Select User Account8. You will see the user listed on the “Select Users or Groups” window, click the “OK” button to continue.

Check the user9. Click the added user account from the list and then check the “Full Control” checkbox under “Allow”, then click the “OK” button

Full Control chekbox10. Now the user account ‘rabistha’ has full access to the “rabistha” folder and can read/open, create or delete files and folders in that folder.

11. Do the same for the 2nd folder, just difference is to choose the user account of the 2nd workplace in step 7.

In order to restrict access to the folder, follow the step 1 to 8. Then, on step 9 check the checkbox for “Full control” under “Deny”instead of “Allow”

PermissionsNow, when the user account “rabistha” tries to access the folder, it will not be able to open it or delete that folder.

Access deniedThe user ‘rabistha’ even with Administrator privilege can't access, change or delete folder “rabistha”

Сhange or delete folder

Or when trying to delete the folder, it will not allow it to be deleted.

This way you can allow or restrict access to certain folders, so other users on the system have access or no access to it. This is especially useful for teachers/administrators who do not want to allow access to certain folders in the system to other users/students using the ASTER workplaces.