RSS
热门关键字:  1111  快捷键大全  重新注册DLL  tskill  pcyoo
当前位置 :| 主页>软件应用>杀毒软件>

全盘禁止运行指定程序(*.exe) 批处理

来源: 作者: 时间:2008-04-11 点击:

务必点击“引用”后再复制:::::内命令,保存为.bat文件。可远程调用看效果。

注册表中禁止运行:

::::::::::::::::::::::::::::::::::::::

@echo off

set route=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options

:fix

for /f %%i in (list.ini) do reg add "%route%\%%i" /v Debugger /t REG_SZ /d 全盘禁止运行%%i /f >nul 2>nul

cls

::::::::::::::::::::::::::::::::::::::

注册表中解除禁止运行:

::::::::::::::::::::::::::::::::::::::

@echo off

set route=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options

:unfix

for /f %%i in (list.ini) do reg delete "%route%\%%i" /f >nul 2>nul

cls

::::::::::::::::::::::::::::::::::::::

.bat文件同目录内建一"list.ini"文件,内容为要禁止的文件名,如:

a.exe

baidu.exe

bd.exe

display3d.exe

atisrv.exe

ati32srv.exe

.exe

1.exe

2.exe

logo.exe

logo_1.exe

......(可自行添加)

最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
AD
栏目列表