Launch my application when USB drive plugged in.

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.basics (More info?)

Is there a way to have Windows XP launch an application when a USB thumb
drive is plugged in? I want to recognize the event and run my application.
If not, is there a way to monitor the USB port for a drive and recognize
when that happens?

TIA
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.basics (More info?)

TweakUI for XP can handle this. Its in the My Computer, Autoplay, Handlers section. You'll have to look at some of the examples to see how to construct your own handler.

TweakUI is available from

http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp (SP1 and later systems)

http://www.microsoft.com/windowsxp/home/downloads/powertoys.asp (Pre SP1 systems)

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"Mike M." <nospam@someplace.com> wrote in message news:OvFu$qlrFHA.248@TK2MSFTNGP14.phx.gbl...
> Is there a way to have Windows XP launch an application when a USB thumb
> drive is plugged in? I want to recognize the event and run my application.
> If not, is there a way to monitor the USB port for a drive and recognize
> when that happens?
>
> TIA
>
>
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.basics (More info?)

Thanks Doug, I'll download an give it a try. I am also reviewing
http://msdn.microsoft.com/msdnmag/issues/01/11/Autoplay/default.aspx.


"Doug Knox MS-MVP" <dknox@mvps.org> wrote in message
news:Orp28ulrFHA.2596@TK2MSFTNGP09.phx.gbl...
TweakUI for XP can handle this. Its in the My Computer, Autoplay, Handlers
section. You'll have to look at some of the examples to see how to
construct your own handler.

TweakUI is available from

http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp (SP1 and
later systems)

http://www.microsoft.com/windowsxp/home/downloads/powertoys.asp (Pre SP1
systems)

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart
Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"Mike M." <nospam@someplace.com> wrote in message
news:OvFu$qlrFHA.248@TK2MSFTNGP14.phx.gbl...
> Is there a way to have Windows XP launch an application when a USB thumb
> drive is plugged in? I want to recognize the event and run my
application.
> If not, is there a way to monitor the USB port for a drive and recognize
> when that happens?
>
> TIA
>
>