Updating Windows Server 2022
Posted ganzy
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章
缺乏libaio包导致报The server quit without updating PID file
mysql Starting MySQL..The server quit without updating PID file
mysql报错!The server quit without updating PID file问题的解决办法
mysql编译安装完成后,启动时报错The server quit without updating PID file
The server quit without updating PID file
MySQL 启动日志报错:Starting MySQL. ERROR! The server quit without updating PID file