Events
Apr 29, 2 PM - Apr 30, 7 PM
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Configuring Windows Update settings on a Windows Server Core installation can be performed using the SConfig menu or via the command line. This article describes the steps and commands needed to configure the Windows Update settings. Server Core allows for Windows updates to be installed in the following ways:
Using automatic Windows Update or with Windows Server Update Services (WSUS). By using Windows Update, either automatically or with the WSUS command-line tool, you can service servers running a Server Core installation.
Manually. Even in organizations that don't use Windows update or WSUS, you can apply updates manually.
Before you add a new update to Server Core, check that the latest Windows updates are installed by running one of the three commands:
Get-Hotfix
systeminfo
wmic qfe list
There might be a short delay running systeminfo
as the tool inspects your system.
Depending on which version of Windows Server Core you're running, the SConfig menu loads once you sign in. If the SConfig menu doesn't appear, run sconfig
and select Enter. Once the menu loads, perform the following steps to configure your settings:
Type 5, select Enter. Select one of these options, then select Enter.
Type 6, select Enter. Select one of these options, then select Enter.
To verify the current Windows Update setting, run the following command:
%systemroot%\system32\cscript %systemroot%\system32\scregedit.wsf /AU /v
To enable automatic updates, run the following command:
Net stop wuauserv
%systemroot%\system32\cscript %systemroot%\system32\scregedit.wsf /AU /v 4
Net start wuauserv
To disable automatic updates, run the following command:
Net stop wuauserv
%systemroot%\system32\cscript %systemroot%\system32\scregedit.wsf /AU /v 1
Net start wuauserv
To force Windows Update to immediately detect and install any available updates, run the following command:
wuauclt /detectnow
Depending on the updates that are installed, you might need to restart the computer. The system doesn't notify which updates require a reboot. To determine if the installation process completed, open Task Manager by running taskmgr
and verify that either the wuauclt, or Trusted Installer processes aren't actively running.
Download the .msu
update file and run the following command to install the update:
wusa <update>.msu /quiet
To manually uninstall an update, run the following command:
wusa /uninstall <update>.msu /quiet
Events
Apr 29, 2 PM - Apr 30, 7 PM
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowTraining
Module
Update Windows clients - Training
This module describes the various methods for applying updates to Windows and explains how to configure Windows update in an organization.
Certification
Microsoft Certified: Windows Server Hybrid Administrator Associate - Certifications
As a Windows Server hybrid administrator, you integrate Windows Server environments with Azure services and manage Windows Server in on-premises networks.
Documentation
Learn how to manage a Server Core installation of Windows Server.
Administer Server Core installation
Learn how to administer a Server Core installation of Windows Server
In Windows Server and Azure Local, you can use the Server Configuration tool (SConfig) to configure and manage several common aspects of server lifecycle. It includes network configuration, Active Directory domain membership, installation of Microsoft updates, and operating system activation
Learn about the Server Core installation option in Windows Server