Raymond.CC Blog
  • Home
  • Forum
  • Giveaway
  • X-Ray 2.0
  • Contact
  • About
  • I’m Feeling Lucky
Search the site...
You are here: Home » Windows » Disable Removable Storage Devices such as USB Drives

Disable Removable Storage Devices such as USB Drives

Updated by Raymond - 8 months ago - Windows
8
  • Like
  • +1
  • Tweet
  • Printer Friendly and PDF

Once in a while I have a friend, or customer that needs to keep people from using the USB ports to copy data off of a system. With USB drives so common these days and people able to carry them around on keyring’s, it take’s only a matter of seconds to plug in a USB device and copy a few files to it.

For experienced users, there are a few ways to turn certain devices off. One of the ways to lock down a machine is to disable devices such as a floppy or CD-ROM in the BIOS. You can also disable USB, but the problem there is it disables USB completely meaning none of your peripherals such as keyboards, mice and printers will work either.

There is also another partial solution although again not the best idea. That is to turn off a certain USB hub or connection by disabling from Device Manager. Not ideal, but you can at least perhaps use it for something like the front USB ports on your PC if you don’t want anything at all plugged into them to be detected.

The good news is there’s a simple registry change that will stop the USB mass storage drivers from starting when the system boots, and as a consequence won’t allow any USB pen stick or portable hard drives to run in Windows. This stops anyone from plugging in a USB device and trying to copy data , but allows you to keep your printer, keyboard, and mouse etc working.

Here are 3 different ways to accomplish this task that works locally on Window. Each one slightly more difficult than the one above, but even the hardest method here is still very easy for the average user. This registry trick works in all versions of Windows.

Using a ready made .reg file

The registry change is a simple one and all it does is disable the USB Mass Storage Driver from loading in Windows.

Download the following file to disable the USB Mass Storage Driver:

DisableUSBMassStorage.reg

Download the following file to simply re-enable the USB Mass Storage Driver again:

EnableUSBMassStorage.reg

Download and execute which one you want, and when asked, let the file be imported into the registry.

Using 3rd Party Software

For those of you that don’t feel like messing around in the registry or importing registry files, there is a freeware tool called IntelliAdmin USB Drive Disabler that does the registry modification for you by just clicking a button. The program is a standalone executable so simply run it, select whether you want to enable or disable your USB drives, and click Apply.

IntelliAdmin USB Drive Disabler

Download IntelliAdmin USB Drive Disabler

Manually Editing the Registry

As you should always do, back your registry up before messing around with it.

1. Go to Start -> Run -> Type regedit and hit Enter or click on the OK button. For Vista and 7 go to Start -> type regedit into the search box, press Enter.

2. Browse to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor

Look for the value “Start” in the right hand pane.

UsbStor Regedit USB

3. Double click the “Start” value in regedit and the default value data should be 3.

USB Regedit Dword

Switch this value data to 4, and USB storage devices are disabled.
Switch this value data back to 3, and USB storage devices are enabled again.

Remotely Disabling Removable Storage Devices

If you are a network administrator and would like to disable USB storage devices on a remote computer without being in front of it, you can use Remote USB Disabler that is also created by IntelliAdmin. Basically it does the same as the above with an additional authentication to remotely make changes at the registry on other computers. You can either manually specify the computer name, or pick from the list by clicking the browse button. Enter account login information and pick the options of either enable or disable USB drives.

USB Remote Disabler

Download IntelliAdmin Remote USB Disabler

When the USB drives are disabled using this method, plugging in the USB drive to the computer with show a yellow exclamation mark icon for USB Mass Storage Device in Device Manager. The device status shows the following error message:

A driver (service) for this device has been disabled. An alternate driver may be providing this functionality. (Code 32)

If you are seeing this error, it is possible that this problem is caused by the USB mass storage being disabled in the registry and you can try enabling it back.

Didn't find what you want? The links below could help:

Auto Start Portable Applications from USB Stick with AutoRunnerXAuto Start Portable Applications from USB Stick with AutoRunnerXEasily Install FreeDOS in USB Flash Drive for BIOS FlashingEasily Install FreeDOS in USB Flash Drive for BIOS FlashingMake your Dropbox Mobile with DropboxPortableAHKMake your Dropbox Mobile with DropboxPortableAHKManually Reset or Clear Dirty Bit in Windows without using CHKDSKManually Reset or Clear Dirty Bit in Windows without using CHKDSK

8 comments on “Disable Removable Storage Devices such as USB Drives”

  1. christian says:
    1 year ago

    great, thanks, approved + tested + working on windows xp home and windows 7 ultimate:-)

    Reply
  2. lto 5 tape says:
    2 years ago

    this is a good to save your data and computer. In those days USB id a big treat for system because virus can easily be transferred by it. lto 5 tape

    Reply
  3. eugkenath says:
    3 years ago

    how can i open the usbtor in regedit? i open regedit but i cannot locate the usbtor.. i think its missing in my registry key.. what do you think will i do for this case? please post a comment for my problem..^_^

    Reply
  4. poul says:
    3 years ago

    how to block usb port in win me or 98

    Reply
  5. David says:
    5 years ago

    hola estoy buscando ayuda porque tengo un problema con mi computadora, a cada momento me pide la unidad de diskete, es decir, la unidad A: pero esta computadora ya no viene con las unidades de diskete y quisiera saber como desactivo dicha unidad para que no me siga dando dicho error? se lo agradeceria en el alma.

    Reply
  6. revy says:
    5 years ago

    how to disable diskette, cd and dvd? i mean, how can i do it like a usb? tnx. gb.

    Reply
  7. Funky says:
    5 years ago

    Inspite of changing the registry to usbStor to 3, im still not able to connect my pocket pc to the computer. What are the registry modifications required to enable to usb to be able to connect pocket pc etc ?

    Reply
  8. akc says:
    6 years ago

    How I can allow only read access to a particular USB but not write access on that USB programmatically without manipulating registry settings?

    Suggestions are appreciated.

    Regards,
    AKC

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recently Updated

  • flash bios icon

    5 Tools to Easily Install FreeDOS or MS-DOS onto USB for BIOS Flashing

  • avast icon

    Reset or Remove avast! Authorization Password to Access Settings

  • U3 icon

    How to Customize U3 USB Smart Drive to Become Ultimate Hack Tool

New Articles

  • task manager replacement icon

    Memory Usage Test to See Which is the Lightest Antivirus Software

  • kaspersky antivirus 2013 icon

    Activate Free Kaspersky Anti-Virus 2013 ROG with 1 Year License

  • remote access software

    Top 8 Remote Access Software for Providing Online Support

Popular Posts

  • Top 10 FREE Data Recovery Software

    Top 10 FREE Data Recovery Software

  • How to Hack Into a Windows XP Computer Without Changing Password

    How to Hack Into a Windows XP Computer Without Changing Password

  • 10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

    10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

Recommend on Google
Follow @raymond_cc
Subscribe Youtube »
(c) 2013 Raymond.CC Blog
  • Contact
  • Disclaimer
  • Disclosure
  • Privacy Policy
  • Terms of Use
  • Sitemap