Questions tagged [autorun]

The system used to provide automatic launch options when removable media is loaded on Windows computers

306 questions
41
votes
18 answers

Run script with rc.local: script works, but not at boot

I have a node.js script which need to start at boot and run under the www-data user. During development I always started the script with: su www-data -c 'node /var/www/php-jobs/manager.js I saw exactly what happened, the manager.js works now great.…
Jurian Sluiman
  • 13,498
  • 3
  • 67
  • 99
26
votes
5 answers

How do I automatically run an application on USB attach or CD insert on Mac OS X?

Is there any way to automatically launch an application on USB attach or CD insert on Mac OS X? it's easy on Windows, but I found that AutoRun.Inf does not work on the Mac at all.
Yigang Wu
  • 3,596
  • 5
  • 40
  • 54
24
votes
5 answers

Programmatically run at startup on Mac OS X?

How do I programmatically set an application bundle on Mac OS X to run when the user logs in? Basically, the equivalent of the HKCU\Software\Microsoft\Windows\CurrentVersion\Run registry key in Windows.
Jake Petroules
  • 23,472
  • 35
  • 144
  • 225
18
votes
6 answers

How to autostart a program from floppy disk on a Commodore c64

Good news, my c64 ist still running after lots of years spending time on my attic.. But what I always wanted to know is: How can I automatically load & run a program from a floppy disk that is already inserted when I switch on the c64? Some…
17
votes
5 answers

Automatically launch app on USB (through autorun?)

Is it possible to automatically launch an application from a USB flash drive (bypassing windows prompt asking user what he wants to do)? on windows XP or vista. I looked into "autorun.inf" and "open" entry seems to work only for CD drives for…
Sumrak
  • 3,740
  • 7
  • 31
  • 37
13
votes
4 answers

Detecting if a program is already installed with NSIS

I'm using NSIS to create an installer for a program, what is the best way to detect if this program is already installed? Also, since I'm running the installer from the autorun.inf, can I immediately quit the installer if it locates an installed…
Abdullah Jibaly
  • 53,220
  • 42
  • 124
  • 197
13
votes
3 answers

auto run a bat script in windows 7 at login

I have recently acquired a windows 7 laptop from my late grandmother. I have been using it for work and other things. I decided to create a VM using VirtualBox And now I want to create a user on the (Windows 7 Host) machine so that when I log into…
Cnorwood7641
  • 336
  • 1
  • 5
  • 17
10
votes
8 answers

How can I run PHP script in certain interval (e.g. once a day)?

I have a php script that reads one file through http(the file is on other domain). I would like to read this file only once or twice a day, instead of connecting to it every time the website is refreshed. Is there any other way than doing it with…
Adriana
  • 8,464
  • 13
  • 36
  • 37
8
votes
1 answer

how to disable jenkins autorun in windows

I have installed Jenkins on my PC with Windows 10. And every time when I run my PC - Jenkins runs automatically too. I couldn't find any config file in Jenkins folder when i can disable automatically run. Thanks.
Kukhar Roman
  • 93
  • 1
  • 4
7
votes
5 answers

Autorun.inf cannot deal with the sub-folders with space in their folder name?

I am trying to use an autorun.inf to run my executable file under a sub-folder with space in its folder name. Like this: H:\ autorun.inf FOLDER NAME 1 file.exe FOLDER NAME 2 some other stuffs If there's no space in the…
redjackwong
  • 1,568
  • 2
  • 12
  • 14
7
votes
3 answers

Autorun USB in Windows 10?

How could I get an autorun USB drive in Windows 7/8/10. autorun.inf doesn't seem to work anymore. Also could this work without any rubber duckie USB drives? Maybe trick windows into thinking it is a DVD or CD to autorun?
NotCrunchyTaco
  • 81
  • 1
  • 1
  • 3
7
votes
2 answers

How to decrypt a javascript file

I just discovered a virus in my computer that uses a .js file to attack. I opened the file in notepad to check out the code, but it is completely encrypted. I can see some data that makes sense (such as bhynivmao.length!=4), but the majority of the…
Flipsyde
  • 806
  • 1
  • 7
  • 6
6
votes
2 answers

Autorun.inf on a usb can you get it to run a pdf?

I've done some research all over the net, I guess I am just looking for conformation. Due to how Microsoft has put security on autorun in vista and above. Autorun from a usb no longer works. Correct? It seems like it will still bring up the…
Dirly
  • 245
  • 1
  • 4
  • 11
6
votes
8 answers

Best solution for making an Autorun application?

For my work I need to create a Autorun application for a CD for our client. The problem is all I'm a C# programmer by trade and .NET does not make for the best autoruns since not all computers will have .NET installed on them. What is a good…
RoboDev
  • 4,003
  • 11
  • 42
  • 51
6
votes
1 answer

USB autoruns on mac

I received a direct marketing USB stick on the mail the other day. As soon as I inserted it into my test-Mac - it opened Safari and wrote in the address of a website it wanted to visit. It had the exact same behaviour on my test PC. Now, I was under…
user977101
  • 161
  • 2
  • 12
1
2 3
20 21