【方法】Win11右键菜单/禁止更新/卸载小组件

右键菜单

管理员权限打开cmd
设置为win10

1
2
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
taskkill /f /im explorer.exe & start explorer.exe

设置为win11

1
2
reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f 
taskkill /f /im explorer.exe & start explorer.exe

禁止更新

  1. 注册表更改,cmd中输入
1
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v FlightSettingsMaxPauseDays /t reg_dword /d 9999 /f
  1. 组策略禁用自动更新
    Win + R 键,在运行框中输入 gpedit.msc 之后确定,打开组策略编辑器:计算机配置 > 管理模板 > Windows组件 > Windows 更新,双击进入。 进入后选择 “配置自动更新”,右键编辑属性,在弹出的配置窗口中选择 “已禁用” 点 “确定”。
  2. Powershell终止自动更新服务
    Win+X选Powershell
    输入sc.exe config wuauserv start= disabled禁止自动更新服务启动
    输入sc.exe stop wuauserv终止当前自动更新服务
    若想恢复则输入sc.exe config wuauserv start= auto

卸载小组件

卸载

1
2
winget uninstall MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
taskkill /f /im explorer.exe & start explorer.exe

安装

1
winget install 9MSSGKG348SP

【方法】Win11右键菜单/禁止更新/卸载小组件
https://eudonomia.eu.org/posts/837eaf23.html
作者
Eschaton
发布于
2024年7月26日
许可协议