【发布时间】:2018-01-02 09:41:21
【问题描述】:
我看到了一些相关的问题,但没有一个解决方案对我不起作用。 我有 windows server 2012R2,我需要使用 Powershell v5.0 或批处理禁用它的自动 windows 更新(首选 Powershell)。
我可以手动完成,打开gpedit.msc,导航到Computer Configuration -> Administrative Templates -> Windows Components -> Windows Update,然后将Configure Automatic Updates更改为Disable。
如何在不使用外部 powershell 模块(例如PolicyFileEditor)的情况下自动完成。
是否有等效的注册表项可以更改它来完成工作?我知道有一个适用于 Windows server 2008 但我使用的是 2012R2。
【问题讨论】:
标签: powershell windows-server-2012-r2