Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to know if there is any way to launch applications (portable ones) from a USB device, I have to mention that I am a normal user, and the box's administrator has blocked launching apps from a USB.

share|improve this question

migrated from stackoverflow.com Mar 6 '11 at 22:48

This question came from our site for professional and enthusiast programmers.

    
You mean launch the app automatically when the drive is plugged into the PC? –  Phil Feb 22 '11 at 18:08
    
Why do you need to do this? I hate to be picky, but it doesn't seem like there are a ton of legitmate uses for this, especially since the administrator has blocked it. I could be wrong, though... –  jwir3 Feb 22 '11 at 20:17
    
ok ..it's against the rule in my enterprise....but I really need this trick... –  fsidiosidi Feb 23 '11 at 16:31
1  
Make sure your résumé is up to date. –  Robert Harvey Mar 6 '11 at 22:49

2 Answers 2

Hey. I think many usb/CD's have an Autorun.inf file, from where they can do some commands. Example of one from my usb

[autorun] 
 label=MyUSB
 icon=autorun.ico

I think there is a command "open = application name here.exe", which can launch applications, that are on the USB, but I'm not sure if you have to have admin rights. It also depends on XP and win7 users.

I hope this helped :)

share|improve this answer

If your administrator blocked launching apps from a USB drive, then good for him/her. I have dealt with viruses that are spread via removable drive and they wasted a lot of time and money to fix. Even if you could get around your administrator's security restrictions, don't. Just copy your app to a local disk and run it that way.

Remember, your administrator is there to help avoid problems. When you try to work around the administrator, you will likely introduce problems.

share|improve this answer
    
ok ..it's against the rule in my enterprise....but I really need this trick... –  fsidiosidi Feb 23 '11 at 16:31
    
Right now it sounds like what you're doing is malicious. Malicious people should not have this kind of info. –  Phil Feb 23 '11 at 17:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.