找回密码
 加入
搜索
查看: 1934|回复: 7

[系统综合] 请问有什么方法让au3禁止计算机运行compmgmt.msc

  [复制链接]
发表于 2011-11-25 00:06:51 | 显示全部楼层 |阅读模式
请问有什么方法让au3禁止计算机运行计算机管理compmgmt.msc
发表于 2011-11-25 03:01:40 | 显示全部楼层
#include<Process.au3>

while 1
if processExists(mmc.exe) then
local $mmcstop=processExists(mmc.exe)
 ProcessClose($mmcstop)
endif
wend 
发表于 2011-11-25 06:40:49 | 显示全部楼层
active directory里可能有,翻翻看
 楼主| 发表于 2011-11-25 07:55:29 | 显示全部楼层
回复 2# einiter
谢谢已经成功运用了!
发表于 2011-11-25 13:02:30 | 显示全部楼层
不客气!!
发表于 2011-11-25 15:31:18 | 显示全部楼层
这样所有的msc都运行不了了。。。。。。
发表于 2011-11-25 20:39:45 | 显示全部楼层
While 1
        WinWait("计算机管理")
        If WinExists("计算机管理") Then
                WinClose("计算机管理")
                TrayTip("提示","你不能如此操作",3,4)
        EndIf
WEnd
也可以这样!!!
发表于 2011-11-26 11:11:37 | 显示全部楼层
给策略有相关设置  完全不用au3
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-20 22:53 , Processed in 0.172191 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表