How Windows Update works - schedule scan (2024)

How Windows Update worksArticle01/19/2023

Applies to

Windows 10Windows 11

The Windows Update workflow has four core areas of functionality:

ScanOrchestrator schedules the scan.Orchestrator verifies admin approvals and policies for download.DownloadOrchestrator starts downloads.Windows Update downloads manifest files and provides them to the arbiter.The arbiter evaluates the manifest and tells the Windows Update client to download files.Windows Update client downloads files in a temporary folder.The arbiter stages the downloaded files.InstallOrchestrator starts the installation.The arbiter calls the installer to install the package.CommitOrchestrator starts a restart.The arbiter finalizes before the restart.How updating works

During the updating process, the Windows Update Orchestrator operates in the background to scan, download, and install updates. It does these actions automatically, according to your settings, and silently so that doesn't disrupt your computer usage.

Scanning updates

The Windows Update Orchestrator on your PC checks the Microsoft Update server or your WSUS endpoint for new updates at random intervals. The randomization ensures that the Windows Update server isn't overloaded with requests all at the same time. The Update Orchestrator searches only for updates that have been added since the last time updates were searched, allowing it to find updates quickly and efficiently.

When checking for updates, the Windows Update Orchestrator evaluates whether the update is appropriate for your device. It uses guidelines defined by the publisher of the update, for example, Microsoft Office including enterprise group policies.

Make sure you're familiar with the following terminology related to Windows Update scan:

TermDefinitionUpdateWe use this term to mean several different things, but in this context it's the actual updated code or change.Bundle updateAn update that contains 1-N child updates; doesn't contain payload itself.Child updateLeaf update that's bundled by another update; contains payload.Detector updateA special "update" that contains "IsInstalled" applicability rule only and no payload. Used for prereq evaluation.Category updateA special "detectoid" that has an IsInstalled rule that is always true. Used for grouping updates and to allow the device to filter updates.Full scanScan with empty datastore.Delta scanScan with updates from previous scan already cached in datastore.Online scanScan that uses the network and to check an update server.Offline scanScan that doesn't use the network and instead checks the local datastore. Only useful if online scan has been performed before.CatScanCategory scan where caller can specify a categoryId to get updates published under that categoryId.AppCatScanCategory scan where caller can specify an AppCategoryId to get apps published under that appCategoryId.Software syncPart of the scan that only checks for software updates (both the apps and the operating system).Driver syncPart of the scan that checks driver updates only. This sync is optional and runs after the software sync.ProductSyncA sync based on attributes, in which the client provides a list of device, product, and caller attributes ahead of time to allow service to check applicability in the cloud.How Windows Update scanning works

Windows Update does the following actions when it runs a scan.

Starts the scan for updates

When users start scanning in Windows Update through the Settings panel, the following occurs:

The scan first generates a “ComApi” message. The caller (Microsoft Defender Antivirus) tells the Windows Update engine to scan for updates."Agent" messages: queueing the scan, then actually starting the work:

Updates are identified by the different IDs ("ID = 10", "ID = 11") and from the different thread ID numbers.

Windows Update uses the thread ID filtering to concentrate on one particular task.

Proxy Behavior

For Windows Update (WU) scans URLs that are used for update detection ([MS-WUSP]: SimpleAuth Web Service | Microsoft Docs, [MS-WUSP]: Client Web Service | Microsoft Docs):

System proxy is attempted (set using the netsh command).

If WUA fails to reach the service due to a certain proxy, service, or authentication error code, then user proxy is attempted (generally it is the logged-in user).

Note

For intranet WSUS update service URLs, we provide an option via Windows Update policy to select the proxy behavior.

For Windows Update URLs that aren't used for update detection, such as for download or reporting:

User proxy is attempted.If WUA fails to reach the service due to a certain proxy, service, or authentication error code, then the system proxy is attempted.Identifies service IDs

Service IDs indicate which update source is being scanned.

The Windows Update engine treats every service as a separate entity, even though multiple services may contain the same updates.

Common service IDs

Important

ServiceId here identifies a client abstraction, not any specific service in the cloud. No assumption should be made of which server a serviceId is pointing to. It's totally controlled by responses from the Service Locator Service.

ServiceServiceIdUnspecified / DefaultWindows Update, Microsoft Update, or WSUS 00000000-0000-0000-0000-000000000000Windows Update9482F4B4-E343-43B6-B170-9A65BC822C77Microsoft Update7971f918-a847-4430-9279-4a52d1efe18dStore855E8A7C-ECB4-4CA3-B045-1DFA50104289OS Flighting8B24B027-1DEE-BABB-9A95-3517DFB9C552WSUS or Configuration ManagerVia ServerSelection::ssManagedServer 3DA21691-E39D-4da6-8A4B-B43877BCB1B7Offline scan serviceVia IUpdateServiceManager::AddScanPackageServiceFinds network faults

Common update failure is caused due to network issues. To find the root of the issue:

Look for "ProtocolTalker" messages to see client-server sync network traffic.

"SOAP faults" can be either client- or server-side issues; read the message.

The Windows Update client uses the Service Locator Service to discover the configurations and endpoints of Microsoft network update sources: Windows update, Microsoft Update, or Flighting.

Note

If the search is against WSUS or Configuration Manager, you can ignore warning messages for the Service Locator Service.

On sites that only use WSUS or Configuration Manager, the Service Locator Service might be blocked at the firewall. In this case the request will fail, and though the service can’t scan against Windows Update or Microsoft Update, it can still scan against WSUS or Configuration Manager, since it’s locally configured.

Downloading updates

Once the Windows Update Orchestrator determines which updates apply to your computer, it will begin downloading the updates, if you have selected the option to automatically download updates. It does operation in the background without interrupting your normal use of the device.

To ensure that your other downloads aren't affected or slowed down because updates are downloading, Windows Update uses Delivery Optimization, which downloads updates and reduces bandwidth consumption.

For more information, see Configure Delivery Optimization for Windows 10 updates.

Installing updates

When an update is applicable, the "Arbiter" and metadata are downloaded. Depending on your Windows Update settings, when downloading is complete, the Arbiter will gather details from the device, and compare that with the downloaded metadata to create an "action list".

The action list describes all the files needed from Windows Update, and what the installation agent (such as CBS or Setup) should do with them. The action list is provided to the installation agent along with the payload to begin the installation.

Committing Updates

When the option to automatically install updates is configured, the Windows Update Orchestrator, in most cases, automatically restarts the device for you after installing the updates. It has to restart the device because it might be insecure, or not fully updated, until it restarts. You can use Group Policy settings, mobile device management (MDM), or the registry (not recommended) to configure when devices will restart after a Windows 10 update is installed.

For more information, see Manage device restarts after updates.

How Windows Update works - schedule scan (2024)

FAQs

How often does Windows Update scan? ›

You can always check for updates manually via Windows Update, but it does happen automatically every day. Actually, Windows Update checks for updates randomly, every 17 to 22 hours.

What is the scheduled task to check for Windows updates? ›

The "Update Orchestrator" task in Task Scheduler is a built-in Windows task, responsible for managing Windows Update operations and related tasks. It plays a vital role in checking for, downloading, and installing Windows updates, as well as scheduling reboots when necessary to complete the update process.

How do I check Windows Update schedule? ›

Select Start > Settings > Update & Security > Windows Update .

How does Windows get updated automatically? ›

Auto install and restart—Updates are downloaded automatically on non-metered networks and installed during "Automatic Maintenance" when the device is not in use and is not running on battery power. If automatic maintenance is unable to install updates for 2 days, Windows Update will install updates right away.

How does the Windows Update service work? ›

How updating works. During the updating process, the Windows Update Orchestrator operates in the background to scan, download, and install updates. It does these actions automatically, according to your settings, and silently so that doesn't disrupt your computer usage.

How does Windows Update Agent work? ›

The Windows Update Agent (WUA) performs the actions on the client to install updates. It connects to the WSUS server and scans for needed updates and then downloads and installs them. The download uses Background Intelligent Transfer Service (BITS) to optimize bandwidth use.

What is Microsoft update schedule? ›

When does Microsoft release security updates? Microsoft schedules the release of security updates on "Patch Tuesday," the second Tuesday of each month at 10:00 AM PST. Depending on time zone(s) in which the organization operates, IT pros should plan their deployment schedules accordingly.

How do I schedule Windows updates for a specific time? ›

To configure a schedule for Automatic Updates:
  1. Click Start, click Control Panel, and then double-click System.
  2. On the Automatic Updates tab, click Automatically download the updates, and install them on the schedule that I specify.
  3. Click to select the day and time that you want to download and install updates.
Feb 19, 2024

How do I know if Windows updates automatically? ›

Click Start, click Run, type wscui. cpl, and then click OK. Click Automatic Updates. This option lets you select the day and the time that updates are automatically downloaded and installed.

Does Windows Update every day? ›

Most Microsoft updates come out on Tuesdays and most updates are released in the morning. The second Tuesday of the month is referred to as “Patch Tuesday” because Microsoft attempts to combine the largest updates into this maintenance window.

Are Windows updates manual or automatic? ›

Using the Windows 10 search bar in the bottom left search "Windows Update Settings" and select the systems settings link that populates.
  1. Step 2: Select Automatic Updates. ...
  2. Ensure that Automatic is selected in the drop down. ...
  3. Your Windows 10 will now update automatically.
Dec 8, 2022

Does Windows Update automatically install? ›

Windows Update automatically installs important updates as they become available. You can also set Windows Update to install recommended updates automatically or just let you know that they're available.

How often does the Windows Store check for updates? ›

Then there's the Microsoft Store. It, too, keeps an eye on all the apps under its purview. It will update them daily by default.

How often does Windows Update security? ›

When does Microsoft release security updates? Microsoft schedules the release of security updates on "Patch Tuesday," the second Tuesday of each month at 10:00 AM PST.

How often does Windows Server check for updates? ›

If the setting is set to Disabled or Not Configured, Windows will check for available updates at the default interval of 22 hours.

How frequent is Windows Update? ›

Microsoft routinely releases updates on the second Tuesday of each month (known as the Patch Tuesday), but can provide them whenever a new update is urgently required to prevent a newly discovered or prevalent exploit.

Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated:

Views: 5913

Rating: 4.7 / 5 (47 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.