关闭 WorkloadsSessionHost / WSAIFabricSvc
停用并禁用 WSAIFabricSvc,清理 WorkloadsSessionHost 进程,即可彻底关闭本地 AI 推理运行时,Recall、Click to Do、语义搜索等本机 AI 功能,可逆。
<!--more-->
操作
PowerShell 粘贴以下命令
Start-Process powershell -Verb RunAs -ArgumentList '-NoExit','-Command','Set-Service WSAIFabricSvc -StartupType Disabled; Stop-Service WSAIFabricSvc -Force; Get-Process WorkloadsSessionHost -EA 0 | Stop-Process -Force'
若已在管理员终端中,直接执行:
Set-Service WSAIFabricSvc -StartupType Disabled
Stop-Service WSAIFabricSvc -Force
Get-Process WorkloadsSessionHost -EA 0 | Stop-Process -Force
验证 / 恢复
Get-Service WSAIFabricSvc | Format-List Name,StartType,Status
Set-Service WSAIFabricSvc -StartupType Automatic
Start-Service WSAIFabricSvc