Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - USB Storage Device - Enable or Disable Connecting

 

USB Storage Device - Enable or Disable Connecting

How to Enable or Disable Users from Connecting a USB Storage Device in Windows
Published by Brink
08-18-2011
Default USB Storage Device - Enable or Disable Connecting

How to Enable or Disable Users from Connecting a USB Storage Device in Windows

information   Information
This will show you how to allow or prevent all users from being able to connect a USB storage device and be installed in Windows 7, Vista, and XP.

You must be logged in as an administrator to be able to do the steps in this tutorial.

Note   Note
When disabled (prevented), Windows will not recognize or allow read and write access to all USB storage devices for all users.

This only affects USB storage devices like a USB thumb drive or a external USB HDD. It does not affect wireless keyboard/mouse USB adapters, wireless USB modems, etc.....






OPTION ONE

Using a REG File Download
1. To Disable Users Connecting a USB Storage Device
A) If you have not ever already done so, you must connect a USB storage device (ex: USB flash drive) to the computer now, and wait until Windows installs it and displays it in the Computer window with an assigned drive letter.
NOTE: This only has to be done once with any USB storage device to add the registry entries in step 5 of OPTION TWO below.
USB Storage Device - Enable or Disable Connecting-autoplay.jpgUSB Storage Device - Enable or Disable Connecting-computer.jpg
B) When finished connecting as above, disconnect the USB storage device.

C) Click on the Download button below to download the file below.
Disable_Connecting_USB_Storage_Devices.reg
download
D) Go to step 3.
2. To Enable Users Connecting a USB Storage Device
NOTE: This is the default setting.
A) Click on the Download button below to download the file below.
Enable_Connecting_USB_Storage_Devices.reg
download
3. Click on Save, and save the .reg file to the Desktop.

4. Right click on the downloaded .reg file and click on Merge.

5. Click on Run, Continue (UAC-Vista) or Yes (UAC-Windows 7), Yes, and then OK when prompted.

6. Log off and log on, or restart the computer to apply.

7. When done, you can delete the downloaded .reg file if you like.




OPTION TWO

Manually in Registry Edititor
1. If you have not ever already done so, you must connect a USB storage device (ex: USB flash drive) to the computer now, and wait until Windows installs it and displays it in the Computer window with an assigned drive letter.
NOTE: This only has to be done once with any USB storage device to add the registry entries in step 5 below.
Click image for larger version

Name:	AutoPlay.jpg
Views:	81
Size:	28.5 KB
ID:	170824Click image for larger version

Name:	Computer.jpg
Views:	94
Size:	124.8 KB
ID:	170825
2. When finished connecting as above, disconnect the USB storage device.

3. Open the Start Menu, then type regedit in the search box and press Enter.

4. If prompted by UAC, then click on Continue (Vista) or Yes (Windows 7).

5. In regedit, navigate to the location below. (see screenshot below)
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\USBSTOR

USB Storage Device - Enable or Disable Connecting-reg-1.jpg
6. To Enable Users Connecting a USB Storage Device
NOTE: This is the default setting.
A) In the right pane of USBSTOR, right click on Start, and click on Modify. (see screenshot below step 5)

B) Type in 3 and click on OK. (see screenshot below)
USB Storage Device - Enable or Disable Connecting-reg-2.jpg
C) Go to step 8.
7. To Disable Users Connecting a USB Storage Device
A) In the right pane of USBSTOR, right click on Start, and click on Modify. (see screenshot below step 5)

B) Type in 4 and click on OK. (see screenshot below step 6B)
8. Close regedit.

9. Log off and log on, or restart the computer to apply.
That's it,
Shawn






Published by
Brink's Avatar
Administrator

Join Date: Oct 2008
Location: Texas
Posts: 37,304

Tutorial Tools
Comment

 USB Storage Device - Enable or Disable Connecting problems?



Tutorial Tools



Similar Threads for: USB Storage Device - Enable or Disable Connecting
Windows 7 Tutorial Category
DOM Storage "Cookies" - Enable or Disable Tutorials
USB Storage device not showing up. Hardware & Devices
Device Manager MMC Snap-in - Enable or Disable Tutorials
USB Mass Storage Device Drivers
Wd storage device not detected Hardware & Devices


All times are GMT -5. The time now is 01:37 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30