Autostart program from CD or USB to Win7 / 8

I work in an IT store that sees pretty unpleasant viruses appearing on some computers. We are working with an autorun script that will run the malware removal tool (RKill) when we insert a USB or CD (preferably USB). We want to run the tool as soon as a USB or CD is inserted without a UAC popup, anyway. Our second choice is to open Autorun options, even on PCs that have been blocked by a FBI virus. We have autorun.inf, a byte that calls .exe and .exe for the tool that we want to run in the root of the USB or CD. We tried to find the solution found here , but it did not work.

Below is the code for autorun.inf and rkill.bat. autorun.inf:

[autorun] open=rkill.bat Where the autorun.bat file reads: start rkill.exe 

rkill.bat:

 start rkill.exe 

I understand that there can be no reliable way to do this, but any help would be greatly appreciated.

+6
source share
3 answers

use this:

 [autorun] OPEN=rkill.bat SHELLEXECUTE=rkill.bat ACTION=run rkill.bat ICON=rkill.exe,0 

works for me! In addition, I also run a computer repair workshop, so the tip for you: use a boot disk

any of these miracles does:

Windows PE (with custom script)

Comodo Rescue Disc

+1
source

You can configure the autoplay popup to enable exe. I don’t know why you are using a batch file to execute a program.

autorun.inf

 [autorun] ShellExecute=rkill.exe UseAutoPlay=1 

I don't know if this works, not at home. But it does not hurt to try.

-D

0
source

Deputy Demetrius answered above:

 [autorun] Open=rkill.exe Icon=(icon file) <- OPTIONAL 
0
source

Source: https://habr.com/ru/post/955598/


All Articles