Once you set up Hotpatch for Home windows Server 2022 Datacenter: Azure Edition, you may set up safety updates with out rebooting. It may be used with each Desktop Expertise and Server Core. On this submit, we’ll see the way to allow Hotpatch for Azure Edition virtual machine built for ISO.

What’s Azure Edition Hotpatch?

The aim of the Azure Edition Hotpatch is to permit the set up of safety updates with out the necessity to reboot the server to make sure excessive availability of the server. It has another perks together with a safer setting and faster updates.

Enable Hotpatch for Azure Edition virtual machines built from ISO

When utilizing Hotpatch for your ISO-deployed machine on Azure Stack HCI, the Hotpatch expertise differs. The Hotpatch will at all times be enabled, furthermore, its configuration might be absent from the Azure Replace Supervisor. Additionally, the Orchestration can solely be carried out manually.

To allow Hotpatch for Azure Edition virtual machines built from ISO, we have to undergo the next stipulations.

  • You could ensure that your platform helps Home windows Server 2022 Datacenter: Azure Edition. You may go together with platforms similar to Azure or Azure Stack HCI (model 21H2 or above) with Azure advantages enabled.
  • You could configure an outbound community entry or an outbound port rule to permit HTTPS (TCP/443) visitors to go.microsoft.com or software-static.obtain.prss.microsoft.com.

So, when attempting to get the Hotpatch working, it’s essential to maintain the aforementioned stipulations in verify.

Make your server prepared for set up

After checking all of the stipulations, it’s time to make your server prepared to put in and allow Hotpatch. To take action, initially, signal into your server. In the event you’re utilizing Server Core, go to the SConfig menu, choose possibility 15, and press Enter to open a PowerShell session. In the event you’re utilizing the desktop expertise, entry your VM by way of a distant desktop, after which launch PowerShell.

Initially, we have to allow Virtualization-based safety. You are able to do that by executing the next command in PowerShell

$registryPath = "HKLM:SYSTEMCurrentControlSetControlDeviceGuard" $parameters = $parameters = @{ Path = $registryPath Title = "EnableVirtualizationBasedSecurity" Worth = "0x1" Power = $True PropertyType = "DWORD" } New-ItemProperty @parameters

Now you can, reboot your laptop. As soon as your laptop begins, run the next command to set the Hotpatch desk dimension.

$registryPath = "HKLM:SYSTEMCurrentControlSetControlSession ManagerMemory Management" $parameters = $parameters = @{ Path = $registryPath Title = "HotPatchTableSize" Worth = "0x1000" Power = $True PropertyType = "DWORD" } New-ItemProperty @parameters

Lastly, we have to execute the next command to configure the Home windows Replace endpoint for Hotpatch

$registryPath = "HKLM:SOFTWAREMicrosoftWindows NTCurrentVersionUpdateTargetingInfoDynamicInstalledHotpatch.amd64" $nameParameters = $parameters = @{ Path = $registryPath Title = "Name" Worth = "Hotpatch Enrollment Package" Power = $True } $versionParameters = $parameters = @{ Path = $registryPath Title = "Version" Worth = "10.0.20348.1129" Power = $True } New-Merchandise $registryPath -Power New-ItemProperty @nameParameters New-ItemProperty @versionParameters

After configuring the Hotpatch registry, we have to set up it.

Learn: Home windows Server Tutorial and Suggestions

Obtain and set up the Hotpatch servicing bundle

Lastly, we have to obtain and set up the Hotpatch servicing bundle. Nonetheless, for that to occur, it’s essential to obtain Microsoft Replace Standalone Bundle KB5003508  from the Microsoft Replace Catalog and duplicate it to your laptop. To take action, run the command talked about under.

$parameters = @{ Supply = " Destination = ".KB5003508.msu" } Begin-BitsTransfer @parameters

Now, we have to set up the bundle that we simply downloaded, for that, run the under command.

wusa.exe .KB5003508.msu

To confirm whether or not the bundle is put in, run the command talked about under.

Get-HotFix | Where-Object {$_.HotFixID -eq "KB5003508"}

That’s it! Your job is done.

Read: How to check SMB version on Windows 11

How to attach ISO file to Azure VM?

You can’t make an Azure VM from an ISO file. You can only create VMs from VHDs, Managed Disks, or Managed Disk Images/Snapshots. If you want to use this ISO in Azure, you would need to use something like HyperV on-premises to create a VM, export the VHD, and upload it to Azure.

Additionally Learn: Home windows Server 2022 {Hardware} Necessities.



Source link

Share.
Leave A Reply

Exit mobile version