在Win7 / 8上从CD或USB自动运行程序 [英] Autorunning program from CD or USB on Win7/8

查看:118
本文介绍了在Win7 / 8上从CD或USB自动运行程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一家IT商店工作,看到一些计算机带有相当讨厌的病毒。我们正在工作一个自动运行脚本,该脚本将在插入USB或CD(最好是USB)时运行恶意软件清除工具(RKill)。我们希望在插入USB或CD后立即运行该工具而不会弹出UAC,理想情况下还是这样。我们的第二个选择是即使在已经被FBI病毒锁定的PC上,也可以打开自动运行选项。我们有autorun.inf,一个调用.exe的.bat和要在USB或CD根目录中运行的工具的.exe。我们已尝试在此处找到的解决方案,但这没有用



autorun.inf和rkill.bat的代码如下。

autorun.inf:

  [autorun] 
open = rkill.bat
autorun.bat文件显示为:
start rkill.exe

rkill.bat:

 启动rkill.exe 

我了解可能没有可靠的方法,

解决方案

使用此命令:

  [自动运行] 
OPEN = rkill.bat
SHELLEXECUTE = rkill.bat
ACTION =运行rkill.bat
ICON = rkill.exe ,0

为我工作!
,我也经营一家电脑维修店,所以给您一个提示: 使用启动盘



任何这些工作奇迹:



$ a> b

Comodo救援光盘


I work for an IT shop that sees some computers come in with rather nasty viruses. We are working an autorun script that will run a malware killing tool (RKill) when we insert a USB or CD (preferably USB.) We want to run the tool as soon as the USB or CD is inserted without having UAC popup, ideally anyway. Our second choice is to have it open the Autorun options, even on PCs that have been locked down a la FBI virus. We have autorun.inf, a .bat that calls a .exe, and the .exe for the tool we want to run in the root of the USB or CD. We have tried the solution found here, but that didn't work.

The code for autorun.inf and rkill.bat are below.
autorun.inf:

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

rkill.bat:

start rkill.exe

I understand that there may not be a reliable way to do this, but any help would be greatly appreciated.

解决方案

use this:

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

works for me! also, I run a pc repair shop also, so, a tip for you: use a boot disk

any of these work wonders:

Windows PE (with custom script)

Comodo Rescue Disc

这篇关于在Win7 / 8上从CD或USB自动运行程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆