批处理脚本来关闭不必要的服务和程序,以减少后台干扰,并提升远程桌面的性能和响应速度:
plaintext
@echo off
rem 关闭不必要的服务
sc config "wuauserv" start=disabled
sc config "BITS" start=disabled
sc config "ShellHWDetection" start=disabled
sc config "SysMain" start=disabled
sc config "WSearch" start=disabled
rem 结束不必要的进程
taskkill /f /im "OneDrive.exe"
taskkill /f /im "SkypeApp.exe"
taskkill /f /im "MicrosoftEdge.exe"
taskkill /f /im "Cortana.exe"
rem 禁用不必要的启动项
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "EnableBalloonTips" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ExtendedUIHoverTime" /t REG_DWORD /d 200 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoLowDiskSpaceChecks" /t REG_DWORD /d 1 /f
echo 关闭不必要的服务和程序完成。
pause
注释:上述批处理脚本将禁用一些不必要的服务(如 Windows 更新服务、后台智能传输服务等),结束一些不必要的进程(如 OneDrive、Skype、Microsoft Edge、Cortana 等),并禁用一些不必要的启动项(如气球式提示、悬停延迟、低磁盘空间检查等)。