The easiest way to teach you a ban on accessing the drive letter

  

There are a lot of methods, now I will introduce you to a simple method: enter "gpedit.msc" in "Start → Run", open the group policy, and then open " Local Computer Policy→User Configuration→Administrative Templates→Windows Components→Windows Explorer Options.

In the settings window on the right, select "Prevent access to the drive from 'My Computer'" item, right click on this option, select "Properties", then pop up "Prevent from 'My Computer' Access the properties of the drive "Settings window, there are three options in the window, respectively, "not configured", "enabled", "disabled".

Select "Enabled", the drop-down list for selecting a drive will appear below. If you want to limit the use of a drive, just select the drive. For example, we want to limit the use of the C drive, check "Only limit drive C."

If you want to turn off all drives, including CD-ROM drives, you can check "Restrict all drives". After the setting is completed, when the drive is turned on again, a prompt box for prohibiting the drive from being opened will pop up. Even if you use the DIR command, the Run dialog box, and the Mirror Network Drive dialog box, you will not be able to view the drive's directory.

Copyright © Windows knowledge All Rights Reserved