How to use right key to quickly enable or disable U disk

Source: Internet
Author: User

You want to keep the USB drive from being used, we have a number of prohibited methods, in which the registry modification is more commonly used, but the registry modification method has an obvious disadvantage is that this set the disabling U disk, the next time you want to enable the time to change the registry, which is undoubtedly a waste of a lot of time, And today we have to tell you that this method is absolutely convenient and fast, it can "disable/enable U disk" to add to the "My Computer" in the right mouse button menu. Really implement fast enable or disable USB drive. Here's how to put it.

1, click "Start/Run", enter "regedit" in the "Run" dialog box and press ENTER. After opening Registry Editor, expand the [Hkey_classes_rootclsid{20d04fe0-3aea-1069-a2d8-08002b30309d}shell branch in turn.

2. Right-click the "Shell" Item and select "New/Item" from the menu that pops up. Rename it to "Disable U disk" and then create a new item under "Disable U disk" and rename it to "command", and then double-click the (default) string value in the right pane to open the After editing the string window, type "REG ADD hklmsystemcurrentcontrolsetservicesusbstor/f/V start/t reg_dword/d 4" (without double quotes) in the Value data column, and then click OK button.

3, in the same way we can also create a new "Enable U Disk" entry, as long as the "Value data" input "REG ADD hklmsystemcurrentcontrolsetservicesusbstor/f/V start/t reg_dword/d 3".

After the above operation, as long as you want to disable the U disk, just lightly right click on my Computer, select "Disable/enable U disk" on it. It is the same way to do this if you want to re-enable it. It's a lot quicker than the previous modification of the registry, isn't it?

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.