In the win7 pure version system, add the function of "disable/enable u disk" in the right-click menu

  
                                     

1. First click on the “Start/Run” button in the win7 system, and enter “ldedit” in the “Run” dialog box to open the registry editor;

2, then expand [HKEY_CLASSES_ROOTCLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D} shell branch;

3, then right click on the "shell" and select "ldquo" from the pop-up menu. Create a new /item & rdquo; command, and then rename it to "disable U disk", then in the "disable U disk" under the new item, create a new "item" and rename it to "command";

4, then double-click the “ (default) string value in the right pane, open the “ edit string & rdquo; window, enter "and" in the "Value data" column ;REG ADD HKLMSYSTEMCurrentControlSetServicesUSBSTOR /f /v Start /t REG_DWORD /d 4” (without double quotes), and finally click the “OK” button.

5, in the same way we can also create a new "set U disk" item, as long as in the "value data", enter "ldg; ADD HKLMSYSTEMCurrentControlSetServicesUSBSTOR /f /v Start /t REG_DWORD /d 3”

Copyright © Windows knowledge All Rights Reserved