Skip to content

Commit 6e9cc48

Browse files
authored
Updated some lines
There were some areas that were confusing for customers. Changing @FirewallAPI.dll,-28752 to Remote Desktop makes more sense. Also by running the Enable-PSRemoting command; in testing this enables this firewall rule as well (the Also WINRM-HTTP-In-TCP-PUBLIC does not exist). I also added the Azure platform message to further clarify WHY customers are hardcoding an IP address.
1 parent 73eb699 commit 6e9cc48

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

articles/virtual-machines/windows/prepare-for-upload-vhd-image.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,13 +240,15 @@ Make sure the following settings are configured correctly for remote access:
240240

241241
```powershell
242242
Enable-PSRemoting -Force
243-
Set-NetFirewallRule -Name WINRM-HTTP-In-TCP, WINRM-HTTP-In-TCP-PUBLIC -Enabled True
244243
```
244+
245+
> [!NOTE]
246+
> By running this command; it will enable the appropiate firewall rules automatically
245247
246248
1. Enable the following firewall rules to allow the RDP traffic:
247249

248250
```powershell
249-
Set-NetFirewallRule -Group '@FirewallAPI.dll,-28752' -Enabled True
251+
Get-NetFirewallRule -DisplayGroup 'Remote Desktop' | Set-NetFirewallRule -Enabled True
250252
```
251253

252254
1. Enable the rule for file and printer sharing so the VM can respond to ping requests inside the
@@ -262,6 +264,10 @@ Make sure the following settings are configured correctly for remote access:
262264
New-NetFirewallRule -DisplayName AzurePlatform -Direction Inbound -RemoteAddress 168.63.129.16 -Profile Any -Action Allow -EdgeTraversalPolicy Allow
263265
New-NetFirewallRule -DisplayName AzurePlatform -Direction Outbound -RemoteAddress 168.63.129.16 -Profile Any -Action Allow
264266
```
267+
268+
> [!IMPORTANT]
269+
> 168.63.129.16 is a special public IP address that is owned by Microsoft for Azure Platform
270+
> ([what-is-ip-address-168-63-129-16](../../virtual-network/what-is-ip-address-168-63-129-16.md))
265271
266272
1. If the VM is part of a domain, check the following Azure AD policies to make sure the previous
267273
settings aren't reverted.

0 commit comments

Comments
 (0)