Guest nicoqhj@gmail.com Posted September 12, 2008 Posted September 12, 2008 Hi. I'm trying to auto-open a web site when plugging in a USB drive. (My actual question is at the bottom.) My autorun.inf file currently looks like this: [autorun] open=example.bat action=www.example.com Where example.bat contains this line: "Start http://www.example.com" This is all good, but the user gets prompted before example.bat executes. I managed to bypass this by the following entries: [autorun] open=example.bat shell\open\command=example.bat useautoplay=1 In this example, using Windows XP, example.bat gets executed without asking the user. In Vista however, the user still gets prompted. My question: Is there _any_ way of making a web site launch after plugging in a USB drive, in Win XP and Vista? Thanks in advance.
Guest PA Bear [MS MVP] Posted September 12, 2008 Posted September 12, 2008 Re: USB autorun.inf - auto-open website without being prompted > My question: Is there _any_ way of making a web site launch after > plugging in a USB drive, in Win XP and Vista? Yes, but anyone whose computer is configured to allow USB drive Autoruns needs to have their head examined! -- ~PA Bear nicoqhj@gmail.com wrote: > Hi. > I'm trying to auto-open a web site when plugging in a USB drive. > (My actual question is at the bottom.) > > My autorun.inf file currently looks like this: > [autorun] > open=example.bat > action=www.example.com > > Where example.bat contains this line: "Start http://www.example.com" > > This is all good, but the user gets prompted before example.bat > executes. > > I managed to bypass this by the following entries: > [autorun] > open=example.bat > shell\open\command=example.bat > useautoplay=1 > > In this example, using Windows XP, example.bat gets executed without > asking the user. > In Vista however, the user still gets prompted. > > My question: Is there _any_ way of making a web site launch after > plugging in a USB drive, in Win XP and Vista? > > Thanks in advance.
Guest nicoqhj@gmail.com Posted September 12, 2008 Posted September 12, 2008 Re: USB autorun.inf - auto-open website without being prompted On Sep 12, 11:20 pm, "PA Bear [MS MVP]" <PABear...@gmail.com> wrote: > > My question: Is there _any_ way of making a web site launch after > > plugging in a USB drive, in Win XP and Vista? > > Yes, but anyone whose computer is configured to allow USB drive Autoruns > needs to have their head examined! Unless users need to make some custom changes, would you please explain how? I've read about it all day, but still haven't reached the point where the web site just pops up in both XP and Vista (without confirmation). Thanks.
Recommended Posts