How do I lock accounts away from hard drives?

Jo_sye

Prominent
Feb 18, 2017
6
0
510
I need help on my pc, I currently have 3 accounts on the pc, 1 is mine, I want the 2 other user to not access 2 of my storage drives, how do I do that? I don't want them to modify or read and write on the drives but still access it like normal on my account.
 
Solution
Type gpedit.msc in the search box of the Start Menu and hit Enter. Navigate to User Configuration \ Administrative Templates \ Windows Components \ Windows Explorer. Enable the prevent access to drives then under from my computer options from the drop down menu you can restrict a certain drive, a combination of drives, or restrict them all. You could also hide instead.
Type gpedit.msc in the search box of the Start Menu and hit Enter. Navigate to User Configuration \ Administrative Templates \ Windows Components \ Windows Explorer. Enable the prevent access to drives then under from my computer options from the drop down menu you can restrict a certain drive, a combination of drives, or restrict them all. You could also hide instead.
 
Solution


And in Win 10, Group Policy editor (gpedit.msc) only exists in Win 10 Pro.
Which may not be applicable to the OPs system.
 

If your talking about the steps in my first post you have to hit start button and search gpedit.msc. Double click then that is the last step. IE User Configuration \ Administrative Templates \ Windows Components \ Windows Explorer. Like in the image except instead of autoplay select windows explorer.
disable-autoplay-using-gpedit-650x510.png



Then select prevent access to drives from my computer.
maxresdefault.jpg
 



This is what I am talking about:
https://ibb.co/iZ1U4a
https://ibb.co/fZK5cv

as you can see the folder "windows explorer" is not present.
 


If I use that to prevent drives then it would also prevent me from using it. What I want is to be able to use a hard drive but other users on this pc not able to use it.
 


You got a point, but that's alot of work. Maybe make a batch file of some sort that automatically enables it for me? Is that possible?