Click to See Complete Forum and Search --> : Autorun on USB
RoyceF
November 30th, 2006, 06:18 PM
Hi,
I need to make an application autorun from a USB device. Can that be done without being dependent on another application on the host system?
I would appreciate any help,
Royce
MrViggy
November 30th, 2006, 06:22 PM
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_works.asp
Viggy
RoyceF
November 30th, 2006, 06:29 PM
Thanks MrViggy, but to quote that article:
Autorun.inf files are not supported under Microsoft Windows XP for drives that return DRIVE_REMOVABLE from GetDriveType.
And a USB drive is a removable media type. I am looking for some way around this restriction. Does anyone know of a way to do this?
Thanks,
Royce
Ejaz
November 30th, 2006, 06:33 PM
[ Moved Thread ]
@ OP: Please do not cross post.
Thanx.
PeejAvery
November 30th, 2006, 06:37 PM
I have researched this for a long time because I have attempted to do the same.
There are only 2 ways of accomplishing this...
1. Buy a flash drive that has autorun.inf support. They are more expensive. Edit: You also need XP SP2 for this to work.
2. Flash the firmware of the USB drive to make it believe that it is a CD. If you do not have the previous firmware, then do not attempt this.
In short, I have given up trying.
MrViggy
November 30th, 2006, 06:44 PM
Sounds like Peej has the answer. If the OS doesn't support it, then you'll have to find some way around it. There's no easy answer, since this is an OS feature (IIRC, no flavor of UNIX supports this feature).
Viggy
PeejAvery
November 30th, 2006, 06:45 PM
One thing I should have mentioned before, even if you have a USB flash drive that supports autoplay, you have to have XP SP2 for it to work.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.