USB Storage Device - Enable or Disable Connecting

Page 1 of 2 12 LastLast
    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
    Designer Media Ltd


    How to Enable or Disable USB Storage Devices in Windows

       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
    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.
    USB Storage Device - Enable or Disable Connecting-autoplay.jpg

    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
    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
    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.
    USB Storage Device - Enable or Disable Connecting-autoplay.jpg

    USB Storage Device - Enable or Disable Connecting-computer.jpg
    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)
    USB Storage Device - Enable or Disable Connecting-reg-2.jpg
    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








  1. Posts : 1
    Windows 7 Professional x64
       #1

    Thank you , i really worked.


    Thank you very much. It really worked and helped.
      My Computer


  2. Posts : 71,975
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    You're most welcome Shehzad, and welcome to Seven Forums. :)
      My Computer


  3. Posts : 22
    windows nome premium x86
       #3

    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 Computer


  4. Posts : 8,476
    Windows® 8 Pro (64-bit)
       #4

    I tried this on my work PC but it returned an error. May be due to access rights set on the domain.
      My Computer


  5. Posts : 71,975
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #5

    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 Computer


  6. Posts : 8,476
    Windows® 8 Pro (64-bit)
       #6

    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 Computer


  7. Posts : 71,975
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #7

    That would be my guess as well.
      My Computer


  8. Posts : 1
    Windows 7 32bit
       #8

    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 Computer


  9. Posts : 71,975
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #9

    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 07:41.
Find Us