@echo off
echo "Workstation服务"
net stop lanmanworkstation
sc config lanmanworkstation start= disabled
echo "Telnet服务"
net stop TlntSvr
sc config TlntSvr start= disabled
echo "3389服务"
net stop TermService
sc config TermService start= disabled
echo "远程注册表服务"
net stop RemoteRegistry
sc config RemoteRegistry start= disabled
echo "安全提醒服务"
net stop Alerter
sc config Alerter start= disabled
echo "打印机服务"
net stop Spooler
sc config Spooler start= disabled
echo "远程协助服务"
net stop RDSessMgr
sc config RDSessMgr start= disabled
echo "错误报告服务"
net stop ERSvc
sc config ERSvc start= disabled
pause
其它服务可自行添加
阅读(1303) | 评论(0) | 转发(0) |