win10服务项优化-台式机-fulibo-20240528

查看 233|回复 24
作者:277748999   
win10服务项优化-台式机-fulibo-20240528
[ol]@echo off
color a
echo                    正在检测当前系统是否为windows 10
for /f "tokens=3-5" %%a in ('"systeminfo|find "OS 名称""') do set win=%%a %%b %%c
cls
if not "%win%"=="Microsoft Windows 10" echo       检测到当前系统不是windows 10&timeout /t 6 /nobreak>nul&exit
fsutil fsinfo sectorInfo %SystemDrive%>nul
if not %errorlevel%==0 echo       请右键以管理员身份运行本程序&timeout /t 5 /nobreak>nul&exit
echo                                         可以不设置,按任意键跳过(已设置的请跳过)
echo     请手动设置本地连接或wlan的ip地址和DNS服务器地址(控制面板——网络和Internet——网络和共享中心——单击本地连接或WLAN——属性——单击Internet协议版本4——属性)。ip地址自己设置,首选DNS服务器地址建议设为180.76.76.76。备用DNS服务器地址设为114.114.114.114。本程序会关闭打印机服务和win10地图服务,需要时可自行开启服务。优化后系统的流畅度会得到一定的提升。本程序对系统没有害处,按任意键继续后杀毒软件会弹窗提醒,请选择允许执行或将本程序添加到信任列表。
pause
cls
powercfg -h off
SCHTASKS /Delete /TN * /F
for %%a in (EventSystem CoreMessagingRegistrar CryptSvc DcomLaunch gpsvc LSM Power RpcSs RpcEptMapper SamSs ShellHWDetection sppsvc SENS SystemEventsBroker Schedule Themes tiledatamodelsvc UserManager ProfSvc Audiosrv AudioEndpointBuilder Wcmsvc EventLog Winmgmt WlanSvc knbcenter KSafeSvc Dnscache) do sc config %%a start= auto
for %%a in (AxInstSV AJRouter AppReadiness AppIDSvc Appinfo PeerDistSvc KeyIso COMSysApp VaultSvc DsSvc DcpSvc DeviceAssociationService DeviceInstall DsmSvc DevQueryBroker MSDTC EFS EntAppSvc EapHost fhsvc HvHost vmickvpexchange vmicguestinterface vmicshutdown vmicheartbeat vmicvmsession vmictimesync vmicvss vmicrdv IKEEXT KtmRm lltdsvc wlidsvc NgcSvc NgcCtnrSvc smphost SmsRouter NcdAutoSetup Netman NcaSvc netprofm NlaSvc NetSetupSvc nsi PerfHost pla PhoneSvc PlugPlay PNRPAutoReg RasAuto RasMan SessionEnv TermService UmRdpService RpcLocator SstpSvc SensorDataService SensrSvc SensorService ScDeviceEnum SCPolicySvc SNMPTRAP svsvc SSDPSRV StateRepository WiaRpc StorSvc TieringEngineService TapiSrv TimeBrokerSvc TabletInputService UsoSvc upnphost UserDataSvc UnistoreSvc vds VSS WalletService FrameServer wcncsvc wudfsvc WEPHOSTSVC WerSvc Wecsvc msiserver WMPNetworkSvc WinRM SDRSVC WpnUserService LicenseManager icssvc wisvc dot3svc wmiApSrv workfolderssvc XblAuthManager XboxNetApiSvc XblGameSave bthserv CDPSvc RetailDemo embeddedmode DmEnrollmentSvc RmSvc Dhcp QPCore) do sc config %%a start= demand
for %%a in (ALG AppMgmt AppXSvc BITS BrokerInfrastructure BDESVC wbengine BthHFSrv CertPropSvc ClipSVC Browser DiagTrack PimIndexMaintenanceSvc DoSvc DPS WdiServiceHost WdiSystemHost TrkWks dmwappushservice Fax fdPHost FDResPub HomeGroupListener HomeGroupProvider hidserv irmon UI0Detect SharedAccess iphlpsvc PolicyAgent KugouService MessagingService diagnosticshub.standardcollector.service AppVClient MSiSCSI swprv NetTcpPortSharing Netlogon NcbService CscService defragsvc pcmastersvc PNRPsvc p2psvc p2pimsvc WPDBusEnum Spooler PrintNotify wercplsupport QWAVE RemoteRegistry RemoteAccess seclogon wscsvc LanmanServer shpamsvc SCardSvr lmhosts UevAgentService WebClient WbioSrvc Sense WdNisSvc WinDefend FontCache stisvc TrustedInstaller WSearch W32Time wuauserv WpnService WinHttpAutoProxySvc LanmanWorkstation WwanSvc OneSyncSvc tzautoupdate NVDisplay.ContainerLocalSystem PcaSvc SysMain XLNXService XLServicePlatform "Flash Helper Service" khealth_service BFE MpsSvc MapsBroker lfsvc NvContainerLocalSystem NvContainerNetworkService NvTelemetryContainer SogouSvc) do sc config %%a start= disabled
cls
rem 添加输入法
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v ctfmon.exe /d C:\WINDOWS\system32\ctfmon.exe
echo           优化完毕
timeout /t 3 /nobreak>nul
exit[/ol]复制代码

地址, 程序, 系统

james176   
TrustedInstaller 禁用后,nsudo 和 minsudo 工作不正常
Qingix233   

hlowld 发表于 2024-5-28 11:24
TrustedInstaller 禁用后,nsudo 和 minsudo 工作不正常

可以在批处理里面删除这个服务名字!
wang1973   
谢谢分享
wang1973   
除了禁用系统服务,还需要删除一些计划任务!
wang1973   
感谢大佬分享
wang1973   
大佬,Win10-Win11 如果只为游戏和办公用,应该怎么优化,关那些禁用项呢?
james176   
已经优化过的系统还是用一天是一天吧
wang1973   
应该
wang1973   
谢谢分享
您需要登录后才可以回帖 登录 | 立即注册

返回顶部