Updating Windows Server 2022

宁可枝头抱香死,何曾吹落北风中。这篇文章主要讲述Updating Windows Server 2022相关的知识,希望能为你提供帮助。
Using the Local Group Policy Editor to change the automatic updates setting in Windows Server 2022:
1. Click the Start menu and type ?gpedit.msc.
2. Navigate to the Windows Update section by clicking on ?Computer?
?Configuration?, then ?Administrative Templates?, then ??Windows??
??Components?, and finally ?Windows Update?.
3. ?Double-click? ?Configure Automatic Updates.
4. Select ?Enabled?.
You’re given configuration options.
Under Configure Automatic Updating, you can see that it’s set to ?Auto?
?Download and Notify to Install?. This is the default setting.
5. Click the drop-down box and select the setting that works best for your
environment.
?SETTING UPDATES TO AUTOMATIC VIA PowerShell? 
To set updates to automatic via PowerShell, you need to navigate to ??C:\\Windows\\??
??system32? and stop the Windows Update service.
1. Stop the Windows Update Server service.

?net stop wuauserv?
2. Set automatic updates to 4 which is enabled.

?cscript scregedit.wsf /AU 4?
you can use the script program to execute? scregedit.wsf?. Adding the switch ?/AU 4?
enables automatic updates,? /AU 1? would disable automatic updates.
3. Start the Windows Updates Server service.

?net start wuauserv
Downloading and installing updates

To force Server Core to then detect and install any available updates, simply type

the following command and press Enter.

?wuauclt /detectnow
【Updating Windows Server 2022】?

    推荐阅读