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.
Is there any way to make a particular script run automatically when you insert a disk |
(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) |
|
|


