Feb 2, 2012

How To Disable a USB Flash Drive (Mass Storage Devices Only)

Whenever you insert a USB flash drive into your computer, the flash drive is detected automatically  by Windows and then opened. Here I am going to show you how to stop your USB Flash Drives Mass Storage Only through registry. 
Steps:
1.      Click Start Menu > go to run command and type "regedit" without quotes. Registry Editor will open.
2.      Expand the HKEY_LOCAL_MACHINE folder then SYSTEM >CURRENT CONTROLL SET > SERVICES >USBstor, located at the left pane.



 
3.      Find "Start" in the right pane with the blue icon.

 4.      Double click "Start". A box titled "Edit DWORD value" will open.

5.      Write down "4" in the "Value Data" Field.

6.      Click OK and then close the Registry Editor.
7.      To enable it again, repeat steps 1 through 4 and then change the value to 3. The default value for enabling a USB flash drive is 3.


Jan 30, 2012

How To Disable Autoplay USB or CD/DVD Drives:-

Click on Start button and then on Run (or  press Window+R button).
Type gpedit.msc in the Run Command and click on OK.

In pop up window select Administrative Templates under Computer Configuration section from left window pane and double click on Windows Components in right window pane.
Now look for the AutoPlay Policies and double click on it.

Now double click on Turn off Autoplay.

In the pop up window select Enabled button and in Turn off Autoplay On section select CD-ROM and removable media drives.

Now click on Apply button and then on OK button.