Users who use computers have their own secret files and are naturally unwilling to let others use their own computers. But sometimes I have to let others use their own computer, it is a bit of a puzzled, in fact, we can easily set the computer's hard drive to lock, so that others can not access the restricted disk. This approach is set up using the Group Policy of Windows, and is very convenient and practical.
First click "Start → run" in the lower left corner and enter "Gpedit.msc" in the dialog box, which opens the Group Policy Settings window. Then, in the Group Policy Settings window, turn on the local computer policy → user Configuration → Administrative Templates →windows component →windows Explorer option. In the right setting, locate the "Prevent access drive from my Computer" option, click the right mouse button in the "Not Configured" status of this option, and select "Properties".
There are three options in the pop-up dialog box, "Not Configured," "Enabled," and "disabled." Select Enabled, and then a drop-down list of selected drives appears below, and if you want to limit the use of a hard disk, hard disk partition, or even the optical drive, just select the drive. For example, to limit the use of the system disk C: Select Limit drive C only. If you want to turn off all hard drives, optical drives, and so on, you can select "Restrict all drives" and click Apply or save settings.
Next go to "My Computer", click on C disk or other restricted drive when the access failure prompts. It is worth mentioning that this method of setting Group Policy is highly secure, even if someone else is unable to view the files in the drive through the Explorer, Run dialog box, Web Browser, and dir commands. As a result, users will not be afraid to discover their secrets if they put all the important files into one partition and limit them.