Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide 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 USB Storage Devices in Windows
Published by Brink
18 Aug 2011
Default USB Storage Device - Enable or Disable Connecting

How to Enable or Disable USB Storage Devices in Windows

information   Information
This tutorial will show you how enable or disable USB storage devices for all users in XP, Vista, Windows 7, and Windows 8.

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 no longer allow read and write access to all USB storage devices connected afterwards for all users.

Any USB storage device still connected when set to be disabled will still have read and write access until either the USB storage device is disconnected or you log off, restart, or shut down the computer.

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






OPTION ONE
To Enable or Disable USB Storage Devices using a REG File Download
1. To Disable USB Storage Devices in Windows
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, then disconnect it.
NOTE: This only needs to be done once with any USB storage device.
Name:  AutoPlay.jpg
Views: 56203
Size:  28.5 KB

USB Storage Device - Enable or Disable Connecting-computer.jpg

B) Click/tap on the Download button below to download the file below, and go to step 3 below.
Disable_USB_Storage_Devices.reg
download
2. To Enable USB Storage Devices in Windows
NOTE: This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to step 3 below.
Enable_USB_Storage_Devices.reg
download
3. Save the .reg file to your Desktop.

4. Double click/tap on the downloaded .reg file to merge it.

5. If prompted, click/tap on Run, Continue (UAC-Vista) or Yes (UAC-Windows 7/8), Yes, and then OK.

6. When finished, you can delete the downloaded .reg file if you like.



OPTION TWO
To Enable or Disable USB Storage Devices 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, then disconnect it.
NOTE: This only needs to be done once with any USB storage device.
Name:  AutoPlay.jpg
Views: 56203
Size:  28.5 KB

Click image for larger version

Name:	Computer.jpg
Views:	1637
Size:	124.8 KB
ID:	170825

2. Press the Windows + R keys to open the Run dialog, type regedit, and press Enter.

3. If prompted by UAC, then click/tap on Continue (Vista) or Yes (Windows 7/8).

4. 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
5. To Enable USB Storage Devices in Windows
NOTE: This is the default setting.
A) In the right pane of USBSTOR, double click/tap on Start to modify it. (see screenshot below step 4)

B) Type in 3, click/tap on OK, and go to step 7 below. (see screenshot below)
Name:  REG-2.jpg
Views: 56309
Size:  24.2 KB
6. To Disable USB Storage Devices in Windows
A) In the right pane of USBSTOR, double click/tap on Start to modify it. (see screenshot below step 4)

B) Type in 4, click/tap on OK, and go to step 7 below. (see screenshot below step 5B)
7. Close regedit.

That's it,
Shawn





Published by
09 Feb 2013   #1
Shehzad

Windows 7 Professional x64
 
 
Thank you , i really worked.

Thank you very much. It really worked and helped.


My System SpecsSystem Spec
09 Feb 2013   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're most welcome Shehzad, and welcome to Seven Forums.
My System SpecsSystem Spec
18 Jun 2013   #3
gelapir

windows nome premium x86
 
 

My PC not recognizes any pendrives, ,,Type in 3, click/tap on OK'' it is done but same. when i connect pendrives pops up error massege.
My System SpecsSystem Spec
.


18 Jun 2013   #4
Dinesh

Windows® 8 Pro (64-bit)
 
 

I tried this on my work PC but it returned an error. May be due to access rights set on the domain.
My System SpecsSystem Spec
18 Jun 2013   #5
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Dinesh,

What error are you getting?

Were you not allowed to do it manually with OPTION TWO?

If not, then yeah they most likely blocked access to Registry Editor, or already set a policy for this.
My System SpecsSystem Spec
18 Jun 2013   #6
Dinesh

Windows® 8 Pro (64-bit)
 
 

Hey Shawn, yes I tried option 2 only.
Since all the workstations are managed over the network, it is most probably due to the IT rights set for users.
My System SpecsSystem Spec
18 Jun 2013   #7
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

That would be my guess as well.
My System SpecsSystem Spec
11 Apr 2014   #8
adwedar

Windows 7 32bit
 
 

Hi All,
I want to allow USB Modem and Block Flash Memory at the same time for security Reasons
All users in my company using Windows 7 32 bit
Thanks
My System SpecsSystem Spec
11 Apr 2014   #9
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Adwedar, and welcome to Seven Forums.

No worries. This only affects USB storage devices like a USB flash drive or an external USB hard drive. It does not affect wireless keyboard/mouse USB adapters, wireless USB modems, etc.....

You should be able to enable this policy to block USB storage devices, and still have your USB modem work.
My System SpecsSystem Spec
Comment

 USB Storage Device - Enable or Disable Connecting




Tutorial Tools



Similar help and support threads for2: USB Storage Device - Enable or Disable Connecting
Windows 7 Tutorial Category
DOM Storage "Cookies" - Enable or Disable Tutorials
USB Mass Storage Device/Unknown Device Hardware & Devices
How do I re-enable storage devices USB through MMC? Hardware & Devices
"You don't have permission to enable or disable device wake." Performance & Maintenance
Solved Shortcut to enable & disable device Hardware & Devices
Device Manager MMC Snap-in - Enable or Disable Tutorials
Burning to CD and DVD - Enable or Disable Tutorials

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 08:37 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

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 31 32 33