Feb
15
2013

How to turn off USB ports / Pen Drive / USB storage in Windows 8 , 7 , Vista , XP

This post will help you Turn off USB ports on your computer by a fairly simple trick. There are circumstances where you might wish to use some USB devices on your computer, but want to disable usage of USB storage devices such as USB Hard disk drives or USB Pen Drives. This tip will let you to continue using your USB based Peripheral Devices such as Printers, scanners or even Keyboard and mouse, but will only disable Storage devices. At the end of this post, we will discuss a few options that will let you disable complete USB access as well.

Editing your Registry

  • Go to Run ( Windows Logo key + R )
  • Type in Regedit

reg

  • You might have to press Yes
  • Now,
  • Expand HKEY_LOCAL_MACHINE
  • Expand SYSTEM
  • Expand CurrentControlSet
  • Expand services

reg1

  • Now,
  • Locate USBSTOR
  • In the right pane, Double click on Start
  • Change the Value to 4

reg2

reg3

  • Press OK
  • Restart your Computer
  • Again follow all the steps to re-check if the value has been changed to 4 or not, if not, Change it again.
  • Restart your computer
  • Now, none of the Mass storage devices you plug into your Computer won’t work.
  • If, you wish to re-enable USB access, you can simply change the value back to 3

Disabling Other USB types

  • Refer the screenshot below
  • You can disable :
  • USB Infrared Devices
  • USB Hub
  • USB Video Devices
  • USB Printing Devices

reg4

  • To disable any of the said devices, just click on the value as in the screenshot above
  • Double Click on Start
  • Change the Value to 4 and Press OK
  • Restart your computer

In case of any questions or feedback, you can use the contact form or the comment section below.

About the Author:

Shantanu is a Windows Enthusiast, a troubleshooter & a writer. He is a Microsoft MVP in Windows Expert - IT Pro from 2007. You can check out his other work @ www.shantanukaushik.com

Leave a comment