This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes General Computing and the fly likes Problem with auto launch app through USB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Problem with auto launch app through USB" Watch "Problem with auto launch app through USB" New topic
Author

Problem with auto launch app through USB

Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

Dear All,

Am having an application in USB which should be auto launch when i have inserted the USB device in any system. I have worked with autorun.inf but this auto run is blocked by the antivirus software so can any suggest me how to make it work. Any program to do it or any third party softwares to do so..

Thanks in advance

Regards,
Sabi
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3606
    
  60

This is generally not possible.

I, for example, have completely turned autorun off on my computer, since I really don't want anybody to run a program when I insert a DVD or stick in a USB. I usually can figure out myself what to click, thanks.

There may be a group of users who actively want to have a program run automatically when they stick a USB in. However, they are probably a minority. You need to provide means for the rest of users, who do not want to allow this, to use your application in a different way.
Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

Thanks martin , But how about any third party tools which can run the application as a virtual app..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with auto launch app through USB
 
Similar Threads
Running Eclipse on the Mac
Difference between UBUNTU bootable USB drive and UBUNTU installation on USB Drive
Java Comm to USB
Locating usb drive files in Linux using shell
How program website (Java code) to use USB Tokens?