科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网安全频道Windows Vista本地服务恢复

Windows Vista本地服务恢复

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

更改服务配置之前,请关闭所有正在运行的应用程序,以增强稳定性。这些设置是针对个人用户,且没有特殊需要的用户设计的。如果你的电脑的一些特别的设备需要某一服务,请进入服务自行设置。

作者:zdnet安全频道 来源:论坛整理 2008年8月26日

关键字: Windows Vista Vista

  • 评论
  • 分享微博
  • 分享邮件

  1.更改服务配置之前,请关闭所有正在运行的应用程序,以增强稳定性。

  2.这些设置是针对个人用户,且没有特殊需要的用户设计的。

  3.如果你的电脑的一些特别的设备需要某一服务,请进入服务自行设置。

  4.支持XP\Vista,如有错误请记录后及时反馈.谢谢..

  可对系统进行如下配置:

  1 安全配置(推荐);

  2 网络共享配置(局域网用户);

  3 游戏配置;

  4 发烧型配置;

  5 恢复WINDOWS默认配置;

  截图“图一”如下:

  

  

  截图“图二”如下:

  源代码如下:

  @echo off

  :start

  cls

  color F0

  title 服务优化

  echo.

  echo

  echo ---------------------------------------------------------

  echo.

  echo

  echo

  echo.

  echo 1 安全配置(推荐);

  echo 2 网络共享配置(局域网用户);

  echo 3 游戏配置;

  echo 4 发烧型配置;

  echo 5 恢复WINDOWS默认配置;

  echo Q 退出

  echo.

  echo ---------------------------------------------------------

  echo

  echo.

  set /p choice= 请作出选择:

  if /i "%choice%"=="1" goto safe

  if /i "%choice%"=="2" goto work

  if /i "%choice%"=="3" goto game

  if /i "%choice%"=="4" goto hot

  if /i "%choice%"=="5" goto restore

  if /i "%choice%"=="Q" goto end

  goto start

  :safe

  cls

  echo.

  echo.

  echo 正在配置安全型配置......

  sc config Alerter start= disabled>nul

  sc config ALG start= demand>nul

  sc config AppMgmt start= demand>nul

  sc config wuauserv start= disabled>nul

  sc config BITS start= disabled>nul

  sc config ClipSrv start= disabled>nul

  sc config EventSystem start= demand>nul

  sc config COMSysApp start= demand>nul

  sc config Browser start= disabled>nul

  sc config CryptSvc start= auto>nul

  sc config DcomLaunch start= auto>nul

  sc config Dhcp start= auto>nul

  sc config TrkWks start= demand>nul

  sc config MSDTC start= demand>nul

  sc config Dnscache start= auto>nul

  sc config ERSvc start= disabled>nul

  sc config Eventlog start= auto>nul

  sc config FastUserSwitchingCompatibility start= demand>nul

  sc config FAX start= disabled>nul

  sc config helpsvc start= disabled>nul

  sc config HidServ start= disabled>nul

  sc config HTTPFilter start= demand>nul

  sc config ImapiService start= demand>nul

  sc config CiSvc start= disabled>nul

  sc config SharedAccess start= auto>nul

  sc config PolicyAgent start= demand>nul

  sc config dmserver start= auto>nul

  sc config dmadmin start= demand>nul

  sc config Messenger start= disabled>nul

  sc config SwPrv start= demand>nul

  sc config Netlogon start= disabled>nul

  sc config mnmsrvc start= disabled>nul

  sc config Netman start= demand>nul

  sc config NetDDE start= disabled>nul

  sc config NetDEEdsdm start= disabled>nul

  sc config Nla start= demand>nul

  sc config NtLmSsp start= demand>nul

  sc config SysmonLog start= disabled>nul

  sc config PlugPlay start= auto>nul

  sc config WmdmPmSN start= disabled>nul

  sc config Spooler start= demand>nul

  sc config ProtectedStorage start= auto>nul

  sc config RSVP start= disabled>nul

  sc config RasAuto start= demand>nul

  sc config RasMan start= demand>nul

  sc config RDSessMgr start= disabled>nul

  sc config RpcSs start= auto>nul

  sc config RpcLocator start= demand>nul

  sc config RemoteRegistry start=disabled>nul

  sc config NtmsSvc start= demand>nul

  sc config RemoteAccess start= disabled>nul

  sc config seclogon start= demand>nul

  sc config SamSs start= auto>nul

  sc config lanmanserver start= disabled>nul

  sc config ShellHWDetection start= auto>nul

  sc config SCardSvr start= disabled>nul

  sc config SCardDrv start= disabled>nul

  sc config SSDPSRV start= disabled>nul

  sc config stisvc start= demand>nul

  sc config SENS start= auto>nul

  sc config srservice start= disabled>nul

  sc config Schedule start= disabled>nul

  sc config LmHosts start= disabled>nul

  sc config TapiSrv start= demand>nul

  sc config TlntSvr start= disabled>nul

  sc config TermService start= demand>nul

  sc config Themes start= auto>nul

  sc config UPS start= disabled>nul

  sc config upnphost start= demand>nul

  sc config uploadmgr start= disabled>nul

  sc config VSS start= demand>nul

  sc config WebClient start= disabled>nul

  sc config AudioSrv start= auto>nul

  sc config stisvc start= demand>nul

  sc config MSIServer start= demand>nul

  sc config winmgmt start=auto>nul

  sc config Wmi start= demand>nul

  sc config W32Time start=disabled>nul

  sc config WZCSVC start= disabled>nul

  sc config WudfSvc start= demand>nul

  sc config WmiApSrv start= disabled>nul

  sc config wscsvc start= disabled>nul

  sc config lanmanworkstation start= auto>nul

  sc config VMAuthdService start= demand>nul

  sc config VMnetDHCP start= demand>nul

  sc config "VMware NATService" start= demand>nul

  sc config "ATI Smart" start= auto>nul

  sc config "Ati HotKey Poller" start= disabled>nul

  sc config InteractiveLogon start= disabled>nul

  sc config "Machine Debug Manager" start= disabled>nul

  sc config "Norton Ghost" start= demand>nul

  sc config "Norton Unerase Protection" start= disabled>nul

  sc config "NVIDIA Driver Helper Service" start= disabled>nul

  sc config "WMDM PMSP Service" start= disabled>nul

  echo.

  echo 服务优化完成,建议重启电脑让这些设置生效!

  echo

  echo

  echo

  echo.

  echo 任意键返回......

  pause>nul

  goto start

  :work

  cls

  echo.

  echo 正在配置网络共享型配置......vista禁军教头

  sc config Alerter start= disabled>nul

  sc config ALG start= auto>nul

  sc config AppMgmt start= demand>nul

  sc config wuauserv start= disabled>nul

  sc config BITS start= disabled>nul

  sc config ClipSrv start= disabled>nul

  sc config EventSystem start= demand>nul

  sc config COMSysApp start= demand>nul

  sc config Browser start= auto>nul

  sc config CryptSvc start= auto>nul

  sc config DcomLaunch start= auto>nul

  sc config Dhcp start= disabled>nul

  sc config TrkWks start= demand>nul

  sc config MSDTC start= demand>nul

  sc config Dnscache start= auto>nul

  sc config ERSvc start= disabled>nul

  sc config Eventlog start= auto>nul

  sc config FastUserSwitchingCompatibility start= demand>nul

  sc config FAX start= disabled>nul

  sc config helpsvc start= disabled>nul

  sc config HidServ start= disabled>nul

  sc config HTTPFilter start= demand>nul

  sc config ImapiService start= demand>nul

  sc config CiSvc start= disabled>nul

  sc config SharedAccess start= auto>nul

  sc config PolicyAgent start= disabled>nul

  sc config dmserver start= auto>nul

  sc config dmadmin start= demand>nul

  sc config Messenger start= disabled>nul

  sc config SwPrv start= demand>nul

  sc config Netlogon start= disabled>nul

  sc config mnmsrvc start= disabled>nul

  sc config Netman start= auto>nul

  sc config NetDDE start= disabled>nul

  sc config NetDEEdsdm start= disabled>nul

  sc config Nla start= auto>nul

  sc config NtLmSsp start= demand>nul

  sc config SysmonLog start= disabled>nul

  sc config PlugPlay start= auto>nul

  sc config WmdmPmSN start= disabled>nul

  sc config Spooler start= demand>nul

  sc config ProtectedStorage start= auto>nul

  sc config RSVP start= disabled>nul

  sc config RasAuto start= auto>nul

  sc config RasMan start= auto>nul

  sc config RDSessMgr start= disabled>nul

  sc config RpcSs start= auto>nul

  sc config RpcLocator start= demand>nul

  sc config RemoteRegistry start=disabled>nul

  sc config NtmsSvc start= demand>nul

  sc config RemoteAccess start= disabled>nul

  sc config seclogon start= disabled>nul

  sc config SamSs start= auto>nul

  sc config lanmanserver start= auto>nul

  sc config ShessHWDetection start= auto>nul

  sc config SCardSvr start= disabled>nul

  sc config SCardDrv start= disabled>nul

  sc config SSDPSRV start= disabled>nul

  sc config stisvc start= demand>nul

  sc config SENS start= auto>nul

  sc config srservice start= disabled>nul

  sc config Schedule start= disabled>nul

  sc config LmHosts start= disabled>nul

  sc config TapiSrv start= auto>nul

  sc config TlntSvr start= disabled>nul

  sc config TermService start= demand>nul

  sc config Themes start= auto>nul

  sc config UPS start= disabled>nul

  sc config upnphost start= demand>nul

  sc config uploadmgr start= disabled>nul

  sc config VSS start= demand>nul

  sc config WebClient start= disabled>nul

  sc config AudioSrv start= auto>nul

  sc config stisvc start= demand>nul

  sc config MSIServer start= demand>nul

  sc config winmgmt start=auto>nul

  sc config Wmi start= demand>nul

  sc config W32Time start=disabled>nul

  sc config WZCSVC start= disabled>nul

  sc config WudfSvc start= demand>nul

  sc config WmiApSrv start= disabled>nul

  sc config wscsvc start= disabled>nul

  sc config lanmanworkstation start= auto>nul

  sc config VMAuthdService start= demand>nul

  sc config VMnetDHCP start= demand>nul

  sc config "VMware NAT Service" start= demand>nul

  sc config "ATI Smart" start= auto>nul

  sc config "Ati HotKey Poller" start= disabled>nul

  sc config InteractiveLogon start= disabled>nul

  sc config "Machine Debug Manager" start= disabled>nul

  sc config "Norton Ghost" start= demand>nul

  sc config "Norton Unerase Protection" start= disabled>nul

  sc config "NVIDIA Driver Helper Service" start= disabled>nul

  sc config "WMDM PMSP Service" start= disabled>nul

  echo.

  echo 服务优化完成,建议重启电脑让这些设置生效!

  echo

  echo

  echo

  echo.

  echo 任意键返回......

  pause>nul

  goto start

  :game

  cls

  echo.

  echo 正在配置游戏级配置......

  sc config Alerter start= disabled>nul

  sc config ALG start= disabled>nul

  sc config AppMgmt start= demand>nul

  sc config wuauserv start= disabled>nul

  sc config BITS start= disabled>nul

  sc config ClipSrv start=disabled>nul

  sc config EventSystem start= disabled>nul

  sc config COMSysApp start= disabled>nul

  sc config Browser start= disabled>nul

  sc config CryptSvc start= disabled>nul

  sc config DcomLaunch start= auto>nul

  sc config Dhcp start= auto>nul

  sc config TrkWks start= disabled>nul

  sc config MSDTC start= disabled>nul

  sc config Dnscache start= disabled>nul

  sc config ERSvc start= disabled>nul

  sc config Eventlog start= auto>nul

  sc config FastUserSwitchingCompatibility start= disabled>nul

  sc config FAX start= disabled>nul

  sc config helpsvc start= disabled>nul

  sc config HidServ start= disabled>nul

  sc config HTTPFilter start= demand>nul

  sc config ImapiService start= disabled>nul

  sc config CiSvc start= disabled>nul

  sc config SharedAccess start= disabled>nul

  sc config PolicyAgent start= disabled>nul

  sc config dmserver start= auto>nul

  sc config dmadmin start= disabled>nul

  sc config Messenger start= disabled>nul

  sc config SwPrv start= disabled>nul

  sc config Netlogon start= disabled>nul

  sc config mnmsrvc start= disabled>nul

  sc config Netman start= demand>nul

  sc config NetDDE start= disabled>nul

  sc config NetDEEdsdm start= disabled>nul

  sc config Nla start= disabled>nul

  sc config NtLmSsp start= demand>nul

  sc config SysmonLog start= disabled>nul

  sc config PlugPlay start= auto>nul

  sc config WmdmPmSN start= disabled>nul

  sc config Spooler start= disabled>nul

  sc config ProtectedStorage start= disabled>nul

  sc config RSVP start= disabled>nul

  sc config RasAuto start= demand>nul

  sc config RasMan start= demand>nul

  sc config RDSessMgr start= disabled>nul

  sc config RpcSs start= auto>nul

  sc config RpcLocator start= demand>nul

  sc config RemoteRegistry start=disabled>nul

  sc config NtmsSvc start= disabled>nul

  sc config RemoteAccess start= disabled>nul

  sc config seclogon start= disabled>nul

  sc config SamSs start= disaabled>nul

  sc config lanmanserver start= disabled>nul

  sc config ShessHWDetection start= disabled>nul

  sc config SCardSvr start= disabled>nul

  sc config SCardDrv start= disabled>nul

  sc config SSDPSRV start= disabled>nul

  sc config stisvc start= demand>nul

  sc config SENS start= disabled>nul

  sc config srservice start= disabled>nul

  sc config Schedule start= disabled>nul

  sc config LmHosts start= disabled>nul

  sc config TapiSrv start= disabled>nul

  sc config TlntSvr start= disabled>nul

  sc config TermService start= disabled>nul

  sc config Themes start= disabled>nul

  sc config UPS start= disabled>nul

  sc config upnphost start= demand>nul

  sc config uploadmgr start= disabled>nul

%

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章