Hotpatching is a servicing mode where a monthly Windows Server update is applied to the running OS without a restart. Baseline (cumulative) updates still need a reboot — plan for that. Exact supported editions, builds, extension names and cadence are version-dependent: verify them in the Microsoft Learn hotpatch documentation for your build before you start.
Succeeded state and visible in the portal.LastBootUpTime.
az login first) or Azure Cloud Shell.| Purpose | Endpoint | Port |
|---|---|---|
| Arc agent / extension traffic | `his.arc.azure.com` | 443 |
| Agent installer download | `aka.ms`, `download.microsoft.com` | 443 |
| Azure Resource Manager | `management.azure.com` | 443 |
| Entra ID authentication | `login.microsoftonline.com` | 443 |
The authoritative endpoint list lives in the Azure Arc network-requirements doc — check it if you route traffic through a proxy.
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' |
Select-Object ProductName, EditionID, CurrentBuild, UBR, DisplayVersion
Test-Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired'Example output: ProductName : Windows Server 2025 Datacenter, CurrentBuild : 26100, False. False means no reboot is pending, so a later "no restart happened" result is meaningful.
What to do: Check the edition, the build and the update source before touching Azure. Hotpatching is tied to specific server editions and to updates being delivered from Microsoft Update, not from an unapproved WSUS classification.
# Edition and build
(Get-CimInstance Win32_OperatingSystem).Caption
[System.Environment]::OSVersion.Version
# Which source delivers updates (0 = Microsoft Update, 1 = WSUS)
Get-ItemProperty 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU' -ErrorAction SilentlyContinue |
Select-Object UseWUServer
# Is the machine already waiting for a restart?
Test-Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired'Why: If the machine is on WSUS and the hotpatch classification is not approved there, the extension will install but the monthly update will never arrive — you will spend hours debugging Azure instead of update approval.
How to check: Caption must read Windows Server 2025 Datacenter or Windows Server 2025 Standard. UseWUServer should be absent or 0. If it is 1, either approve the hotpatch updates on the WSUS server or confirm the supported delivery path in the documentation.
Example: On a test VM the check returned Microsoft Windows Server 2025 Datacenter, UseWUServer empty, and False for the reboot key — the machine is a candidate.

What to do: Install the Azure Connected Machine agent (the software that represents your on-premises or non-Azure server in Azure), connect the machine, then add the hotpatch extension.
Invoke-WebRequest -Uri https://aka.ms/AzureConnectedMachineAgent -OutFile .\AzureConnectedMachineAgent.msi
msiexec /i .\AzureConnectedMachineAgent.msi /l*v .\arc-install.log /qn
azcmagent connect `
--resource-group rg-servers `
--tenant-id <your-tenant-id> `
--subscription-id <your-subscription-id> `
--location westeuropePlaceholders: rg-servers is the resource group that will hold the server object, westeurope must be a region your subscription allows, and the tenant/subscription IDs come from az account show.
Why: Hotpatching on Windows Server is delivered through Azure management — the Arc agent provides identity and the extension channel that installs the payloads.
Then install the extension. The simplest route is the portal: Azure Arc → Servers → <server-name> → Extensions → + Add → select the Windows Server hotpatch extension → Create. For automation use the CLI, taking publisher and type from the portal gallery (they are build-specific):
az connectedmachine extension create \
--resource-group rg-servers \
--machine-name srv-file01 \
--name Hotpatch \
--publisher "<publisher-id-from-gallery>" \
--type "<extension-type-from-gallery>" \
--location westeuropeHow to check: The extension must report Succeeded, and the agent must report Connected.
az connectedmachine extension show -g rg-servers --machine-name srv-file01 -n Hotpatch --query provisioningState
az connectedmachine show -g rg-servers --name srv-file01 --query status
azcmagent showExpected: "Succeeded", "Connected", and in azcmagent show the line Agent Status : Connected. If the extension requires settings, the portal wizard lists them; pass them with --settings '<json>'.
Example: az connectedmachine extension show ... --query provisioningState returned "Succeeded" about four minutes after creation; azcmagent show showed Agent Status : Connected and Last Connected within the last minute.

What to do: Record the boot time and installed updates, wait for the monthly release window, and compare.
# 1. Baseline
$before = (Get-CimInstance Win32_OperatingSystem).LastBootUpTime
$before
# 2. After the update window: newest installed packages
Get-CimInstance Win32_QuickFixEngineering |
Sort-Object InstalledOn -Descending |
Select-Object -First 5 HotFixID, Description, InstalledOn
# 3. Did anything reboot the box? (1074 = clean shutdown/restart initiated)
Get-WinEvent -FilterHashtable @{LogName='System'; Id=1074} -MaxEvents 5 |
Select-Object TimeCreated, Message
# 4. Compare
(Get-CimInstance Win32_OperatingSystem).LastBootUpTime
Test-Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired'Why: Win32_QuickFixEngineering lists what was installed; LastBootUpTime and event 1074 prove whether the machine restarted. Together they answer the only question that matters: *did the patch apply without a reboot?*
How to check: If a new HotFixID appears with a fresh InstalledOn while LastBootUpTime is unchanged and the reboot key returns False, the update was applied hot. If LastBootUpTime moved, it was a baseline update — expected, not a failure.
Example: Before the window LastBootUpTime was 10/02/2025 03:14:22. After the update: same value, RebootRequired = False, and one new entry in the top of the QFE list — a hotpatch cycle completed without downtime.
Restart expectations by release type:
| Release | Restart required? | Action |
|---|---|---|
| Monthly hotpatch release | No | Verify with the script above |
| Quarterly baseline (start of January, April, July, October) | Yes | Schedule a maintenance window |
| Any release after a skipped baseline | Yes | Apply the baseline first |
Monthly checklist:
az connectedmachine extension show ... --query provisioningState returns SucceededLastBootUpTime unchanged since the last maintenance windowRebootRequired returns FalseProblem. The extension never leaves Creating/Failed and no hotpatch updates arrive.
"code": "ExtensionOperationFailed", "message": "The extension operation failed with the following error: ..." (the trailing text is version-specific — read it, it usually names a blocked endpoint).azcmagent check on the server. Every row (his.arc.azure.com, management.azure.com, login.microsoftonline.com) must show a reachable/true result. If your egress goes through a proxy, configure it with azcmagent config set proxy.url http://<proxy-host>:<port>, restart the agent service (Restart-Service himds), then retry the extension in the portal.Problem. azcmagent show prints Agent Status : Disconnected and onboarding fails.
Failed to connect to the Azure Arc agent endpoint / an authentication prompt that times out.azcmagent connect --resource-group rg-servers --tenant-id <tenant> --subscription-id <sub> --location westeurope while logged in on the browser prompt, and confirm w32tm /query /status shows a synchronized clock.Problem. A hotpatch month still demands a restart.
RebootRequired returns True and Get-WinEvent -FilterHashtable @{LogName='System'; Id=1074} shows a new restart.You now have an Arc-connected Windows Server 2025 machine whose monthly updates install without a restart, and a verification script that proves it. Next: book the quarterly baseline windows and put Get-CimInstance Win32_QuickFixEngineering output into your monthly report — and check the OS support timeline so the hotpatch cadence does not outlive the platform itself.
Does hotpatching mean Windows Server never reboots again?
No. Only non-baseline monthly releases apply without a restart; baseline (cumulative) updates at the start of each quarter still require a reboot, and kernel-level changes only take effect after that restart.
Does this work on Windows Server 2022 or Windows Server 2019?
Hotpatching is tied to the newer server release and its delivery infrastructure — check the supported-edition list in the docs for your exact build. On older servers you install cumulative updates normally and schedule restarts.
Can I enable it without Azure?
The delivery path described here uses Azure Arc to onboard the machine and push the extension. If your environment forbids Azure connectivity, treat the offline/manual update route as your baseline process and verify in the documentation whether a non-Arc option exists for your build.
How do I confirm a patch really applied without a reboot?
Compare (Get-CimInstance Win32_OperatingSystem).LastBootUpTime before and after the update window while checking that a new HotFixID appeared in Get-CimInstance Win32_QuickFixEngineering. Unchanged boot time plus a new hotfix equals a hotpatch.
Status: practical guide. Some statements come from vendors; verify in your environment.
Time to complete: 40 minutes for setup, plus one monthly update cycle to observe the result Difficulty: Intermediate
Machine data: Citation Map JSON · JSON-LD · Semantic Embeddings — separate stage.
| Entity | Type | Role |
|---|---|---|
| hotpatch windows server | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| обновление windows server без перезагрузки | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| как установить hotpatch | тема/инструмент | упоминается в заголовке, TL;DR или разделах гайда |
| Windows | платформа/технология | упоминается в заголовке, TL;DR или разделах гайда |
| Microsoft | компания | упоминается в заголовке, TL;DR или разделах гайда |
No independent confirmation is provided; source claims and editorial conclusions are separated below.
| Source | Type | Role |
|---|---|---|
| aka.ms | внешний источник | ссылка из тела гайда |
Cite as: AI Release. Пошаговое руководство: как включить hotpatch-обновления Windows Server и ставить патчи без перезагрузки. ai-release.org.