Zayn malik
Zayn malik

Reputation: 107

Trigger setup.exe when I mount an ISO

Whenever I mount an ISO, I want the setup.exe to be triggered automatically. There is a autorun.inf file to handle this but still nothing works.

Contents of autorun.inf:

[autorun]
open=setup.exe

What am I missing here? What registry entry should I change?

Upvotes: 1

Views: 4405

Answers (1)

Stein Åsmul
Stein Åsmul

Reputation: 42136

ISO: Have you confirmed that this is even possible from a mounted image? (Seems not to be). In other words, did you try to put your autorun.inf and friends on a DVD or a USB stick and then testing whether auto-run actually works in that configuration you are using? Please read the rest below before trying this.

OS: What OS is this? I believe the handling is quite different in different OSs (disabled by default in Windows 7). Does auto-run / auto-play work for other drives (test with a vendor DVD that supports auto-play)? If you are on Windows 7, you can find AutoRun in the control panel (search for auto in top search box) - with settings for various devices. Check the settings and change as appropriate. You can also set policies on some OS editions: Wayback engine recovered link (method 2). Essentially you launch gpedit.msc (which is not available on some OS editions, such as home edition).

enter image description here

Security Software: What security software are you running? Many security suites disable all auto-run and auto-play features of Windows - and for good reason. This used to be a leading malware vector - which is obviously a well known issue.


Some Links:

Upvotes: 1

Related Questions