Configuring the VM Environment

After the Windows OS is installed on the VM, disable the firewall and configure remote desktop.

Windows Server 2012 R2/Windows Server 2016

  1. Click image1 in the lower left corner to start Server Manager.

  2. In the navigation pane on the left, choose Local Server. In the right pane, click the link following Windows Firewall.

  3. In the Windows Firewall dialog box, choose Turn Windows Firewall on or off in the navigation pane on the left.

  4. In the Customize Settings dialog box, turn off the Windows firewall for the private and public networks.

  5. Go back to the Local Server page and click the link following Remote Desktop.

  6. In the System Properties window, select the options shown in the red box in the following figure.

    image2

  7. Go back to the Local Server page and verify that statuses of the properties are those shown in the red box in the following figure.

    image3

Windows Server 1709

  1. In the CLI, enter regedit to open the registry.

  2. Disable the firewall.

    1. In the Registry Editor window, choose HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > SharedAccess > Parameters > FirewallPolicy > StandardProfile and set EnableFirewall to 0.

    2. Choose HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > SharedAccess > Parameters > FirewallPolicy > DomainProfile and set EnableFirewall to 0.

    3. Choose HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > SharedAccess > Parameters > FirewallPolicy > PublicProfile and set EnableFirewall to 0.

  3. Enable remote connections.

    In the Registry Editor window, choose HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Terminal Server and set fDenyTSConnections to 0.