admin管理员组文章数量:1566223
对于Win10来说,除了UI的变动外,微软还根据用户体验做了一些功能的增强和更改,在我看来,Win10本身启动的服务都是为了系统运作更加完美而增加的,但是对于很多人来说,Win10的很多功能很少用,甚至用不到,对于这样的功能如果不关闭的话,只能占用我们的系统资源。
如何用批处理对系统的服务进行开关?
服务停止
net stop "服务名称" 停止服务
net pause "服务名称" 暂停服务
net start "服务名称" 启动服务
例如:net stop "WerSvc" //停止WerSvc服务
服务禁止
sc config "服务名称" start= auto(自动)
sc config "服务名称" start= demand(手动)
sc config "服务名称" start= disabled(禁用)
sc config "服务名称" start= delayed-auto(自动(延迟启动))
例如:sc config "WSearch" start= disabled //禁止WSearch服务
Win10系统中有一些功能是可以选择关闭,有一些是必须开启(下面这些功能请根据自己的需要选择关闭)
1、索引服务
这个功能开启后会增快系统的搜索文件或其他东西,但是此功能运行过程占用不少的资源,而且会影响启动速度
禁止功能
sc stop "wsearch"
sc config "WMPNetworkSvc" start= disabled
sc config "wsearch" start= disabled
启动功能
sc config wsearch start= auto
sc config WMPNetworkSvc start= delayed-auto
sc start wsearch
sc start WMPNetworkSvc
注意:如果禁止了此功能,尽量清理一下这个功能所产生的的垃圾,有些电脑这里面的垃圾还是很大的
del /f /s /q %ALLUSERSPROFILE%\Microsoft\Search\Data\Applications\Windows
2、疑难解答和系统诊断服务
禁用之后系统的问题检测、疑难解答和诊断支持等功能将不能使用,如果经常使用不建议禁止
禁止功能
版权声明:本文标题:Windows10系统服务优化及分析(批处理) 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1726650029a1079964.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论