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: Run program when device plugged in?

16 Apr 2011   #1

Windows 7 Ultimate x64 (SP1)
Run program when device plugged in?

Hi there,

I've used Process Hacker to create a "service" that changes the Capabilities key corresponding to my Wi-Fi adapter so that it won't show in Safely Remove Hardware. This runs on startup and works fine until I take out the adapter and plug it back in; I then have to start the service up again. Is there a way in which I can make Windows automatically run a command when plugging in a certain device?


EDIT: I was able to use the service trigger feature of Windows 7 with the GUID "{AD498944-762F-11D0-8DCB-00C04FC3358C}".

My System SpecsSystem Spec


 Run program when device plugged in?

Thread Tools

Similar help and support threads for2: Run program when device plugged in?
Thread Forum
XP vm freezes when USB device is plugged in. Virtualization
System Interrupts high CPU when any usb device gets plugged in Performance & Maintenance
BSOD when plugged in usb device BSOD Help and Support
USB Device already in use - but nothing plugged in?! Hardware & Devices
When device is plugged in, blue screen comes up BSOD Help and Support
Why I don't have pop up when device plugged in? Sound & Audio
computer not responding when USB device is plugged in. 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 11:26 AM.
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