怎样建立win7服务优化批处理.bat?

怎样建立win7服务优化批处理.bat?,第1张

@echo off

echo 服务优化正在处理,请稍等......

@echo

@pause

sc config ALG start= DEMAND

sc config AppMgmt start= DEMAND

sc config AudioEndpointBuilder start= AUTO

sc config Audiosrv start= AUTO

sc config BFE start= AUTO

sc config BITS start= AUTO

sc config Browser start= AUTO

sc config CertPropSvc start= DEMAND

sc config clr_optimization_v2.0.50727_32 start= DEMAND

sc config COMSysApp start= DEMAND

sc config CryptSvc start= AUTO

sc config DcomLaunch start= AUTO

sc config Dhcp start= AUTO

sc config Dnscache start= AUTO

sc config dot3svc start= DEMAND

sc config EapHost start= DEMAND

sc config EventSystem start= AUTO

sc config fdPHost start= DEMAND

sc config FDResPub start= DEMAND

sc config FontCache3.0.0.0 start= DEMAND

sc config gpsvc start= AUTO

sc config hidserv start= DEMAND

sc config hkmsvc start= DEMAND

sc config idsvc start= DEMAND

sc config IKEEXT start= AUTO

sc config IPBusEnum start= DEMAND

sc config KeyIso start= DEMAND

sc config LanmanServer start= AUTO

sc config LanmanWorkstation start= AUTO

sc config lltdsvc start= DEMAND

sc config lmhosts start= AUTO

sc config MMCSS start= AUTO

sc config MpsSvc start= AUTO

sc config msiserver start= DEMAND

sc config napagent start= DEMAND

sc config Netlogon start= DEMAND

sc config Netman start= DEMAND

sc config netprofm start= AUTO

sc config NetTcpPortSharing start= DISABLED

sc config NlaSvc start= AUTO

sc config NOD32krn start= AUTO

sc config nsi start= AUTO

sc config PlugPlay start= AUTO

sc config ProfSvc start= AUTO

sc config RasAuto start= DEMAND

sc config RasMan start= DEMAND

sc config RemoteAccess start= DISABLED

sc config RpcLocator start= DEMAND

sc config RpcSs start= AUTO

sc config SamSs start= AUTO

sc config SCardSvr start= DEMAND

sc config SCPolicySvc start= DEMAND

sc config SENS start= AUTO

sc config SharedAccess start= DISABLED

sc config ShellHWDetection start= AUTO

sc config slsvc start= AUTO

sc config SLUINotify start= DEMAND

sc config SNMPTRAP start= DEMAND

sc config SSDPSRV start= DEMAND

sc config SstpSvc start= DEMAND

sc config SysMain start= AUTO

sc config TapiSrv start= DEMAND

sc config TBS start= AUTO

sc config Themes start= AUTO

sc config THREADORDER start= DEMAND

sc config TrustedInstaller start= DEMAND

sc config upnphost start= DEMAND

sc config UxSms start= AUTO

sc config vds start= DEMAND

sc config W32Time start= AUTO

sc config wcncsvc start= DEMAND

sc config WcsPlugInService start= DEMAND

sc config WinHttpAutoProxySvc start= DEMAND

sc config Winmgmt start= AUTO

sc config Wlansvc start= DEMAND

sc config wmiApSrv start= DEMAND

sc config WMPNetworkSvc start= DEMAND

sc config wscsvc start= AUTO

sc config wuauserv start= AUTO

sc config wudfsvc start= DEMAND

@pause

echo.

echo.&echo 优化完成!任意键退出

echo. &pause>nul

把上面一段复制到记事本中保存为.bat文件即可

如下参芦蔽考:

1.首先,我们在桌面上创建一个新的记事本文件,并使其扩展名显示出来(前面的经验已经说明了方法),从图中可以看到扩展名是.txt。

2.然后我们将文件名更改为“ip”。“bat”之类的,但扩展名必须是bat。

3.右键点击文件,从快捷菜单中选择“编辑”。

4.打开文件,你可以看到它仍然是一个记事本的形式,我陪搏州们在里面编辑。

5.在文件源码中输入如下代码:知道静态10.31.51.188是指填写的静态IP地址,255.255.255.0是子网掩码,10.31.51.1是网关地址。然后下面是设置DNS,主是首选的DNS标志意思,我们保存文件。

6.双银指击ip。一个DOS执行窗口将d出,设置将迅速改变。

7.最后,我们将检查IP地址。他们已经被成功地填上了。如果有多台计算机,可以使用u盘复制批处理,然后在每台计算机上执行。


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/tougao/12362271.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-23
下一篇2023-05-23

发表评论

登录后才能评论

评论列表(0条)

    保存