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: Disable Autoplay for specific drive?

03 Mar 2019   #1

Windows 7 Home Premium SP1 64-bit
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?



My System SpecsSystem Spec
03 Mar 2019   #2

Windows 7 x64, Vista x64, 8.1 smartphone

If it can be done, try here:


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.

                     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 System SpecsSystem Spec
03 Mar 2019   #3
F22 Simpilot

Windows 7 Ultimate x64

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 System SpecsSystem Spec

03 Mar 2019   #4

Windows 7 Home Premium SP1 64-bit

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 System SpecsSystem Spec

 Disable Autoplay for specific drive?

Thread Tools

Similar help and support threads
Thread Forum
AutoPlay - Enable or Disable
How to Enable or Disable AutoPlay for Drives in Vista, Widows 7, and Windows 8 AutoPlay lets you choose an action for different kinds of media when you plug in a device, insert media, or receive content from another person using Tap and Send (Windows 8). You can set AutoPlay to open different...
How can I disable WMP DVD Autoplay in Win 7?
It's getting really annoying and I cannot see any kind of setting for it. I googled this and got a whole slew of useless advice, like using the DVD drive's context menu, a nonexistent "Hardware and Audio" setting in the control panel or nonexistent registry entries under Current...
Music, Pictures & Video
how to disable Autoplay for phone?
I have already disable Autoplay enabled for all drives, but when I plug in my Android phone to change the phone, I am still getting Autoplay pop up window. How can I disable this stupid pop up? Thanks.
Hardware & Devices
Anyway to disable Autoplay?
Since my SD card slot is crapping out on me for some reason, I need a way to disable Autoplay so that pop-up window won't pop up every time my computer re-detects my SD card. I have Windows 7 Home Premium.
Hardware & Devices

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 01:48.
Twitter Facebook