Skip to content

Commit 7d8b383

Browse files
authored
Update PowerShell commands for hotpatch mitigation
Added PowerShell commands for enabling hotpatch on Azure Arc-enabled servers.
1 parent 4250d6a commit 7d8b383

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

WindowsServerDocs/get-started/enable-hotpatch-azure-arc-enabled-servers.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ Once either of the following workarounds is applied, subsequent hotpatches (in N
174174
Run the following series of PowerShell commands as administrator on each of the affected machines. Note that the last command will prompt for a restart. The mitigation is not complete until the machine is rebooted, and we recommend that you restart immediately after the previous commands are executed.
175175
```PowerShell
176176
Stop-Service -Name 'himds'
177+
New-Item -Path 'HKLM:\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides' -Force
177178
New-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Policies\Microsoft\FeatureManagement\Overrides' -PropertyType 'dword' -Name '4264695439' -Value 1 -Force
178179
if ( ( Get-Itemproperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Subscriptions' ).DeviceLicensingServiceCommandMutex ) {
179180
Remove-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Subscriptions' -Name 'DeviceLicensingServiceCommandMutex'

0 commit comments

Comments
 (0)