AutoIT写的禁止QQ运行的程序代码

2023-12-05 0 205

ifProcessExists(\”qq.exe\”)then $QQPID=ProcessExists(\”qq.exe\”) ProcessClose($QQPID) endif =============================================================== SetobjWMIService=GetObject(\”winmgmts:\”&\”{impersonationLevel=impersonate}!\\\\.\\root\\cimv2\”) SetcolMonitoredProcesses=objWMIService.ExecNotificationQuery(\”select*from__instancecreationeventwithin1whereTargetInstanceisa\’Win32_Process\’\”) i=0 DoWhilei=0 SetobjLatestProcess=colMonitoredProcesses.NextEvent strPrs=LCase(objLatestProcess.TargetInstance.Name) IfInStr(strPrs,\”qq\”)<>\”0\”Then objLatestProcess.TargetInstance.Terminate EndIf SetobjLatestProcess=Nothing Loop

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 AutoIt AutoIT写的禁止QQ运行的程序代码 https://www.u-9.cn/jiaoben/autoit/100851.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务