Visual Vision **User's** Forum (normal) (http://www.paperinik.com/cgi-bin/eng/YaBB.pl)
Our Products >> CDFrontEnd PRO >> Autorun on USB key pen drive
(Message started by: Richard Page on Jun 11th, 2004, 1:04am)

Title: Autorun on USB key pen drive
Post by Richard Page on Jun 11th, 2004, 1:04am
Is it possible to create an Autorun or Autoplay that works on a USB drive or stick?

I want to be able to make a powerpoint on a USB stick/drive run as soon as it is inserted into the laptop....

Title: Re: Autorun on USB drive
Post by Support Staff on Jun 21st, 2004, 4:31pm
Yes, just copy the content of the temporary folder in to the main folder of the USB drive.

Title: Re: Autorun on USB drive key stick
Post by Cavin O'Neal on Jul 22nd, 2004, 12:07pm
It is not that easy with Windows XP. XP seems to treat USB removable media differently than CD's. This seem to be a fairly wide spread problem and I have not found a solution.

Title: Re: Autorun on USB drive
Post by Ian Price on Sep 11th, 2004, 11:07pm
I am having the same exact problem.  XP treats it as a removable device.  I want to run a flash movie that doesn't require a click or confirmation.  Just runs

Title: Re: Autorun on USB drive
Post by davidfauthoux on Oct 26th, 2004, 6:51am
Any new here ? Any solution ?

Title: Re: Autorun on USB drive
Post by Your MoM's BF on Nov 10th, 2004, 5:54pm
You will need a special driver for it.

Title: Re: Autorun on USB drive
Post by litepack on Mar 30th, 2005, 2:42pm
Any word on this?

Title: Re: Autorun on USB drive
Post by Pham Anh Vu on Apr 25th, 2005, 8:34pm
I think you can download Autorun USB 1.0 ( www.torosoftware.com). Then you point to the path where you're installed it and copy autorun.usb into your USB Flash. You can custom this file with your purpose...

Title: Re: Autorun on USB drive
Post by blackbit on May 24th, 2005, 1:54am
You can use DeskMount for this. It'll cost you 5€ for the full version, but it works great (not like torosoft) and will also automatically add desktop shortcuts for any media you insert/attach to your pc (if you want).
You can disable windows XP's built-in autorun support completely, as DeksMount is fully compatible with autorun.inf files. Except : it can even autorun network drives, ram drives and subst drives!

http://www.blackbit.net/images/deskmount1/screenshot1.gif

Title: Re: Autorun on USB drive
Post by Richard on May 25th, 2005, 6:07am
Deskmount has to be installed on the PC first.

What I am seeking is a utility that goes on the USB device that makes it autorun....

I know it can be done and some USB suppliers already ship with this capability.

Title: Re: Autorun on USB drive
Post by kb on May 31st, 2005, 7:19am
For every device there is a StorageDeviceProperty data, which describes the device. This has a flag, which specifies, if the device is a "removable media" or not.
Usually it isn't enabled for the USB drives.

Title: Re: Autorun on USB drive
Post by cavelord on Jun 2nd, 2005, 3:11pm
I found a kind of cheating way of doing it.
You must use Microsoft TWEAKUI to create a autohandler for the drive. I then tell it to run a program or batch file when it find a picture on it. I first have to put a .bmp on it, and then XP says, oh you have a picture let me open it with...
I then tell it to run a batch program or you could tell it to use the Autorun.exe file on the usb drive.
any help needed to do this: email me at
cavelord@hotmail.com

P.S. The usb drives that automatically run a program have to usually come with the drive. they are built into the drive itself so it can also fake out the XP to think it is something else.

Update: This only works if you can update the client computer. I do not know of a way yet to run an autorun.inf file yet. You have to change the client's computer to make my idea work!

Title: Re: Autorun on USB drive
Post by Zero on Jul 13th, 2005, 12:07am
well, I spent a few moments browsing around and came up with this following solution
Works on all windows systems (if you find one it doesnt, use the existing AutoRun for that system, and place that there)
[autorun]
OPEN=MobileZeroLauncher.exe MobileZero.hta
shellexecute=MobileZeroLauncher.exe MobileZero.hta
shell\Auto=&Autoplay
shell\Auto\command=MobileZeroLauncher.exe MobileZero.hta
ICON=mobilezero.ico
shell=Auto
Explination:
default open for all other versions of windows
tell shellexec (not supported in ALL versions of windows, but it is in XP, and thats the one we're having problems with)
set the menu item "&Autoplay" to the verb "auto"
set the command of the verb "Auto" to the exe
set the icon
set the verb auto to be the default action when the drive is double-clicked
should work, worked fine on my end
ALTHOUGH, if you ever right-click the drive, and hit "open as portable media device" the effects of this can be disabled.

Title: Re: Autorun on USB drive
Post by kattmarl on Jul 26th, 2005, 5:28pm
Thanks for the info... does this .inf do exactly what was asked earlier (ie. run on plug-in - WITHOUT a user interaction?)   ???

Title: Re: Autorun on USB drive
Post by Richard Page on Jul 27th, 2005, 1:26pm
I am unclear as to how the solution works?  Is mobilezerolauncher.exe a program that is required? ???

Title: Re: Autorun on USB drive
Post by kattmarl on Jul 27th, 2005, 1:42pm
Hey Richard,
No, I think the previous message was using that as an example program.  I've not tried to create this .inf file yet... let me know if you find a total solution!  I'll reply back if I can confirm this working.
Cheers!   ;D

Title: Re: Autorun on USB drive
Post by Jos on Aug 13th, 2005, 2:25am
It does not work

Title: Re: Autorun on USB drive
Post by Will on Aug 16th, 2005, 6:17am
I've done quite a bit of research on this...

There are programs that you can use to autorun a USB drive - but most need to be first installed/run on a computer.

Hackers have used USB drives for awhile to autorun features while, for example, the password protect [ctrl-alt-delete] screen is up.

They do this by "flashing" the firmware on the USB drive to fool XP into thinking the USB drive is a non-removable device.  With the hardware ID and manufacturers ID changed (to, for example, an IDE ROM drive), XP will allow the drive to autorun and autoplay.

Questions:

1 - How does one "flash" a USB drive to change the firmware?
2 - Which firmware will work?
3 - Any special hardware required?

r/
Will 8)

Title: Re: Autorun on USB drive
Post by kattmarl on Aug 16th, 2005, 9:59am
Hey Will,
Thanks for the insight... I've heard/read the same.  Please let me know if you find answers to those 3 questions!  We can Flash a CMOS..  there should be a way to Flash a USB, right?
Cheers!   ;D

Title: Re: Autorun on USB drive
Post by Will on Aug 17th, 2005, 3:17am
Thanks for the reply,

I am in the process of ordering custom USB sticks from Japan, that will autoplay, and have a protected memory area.  I need these for work.

There is a program out there called "slurp."  This program was meant for an IPOD to automatically backup, say, /documents and settings/*.*

I need a program that will autorun on my USB stick, and that will automatically copy certain directories in a user's account, such as internet settings, favorites, cookies, temp files, etc.

Any programmers out there that can help?  I suppose a batch file could work, but a compiled .com or .exe would work best.

r.
Will 8)

Title: Re: Autorun on USB drive
Post by Richard Holmes on Aug 30th, 2005, 12:42am
I today wrote an '.exe in Delphi-5 that copis files off the C drive into a USB (or anywhere really I suppose) then moves the files in the PC to a "backed up" folder.

It is part of an automated backup system for some datalogging stuff we do.

Only small problem is that I too cannot get the USB drive to autorun the exe.

Let me know if you can help or are interested.

Regards - Richard

Title: Re: Autorun on USB drive
Post by will on Aug 30th, 2005, 6:18am
your program snds great!  I just need to copy, not change the files though.
The USB autorun stick works well!  UD-RW..do a google for the company name...I haven't been able to flash a normal USB drive yet..

Title: Re: Autorun on USB drive
Post by matt on Sep 6th, 2005, 10:40am
Not a true autorun but it works for what I am trying to.  If you add an Action=[text you want] line in your autorun it will add an item to ‘What do you want Windows to do?’

Example autorun.inf:

[autorun]
Open=opera\win32\opera.exe
Action=Start Portable Opera
Icon=opera\win32\opera.exe

Title: Re: Autorun on USB drive
Post by Jackie on Oct 4th, 2005, 7:39am
Autorun Usb v1.0 works just fine

or u can even write up vbs to loop through drive every 10second or so but this would be lousy way.

any autorun usb is handy one

Title: Re: Autorun on USB drive
Post by Brandon on Nov 14th, 2005, 1:17pm
I just wrote this application in the past few days. Should alleviate any problems you have with USB Autorunning much like the other program that was posted. However, I'm not sure if the other one works with multiple USB devices - this one does. If you have any problems please reply to this thread or send me an e-mail or MSN to brandon-at-kmgsoftware-dot-com.

Enjoy!
ftp://ftp.bc3tech.net/BusRunnerInstall.msi

Tested and developed on Windows XP w/ .NET Framework v1.1

Title: Re: Autorun on USB drive
Post by Brandon on Nov 30th, 2005, 4:09pm
New address:

ftp://ftp.bc3tech.net:121/BusRunnerInstall.msi

Title: Re: Autorun on USB drive
Post by katt marl on Nov 30th, 2005, 6:55pm
Hey there!
I tried the link - no joy.  Is the FTP down?
???

Title: Re: Autorun on USB drive
Post by Brandon on Dec 1st, 2005, 3:30pm
Yes for some reason IE did not like my last link. I just tested this one and it works, enjoy!

http://mask.bc3tech.net:888/busrunnerinstall.msi

Title: Re: Autorun on USB drive
Post by JTD on Feb 27th, 2006, 10:49pm

on 07/13/05 at 00:07:38, Zero wrote:
well, I spent a few moments browsing around and came up with this following solution
Works on all windows systems (if you find one it doesnt, use the existing AutoRun for that system, and place that there)
[autorun]
OPEN=MobileZeroLauncher.exe MobileZero.hta
shellexecute=MobileZeroLauncher.exe MobileZero.hta
shell\Auto=&Autoplay
shell\Auto\command=MobileZeroLauncher.exe MobileZero.hta
ICON=mobilezero.ico
shell=Auto
Explination:
default open for all other versions of windows
tell shellexec (not supported in ALL versions of windows, but it is in XP, and thats the one we're having problems with)
set the menu item "&Autoplay" to the verb "auto"
set the command of the verb "Auto" to the exe
set the icon
set the verb auto to be the default action when the drive is double-clicked
should work, worked fine on my end
ALTHOUGH, if you ever right-click the drive, and hit "open as portable media device" the effects of this can be disabled.


This does work, in a way. It only seems to work for me when I double-click the icon in Explorer, it runs what I tell it to.

OR, when I right-click the drive in Explorer, there is another Autoplay context item:
http://home.comcast.net/~jtd121/AutoPlay1.png

Which does the actual Autoplay of the program I setup to launch.

Now we just need to get the non-U3 drives to become U3-like...

-Josh

Title: Re: Autorun on USB drive
Post by JTD on Feb 27th, 2006, 11:06pm
I found a program from Microsoft (http://www.microsoft.com/downloads/details.aspx?FamilyID=94991901-bfc4-485e-bcae-c9df0accdaae&DisplayLang=en) themselves that sort of does this for you guys.

It will use an Autorun.INF and will also popup, but it will popup whatever program you tell it to in the AutoPlay dialog...I'm sure someone else who knows more about the innards of AutoPlay could make it come up without AutoPlay, and just launch the app, but I will provide you with the program provided autorun.inf, with my programs inserted instead.


Code:
[autorun]
action=Launch Portable Start Menu
icon=..\Apps\Icon1.ico
open=..\Apps\PStart.exe
label=FreeSpace
includeRuntimeComponents=True


Hope this helps.

-Josh

Title: Re: Autorun on USB drive
Post by jatan78 on Apr 29th, 2006, 7:11am
What worked for me was formatting the thumb drive and setting the partion active ( make it bootable ) which makes windows see it as a local drive instead of a removeable drive. then the standard autorun.inf works, but XP will still ask if you want to run the program or open the drive with explorer.

Title: Re: Autorun on USB drive
Post by DCFrench on Jun 11th, 2006, 12:31am
>>by formatting the thumb drive and setting the partion active ( make it bootable )

So, how do you set the partition active?  I don't see anything in the format command to do that.    

Title: Re: Autorun on USB drive
Post by d_Krypt on Jul 4th, 2006, 2:15am

on 06/11/06 at 00:31:35, DCFrench wrote:
>>by formatting the thumb drive and setting the partion active ( make it bootable )

So, how do you set the partition active?  I don't see anything in the format command to do that.    


It's more likely a partition management function.  Might be an idea to see if FDISK can do it (assuming it can access the USB drive), or possibly marking the partition as "active" by right clicking My Computer, choosing Manage and clicking on Disk Management.

Title: Re: Autorun on USB drive
Post by jatan78 on Jul 17th, 2006, 5:45pm
the disk management in Windows XP or 2000 might do it but I used Partition magic. HP used to have a program (I believe it was called makeboot) that would do it to and I have seen it done with Fdisk and some dos usb drivers( from Iomega ) so that your pc does recognize the usb device from dos, if boot with a dos floppy or the like. the Iomega way isn't very reliable though, it seems like there is alot more devices that won't work with it than devices that will work. so that is trial and error. but if you can find Makeboot, it simply formats your thumbdrive and makes it bootable. Or MKBT from www.nu2.nu will take a floppy disk image and put it on your thumb drive to make it bootable, this is alittle more in depth though.

Title: Re: Autorun on USB drive
Post by dusti on Aug 18th, 2006, 12:24pm
easiest way to set a partition active is to plug it in a linux system. linux fdisk tools are more powerfull imho... (cause I only know dos fdisk and disk maanagement tools AND the linux ones)

I don't think it's posible from within windows without special tools. (the dos in XP doesn't even has fdisk if 'm correct) The option "set as active is not available for usb-sticks.

Title: Re: Autorun on USB drive
Post by sivasankar on Sep 30th, 2006, 1:56am

on 06/11/04 at 01:04:04, Richard Page wrote:
Is it possible to create an Autorun or Autoplay that works on a USB drive or stick?

I want to be able to make my own application on a USB stick/drive run as soon as it is inserted into the PC or laptop....


Title: Re: Autorun on USB drive
Post by Matt on Nov 23rd, 2006, 12:15am
fdisk was replaced by format

Title: Re: Autorun on USB drive
Post by dPixon3 on Dec 10th, 2006, 5:37am
To sum up guys, there is no way to do what the post writter meant to, right? Still waiting for the solution and still looking for it with any success. Take care.

dPix

Title: Re: Autorun on USB drive
Post by Guest on Apr 2nd, 2007, 7:58am
Any update on this issue? It would be very useful to have a simple program that automatically runs a file on my flash drive when inserted into any computer.

Title: Re: Autorun on USB drive
Post by Dark Lord on Apr 16th, 2007, 12:11pm
u3 has that stupid thing that pops up every time you insert your drive.  first it loads a cd with its program and autoruns it, and then it loads the drive.  I found a program to delete that cd the other day because it is really annoying.  If U3 can put it on the disk, and I can take it off, shouldn't someone be able to do the same...

Title: Re: Autorun on USB drive
Post by Anke on Oct 31st, 2007, 11:19am
I've tried the DeskMount tool mentioned before... seems to do exactly what I needed. No more annoying popups! Thanks!

Title: Re: Autorun on USB drive
Post by Art Straub on Nov 19th, 2007, 12:07pm
???  I'm going nuts over this issue.  I have a couple of USB drives that I use to share data between home (Windows XP MCE) and office (Windows XP Pro), both equipped with Autorun.inf files.  They execute as soon as I plug them in in the office but I can't get them to behave the same way at home!

BTW, getting back to the beginning.  For your original project to work you will need a PowerPoint player that can be installed entirely on the USB drive (no registry entries, etc.).

Title: Re: Autorun on USB drive
Post by javi on Mar 3rd, 2008, 2:16pm
I will like to re-open this subject since newer and different usb drives are emerging from different companies. Can someone upload a working USB autostart.inf file for everyone to use. I am personally trying to open a projector file(.exe) that plays fullscreen when the usb drive is pluged. so far I have this and it doesn't overpass the choose what to do with popup window from xp.

[autorun]
OPEN=broadvox.exe
shellexecute=broadvox.exe
shell\Auto=&Autoplay
shell\Auto\command=broadvox.exe
ICON=broadvox.ico
action=Run broadvox program
label=My Broadvox
shell=Auto

thanks,
jav

Title: Re: Autorun on USB key pen drive
Post by AAALtd on Apr 22nd, 2010, 12:15pm
Hi  ???
I've been reading the post and getting kinda confused. I have no technical background so please bear with me.

I got a 20kb USB stick that won't autorun on Vista & Win7. A popup will appear asking if I want to open the folder to view files. When I open it I see 2 files. Autorun and an IE icon that says click here and when I do, it takes me to a website link. When I open the autorun file, i see this
[autorun]
shellexecute=w w w . websitelink

The problem is this: I want it to autorun without being asked if I want to view the files or not. The USB has only 20kb capacity so I can only store a small file and the website link. It this possible at all??? It has to autorun on XP, VISTA & WIN7----HELP Please!!!

Title: Re: Autorun on USB key pen drive
Post by babe on May 17th, 2010, 2:58am
be aware of that the autorun feature has been turned off in Windows 7 for USB flash drives. It will only work in Windows Vista or earlier.

For the rest I'm using www.cdfrontend.com to create the autorun, you can show either a presentation (big or small) or a menu (to run files or powerpoint or PDF etc etc, and also place link to web sites

Title: Re: Autorun product brochure on CD or flash drive
Post by Jeff Perry on Jan 10th, 2011, 3:07am
Curious if this product can create the type of digital brochure I want? I’m looking to create a CD and/or flash drive type of brochure with some of the following capabilities…

Auto start to a homepage that mimics the look and feel of a website. From there a customer can:
1. Click on one of multiple different product icons that will open and describe the various products. (These product brochures/descriptions already exist in a useable/professional pdf file and requires no internet service.)
2. Click on icons that will directly link the customer back to our company website, internet department, parts department along with our body shop and service department for appointment purpose’s.  

I was originally thinking I’d need to have a website developer create such a product but after reading up on the products offered thru Visual Vision… I’m rethinking things. I have a few other thoughts to do with this digital brochure but these listed items are the meat & potato’s.  

I’d greatly appreciate your time and suggestion’s!  


Title: Re: Autorun on USB key pen drive
Post by Support Staff on Jan 10th, 2011, 3:09am
As you correctly guessed, CDFrontEnd will perfectly fit your purpose. You can do everything you listed, in a easy way. There is no "programming", there is a quite good manual (a PDF manual and a onlne manual), and we are always here for help (you can also email us at the support email)



Visual Vision **User's** Forum (normal) » Powered YaBB 1 Gold - SP1!
YaBB © 2000-2001, XNull. All Rights Reserved.
This forum © 2001-2008 VisualVision and VisualVision Users