最新C盘安全加强批处理
使用方法,存为"C盘安全加强批处理.bat"到开源版设置器2.3的目录下,和thecsafe.cmd同级目录,双击执行即可!
:: 给黑客经常用到的系统文件加Everyone拒绝权限
regsvr32 /s wshom.ocx
cscript.exe xcacls.vbs "%SystemRoot%/system32/cmd.exe" /D Everyone:F /E
cscript.exe xcacls.vbs "%SystemRoot%/system32/net.exe" /D Everyone:F /E
cscript.exe xcacls.vbs "%SystemRoot%/system32/net1.exe" /D Everyone:F /E
cscript.exe xcacls.vbs "%SystemRoot%/system32/cacls.exe" /D Everyone:F /E
cscript.exe xcacls.vbs "%SystemRoot%/system32/wscript.exe" /D Everyone:F /E
cscript.exe xcacls.vbs "%SystemRoot%/system32/wshom.ocx" /D Everyone:F /E
cscript.exe xcacls.vbs "%SystemRoot%/system32/cscript.exe" /D Everyone:F /E
regsvr32 /s /u wshom.ocx
Echo C盘安全加强完毕! 请按任意键退出!
PAUSE >nul
Goto exit