怎样禁止某个软件运行,比如QQ

不想让人家用我电脑里的QQ或者游戏,可以做个VBS脚本实现。 (以下代码可以在 http://work.newhua.com/cfan/200608/antip.rar 下载)   dim qobj,pipe,good do good="." set qo...

不想让人家用我电脑里的QQ或者游戏,可以做个VBS脚本实现。
(以下代码可以在http://work.newhua.com/cfan/200608/antip.rar下载)
 
dim qobj,pipe,good
do
good="."
set qobj=getobject("winmgmts:\\"&good&"\root\cimv2")
set pipe=qobj.execquery("select * from win32_process where name='QQ.exe'")
for each i in pipe
i.terminate()
next
wscript.sleep 1
loop

打开“记事本”,将上面代码输入,保存为VBS文件。代码中的“QQ。exe”,也可以改成需要禁止的任意进程名称,双击运行后,就可以禁止程序了。如想正常运行程序,按“ctrl+Aft+Del”打开任务管理器,将“wscript.exe”结束即可恢复正常。

COMMENTS

名称

传销,1,代码,1,多说,1,海内,1,生活,29,汤圆,1,网络,8,相册,3,学习,3,音乐,1,银行,1,游戏,1,转载,27,blogger,2,Bluehost,1,php,1,swift,1,wordpress,3,
ltr
item
平凡梦想: 怎样禁止某个软件运行,比如QQ
怎样禁止某个软件运行,比如QQ
平凡梦想
http://blog.rechar.net/2006/06/qq.html
http://blog.rechar.net/
http://blog.rechar.net/
http://blog.rechar.net/2006/06/qq.html
true
6547323685510588419
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content