小编Pra*_*uri的帖子

如何强制 Windows Server 2016 检查更新

是否有任何编程方式可以强制 Windows 检查更新?我已使用 Windows Update API 安装了更新,但以下屏幕未更新。 在此处输入图片说明

Windows 更新 API 表示需要重新启动 -

PS C:\Windows\system32> $rebootRequired = (New-Object -ComObject "Microsoft.Update.SystemInfo").RebootRequired

echo $rebootRequired
True
Run Code Online (Sandbox Code Playgroud)

我以管理员身份尝试了以下命令,但没有一个刷新屏幕 -

wuauclt.exe /updatenow
wuauclt.exe /detectnow
Run Code Online (Sandbox Code Playgroud)

谢谢!

windows-server-2016

4
推荐指数
2
解决办法
6万
查看次数

标签 统计

windows-server-2016 ×1