Server 2019 Disable Automatic Updates
I saw some related questions but none of the solutions didn't work for me.I have windows server 2012R2 and I need to disable it automatic windows updates with Powershell v5.0 or batch (Powershell is preferred).I can do it manually, by opening gpedit.msc, navigating to Computer Configuration - Administrative Templates - Windows Components - Windows Update and then changing Configure Automatic Updates to Disable.How can that be done automatically without using external powershell modules (such as PolicyFileEditor).Is there an equivalent registry key that changing it can get the job done? I know that there is one for Windows server 2008 but I'm using 2012R2.
Turn Off Automatic Updates Windows Server 2012 R2
Disable Automatic Updates By Enabling Metered Connection. One way is to set your Internet connection type to “Metered.” When on metered connections, Windows won’t download the updates. To start, open the Settings window from the Action Center. Select the “Network and Internet” option. Select your connection.