How to lock or prevent a particular drive(C, D, E…) in our PC without using any software?

1 votes
178 views
Rahul Ahuja asked 08-Dec-2018 in Technology by Rahul Ahuja

How to lock or prevent a particular drive(C, D, E…) in our system without using any software?

1 Answer

0 votes
Arti Mishra answered 08-Dec-2018 by Arti Mishra
"How to lock or prevent any Drive"
If you want to lock particular drive of your computer that the other user can’t see your personal data, or if you give your personal computer to another user, then if you want, how to keep safe our drive from another users and everyone can see it but can’t be open then you must follow these step-

How to lock or prevent a particular drive(C, D, E…) in our PC without using any software?

Step 1: Open cmd and type “gpedit.msc” and click on ok. (gpedit.msc---> Group Policy Editor. Microsoft controller)
Step 2: Go to “User Configuration” section and click on the "Administrative template".
Step 3: After that click on “All Settings”.
Step 4: search “Prevent access to drives from My Computer” and after that double click on these search.
Step 5: Choose “Enabled” option that shown in below screen and “ select your drive”. In my PC we select “Restrict D Drive only” then Following window will appear-

How to lock or prevent a particular drive(C, D, E…) in our PC without using any software?

Step 6: Finally click on an apply button after that click on ok.
Go to my computer and click on the drive(C or D or E….) that you have locked or prevent, then those drives can’t be open.

How to unlock your Drive after lock :
Step 1: Follow the above three steps and search “Prevent access to drives from My Computer” and after that double click on these search.
Step 2: Then select “Not Configured” option and click on apply button.
Finally, anyone can again access your drive.


"Thanks!!! for Reading"