- 积分
- 28
- 最后登录
- 2023-12-25
- 精华
- 0
- 阅读权限
- 10
- 主题
- 2
- UID
- 683887
- 帖子
- 71
- PB币
- 8
- 威望
- 0
- 贡献
- 0
- 技术
- 0
- 活跃
- 493
- UID
- 683887
- 帖子
- 71
- PB币
- 8
- 贡献
- 0
- 技术
- 0
- 活跃
- 493
|
56F
发表于 2015-10-3 09:29:37
IP属地江苏
|只看该作者
受了楼主的启发,在XP上做了个批处理,效果不错,需要保留什么程序,可以自己添加。
@echo off
echo System>1w.txt
echo smss.exe>>1w.txt
echo csrss.exe>>1w.txt
echo winlogon.exe>>1w.txt
echo services.exe>>1w.txt
echo lsass.exe>>1w.txt
echo svchost.exe>>1w.txt
echo alg.exe>>1w.txt
echo dllhost.exe>>1w.txt
echo ctfmon.exe>>1w.txt
echo conime.exe>>1w.txt
echo wmiprvse.exe>>1w.txt
echo dllhost.exe>>1w.txt
echo wuauclt.exe>>1w.txt
echo notepad.exe>>1w.txt
echo tasklist.exe>>1w.txt
echo cmd.exe>>1w.txt
for /f "tokens=1 delims=," %%i in ('tasklist /nh /FO CSV') do (
find /i %%i "1w.txt">nul
if errorlevel 1 taskkill /f /im %%i >nul
)
start explorer.exe
rundll32 powrprof.dll,SetSuspendState |
|