首页 > 解决方案 > 在 Windows 10 pro 上以编程方式通过组策略停止更新

问题描述

我想使用组策略禁用 Windows 自动更新。我尝试使用以下方法禁用wuauserv运行自动更新的服务:

sc config wuauserv start= disable
sc config bits start= disable
sc config DcomLaunch start= disable
net stop wuauserv
net stop bits
net stop DcomLaunch

但这不是我所追求的。我想禁用本地组策略。

我发现的另一种方法是更改​​注册表值DWORD DisableRootAutoUpdate = 1,但我可以设法使其工作。

标签: powershellcommand-linewindows-10

解决方案


推荐阅读