Skip to content

Commit 01c9d4e

Browse files
Merge pull request #90004 from DickTracyII/patch-1
Updated some lines
2 parents f1e0bb4 + 3c6fed2 commit 01c9d4e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 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+
> When this command runs, it enables the appropriate 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,9 @@ 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. For more information, see [What is IP address 168.63.129.16](../../virtual-network/what-is-ip-address-168-63-129-16.md).
265270
266271
1. If the VM is part of a domain, check the following Azure AD policies to make sure the previous
267272
settings aren't reverted.

0 commit comments

Comments
 (0)