Disable Autoplay for specific drive?


  1. Posts : 661
    Windows 7 Home Premium SP1 64-bit
       #1

    Disable Autoplay for specific drive?


    To save space on my SSDs, I have a removable (pen) drive permanently plugged into my PC, on which I store various temp files (which get replaced quite often)... Is it possible to disable autoplay on this specific flash drive alone, so that I do not get the autoplay window for it every time I boot up? I'd prefer to have other drives bring up the window when I plug them in (if possible).

    Can't find a solution to this - so perhaps it can't be done?

    Thanks!

    Martin
      My Computer


  2. Posts : 2,798
    Windows 7 x64, Vista x64, 8.1 smartphone
       #2

    If it can be done, try here:

    Instructions

    To assign a device handler to a device, under the Device Parameters subkey of the device instance, add a value of type REG_SZ named DeviceHandlers. The data entry for this value is the name of the device handler.

    The following is an example entry for a fictitious Vid_059&Pid_0031 device.


    Code:
    HKEY_LOCAL_MACHINE
       SYSTEM
          CurrentControlSet
             Enum
                USB
                   Vid_059b&Pid_0031
                      059B003112010E93
                         Device Parameters
                            DeviceHandlers = MyDeviceHandler

    Device handlers can also be assigned by using device group or device class settings.
    Source: How to Assign a Device Handler to a Device | Microsoft Docs

    So you'd need to identify the USB device's VID and PID , and you need to find the correct "MyDeviceHandler" for "take no action".
      My Computer


  3. Posts : 0
    Windows 7 Ultimate x64
       #3

    You can get the Vid (Vendor ID), Pid (Product ID) and DeviceHandler with USBDeview. View any installed/connected USB device on your system

    You can even right click your USB device in USBDeview and open its registry entry for editing.
      My Computer


  4. Posts : 661
    Windows 7 Home Premium SP1 64-bit
    Thread Starter
       #4

    Thanks, I already have the USB view installed, so it would have been easy, I suppose, to have 'fixed' this. I say 'would have been', because my PC, in its infinite wisdom, has not brought up the autoplay window for this device since yesterday. I don't think I did anything to bring about the change, but I can use the information here should the PC change its mind about this over the next few days (as is, of course, always possible)!

      My Computer


 

  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 00:43.
Find Us