一段批处理

    [多云 April 11, 2008 00:32 | by ]
作者:小金
写了一段结合sc和net stop来自动配置系统中不必要服务的批处理,以下内容保存为sc_config.bat执行。个别用户必须针对自己的情况进行增删修改。推荐有一定了解的用户或在别人指导下使用
作用:将系统默认开启的一些非必要服务设置为手动或彻底禁止,从而加快系统运行速度和避免一些安全问题。
===============================================
@net stop Alerter
@sc.exe config Alerter start= disabled
@net stop alg
@sc.exe config alg start= disabled
@net stop bits
@sc.exe config bits start= demand
@net stop wuauserv
@sc.exe config wuauserv start= demand
@net stop clipsrv
@sc.exe config clipsrv start= disabled
@net stop browser
@sc.exe config browser start= disabled
@net stop ccosm
@sc.exe config ccosm start= disabled
@net stop cyrptsvc
@sc.exe config cyrptsvc start= demand
@net stop trkwks
@sc.exe config trkwks start= demand
@net stop msdtc
@sc.exe config msdtc start= demand
@net stop ersvc
@sc.exe config ersvc start= disabled
@net stop FastUserSwitchingCompatibility
@sc.exe config FastUserSwitchingCompatibility start= demand
@net stop helpsvc
@sc.exe config helpsvc start= demand
@net stop iisadmin
@sc.exe config iisadmin start= demand
@net stop imapiservice
@sc.exe config imapiservice start= disabled
@net stop cisvc
@sc.exe config cisvc start= demand
@net stop policyagent
@sc.exe config policyagent start= demand
@net stop messenger
@sc.exe config messenger start= disabled
@net stop nvsvc
@sc.exe config nvsvc start= disabled
@net stop ose
@sc.exe config ose start= disabled
@net stop spooler
@sc.exe config spooler start= disabled
@net stop rdsessmgr
@sc.exe config rdsessmgr start= disabled
@net stop RemoteRegistry
@sc.exe config RemoteRegistry start= disabled
@net stop seclogon
@sc.exe config seclogon start= demand
@net stop wscsvc
@sc.exe config wscsvc start= disabled
@net stop lanmanserver
@sc.exe config lanmanserver start= disabled
@net stop srservice
@sc.exe config srservice start= disabled
@net stop Schedule
@sc.exe config Schedule start= disabled
@net stop lmhosts
@sc.exe config lmhosts start= demand
@net stop WebClient
@sc.exe config WebClient start= demand
@net stop shardaccess
@sc.exe config shardaccess start= disabled
@echo All Services have been configed.
@echo Batch file written by xiaojin (lk007@163.com).
@pause


Highslide JS


Download ( 639 downloads)
Tools | Comments(0) | Trackbacks(0) | Reads(5547)
Add a comment
Emots
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
Enable HTML
Enable UBB
Enable Emots
Hidden
Nickname   Password   Optional
Site URI   Email   [Register]
               

Security code Case insensitive