USB autorun.inf - auto-open website without being prompted

  • Thread starter Thread starter nicoqhj
  • Start date Start date
N

nicoqhj

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.
 
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

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.
 
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.
 
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.

Just use the code above and edit example.bat to say:

@echo off
start iexplore http://siteyouwant.com/

Hope this helped!
 
Back
Top