关于win10暂停更新是灰色的问题
# 使用完整路径调用reg $env:SystemRoot\System32\reg.exe add HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 1 /f# 使用PowerShell原生方式停止服务Stop-Service -Name wuauserv -ForceSet-Service -Name wuauserv -StartupType Disabled# 禁用Windows Update Medic Service $env:SystemRoot\System32\reg.exe add HKLM\SYSTEM\CurrentControlSet\Services\WaaSMedicSvc /v Start /t REG_DWORD /d 4 /f# 禁用更新编排服务Stop-Service -Name UsoSvc -ForceSet-Service -Name UsoSvc -StartupType DisabledWrite-Host Windows更新已禁用 -ForegroundColor Green以上就是全部代码通过powershell运行这边的问题是win10有两个更新死活更新失败但是关掉电脑半夜又会偷偷启动早上到位电脑都是烫的之前试过延长100年后面遇到问题更新了一下后就卡在这里想重新按照套路延长100年发现按键变灰网上很多教程都失败上面代码第一条改的就没什么用对我的电脑来说后面使用openclaw解决的问题