Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Is there any way to make a particular script run automatically when you insert a disk

Is there any way to make a particular script run automatically when you insert a disk on key into your computer? Sorry for the bad English and thanks for the helpers in advance.
Generally, not anymore (if we're talking about windows)
(Jan 31, 2021 04:40 PM)rbldz Wrote:  Generally, not anymore (if we're talking about windows)

Yeah its been locked down quite a bit from an autorun perspective, however, you could install a listener on the device that will react to future disks being inserted.

I've had to build this for a server before, once the service is installed, it downloads a dictionary of instructions based on disk info. This was used to deploy software automatically (if the guys insert the disk with a setup.exe in root that matches the hash, we xcopy that to c:/temp and run a command line silent install and return the exit code in a popup so the tech guys can move on to the next machine)


Possibly Related Threads...
Thread / Author Replies Views Last Post
by aerohackerSep 15, 2023 12:15 PM 4 158 Sep 15, 2023 12:15 PM
Last Post: Dreamviossh
by goodmanamcNov 11, 2021 02:58 PM 6 216 Nov 11, 2021 02:58 PM
Last Post: SinceBestThen
by deankertMay 3, 2019 11:17 AM 8 154 May 3, 2019 11:17 AM
Last Post: deankert