How can I disable access to a specified drive letter?

Source: Internet
Author: User

Q: How can I disable access to a drive letter? I want to make the e-disk completely blocked. Can't I write or read it?

A: There are many methods. You can introduce a simple method: Enter "gpedit" in "Start> Run. msc, open the Group Policy, and turn on the Local Computer Policy → user configuration → manage template → Windows Components → Windows Resource Manager option.

In the settings window on the right, select "prevent access to the drive from my computer", right-click this option, and select "properties ", the "prevent access to drive properties from my computer" window is displayed. There are three options in the window, they are "not configured", "enabled", and "disabled ".

Select "enabled", and a drop-down list of selected drives will appear below. If you want to restrict the use of a drive, just select the drive. For example, to restrict the use of drive C, select "restrict drive C only ".

If you want to disable all drives, including optical drives, you can select "restrict all drives ". After the settings are complete, when you open the drive again, a prompt box indicating that the drive cannot be opened will pop up. Even the DIR command, run dialog box, and image network drive dialog box cannot be used to view the drive directory.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.