Step 1: Setting up the Contoso Domain

Applies To: Windows 7, Windows Server 2008 R2

To prepare your Remote Desktop IP Virtualization test environment in the CONTOSO domain, you must complete the following tasks:

  • Configure the Remote Desktop Connection Broker (RD Connection Broker) server (RDCB-SRV).

  • Configure the Remote Desktop Web Access (RD Web Access) server (RDWA-SRV).

  • Configure the DHCP server (DHCP-SRV)

Use the following table as a reference when setting up the appropriate computer names, operating systems, and network settings that are required to complete the steps in this guide.

Important

Before you configure your computers with static Internet Protocol (IP) addresses, we recommend that you first complete Windows product activation while each of your computers still has Internet connectivity. You should also install any available critical security updates from Windows Update (https://go.microsoft.com/fwlink/?LinkID=47370).

Computer name Operating system requirement IP settings DNS settings

CONTOSO-DC

Windows Server 2008 R2

IP address:

10.0.0.1

Subnet mask:

255.255.255.0

Default gateway:

10.0.0.1

Configured by DNS server role

RDSH-SRV

Windows Server 2008 R2

IP address:

10.0.0.2

Subnet mask:

255.255.255.0

Default gateway:

10.0.0.1

Preferred:

10.0.0.1

CONTOSO-CLNT

Windows 7

IP address:

10.0.0.3

Subnet mask:

255.255.255.0

Default gateway:

10.0.0.1

Preferred:

10.0.0.1

RDCB-SRV

Windows Server 2008 R2

IP address:

10.0.0.5

Subnet mask:

255.255.255.0

Default gateway:

10.0.0.1

Preferred:

10.0.0.1

RDWA-SRV

Windows Server 2008 R2

IP address:

10.0.0.6

Subnet mask:

255.255.255.0

Default gateway:

10.0.0.1

Preferred:

10.0.0.1

DHCP-SRV

Windows Server 2008 R2

IP address:

10.0.0.10

Subnet mask:

255.255.255.0

Default gateway:

10.0.0.1

Preferred:

10.0.0.1

Configure the RD Connection Broker server (RDCB-SRV)

To configure the server RDCB-SRV, you must:

  • Install Windows Server 2008 R2.

  • Configure TCP/IP properties.

  • Join RDCB-SRV to the contoso.com domain.

  • Install the RD Connection Broker role service.

First, install Windows Server 2008 R2 as a stand-alone server.

To install Windows Server 2008 R2

  1. Start your computer by using the Windows Server 2008 R2 product CD.

  2. When prompted for a computer name, type RDCB-SRV.

  3. Follow the rest of the instructions that appear on your screen to finish the installation.

Next, configure TCP/IP properties so that RDCB-SRV has a static IP address of 10.0.0.5. In addition, configure the DNS server by using the IP address of CONTOSO-DC (10.0.0.1).

To configure TCP/IP properties

  1. Log on to RDCB-SRV with the RDCB-SRV\Administrator account or another user account in the local Administrators group.

  2. Click Start, click Control Panel, click Network and Internet, click Network and Sharing Center, click Change adapter settings, right-click Local Area Connection, and then click Properties.

  3. On the Networking tab, click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

  4. Click Use the following IP address. In the IP address box, type 10.0.0.5. In the Subnet mask box, type 255.255.255.0. In the Default gateway box, type 10.0.0.1.

  5. Click Use the following DNS server addresses. In the Preferred DNS server box, type 10.0.0.1.

  6. Click OK, and then close the Local Area Connection Properties dialog box.

Next, join RDCB-SRV to the contoso.com domain.

To join RDCB-SRV to the contoso.com domain

  1. Click Start, right-click Computer, and then click Properties.

  2. Under Computer name, domain, and workgroup settings, click Change settings.

  3. On the Computer Name tab, click Change.

  4. In the Computer Name/Domain Changes dialog box, under Member of, click Domain, and then type contoso.com.

  5. Click More, and in the Primary DNS suffix of this computer box, type contoso.com.

  6. Click OK, and then click OK again.

  7. When a Computer Name/Domain Changes dialog box appears prompting you for administrative credentials, provide the credentials for CONTOSO\Administrator, and then click OK.

  8. When a Computer Name/Domain Changes dialog box appears welcoming you to the contoso.com domain, click OK.

  9. When a Computer Name/Domain Changes dialog box appears telling you that the computer must be restarted, click OK, and then click Close.

  10. Click Restart Now.

Finally, install the RD Connection Broker role service by using Server Manager.

To install the RD Connection Broker role service

  1. Log on to RDCB-SRV as CONTOSO\Administrator.

  2. Click Start, point to Administrative Tools, and then click Server Manager.

  3. Under the Roles Summary heading, click Add Roles.

  4. On the Before You Begin page, click Next.

  5. On the Select Server Roles page, click the Remote Desktop Services check box, and then click Next.

  6. On the Remote Desktop Services page, click Next.

  7. On the Select Role Services page, select the Remote Desktop Connection Broker check box, and then click Next.

  8. On the Confirm Installation Selections page, verify that the RD Connection Broker role service is listed, and then click Install.

  9. After the installation is complete, click Close.

Configure the RD Web Access server (RDWA-SRV)

To configure the RD Web Access server by using Windows Server 2008 R2, you must:

  • Install Windows Server 2008 R2.

  • Configure TCP/IP properties.

  • Join RDWA-SRV to the contoso.com domain.

  • Install the RD Web Access role service.

  • Export the SSL certificate and copy it to the CONTOSO-CLNT computer.

First, install Windows Server 2008 R2 on a stand-alone server.

To install Windows Server 2008 R2

  1. Start your computer by using the Windows Server 2008 R2 product CD.

  2. When prompted for a computer name, type RDWA-SRV.

  3. Follow the rest of the instructions that appear on your screen to finish the installation.

Next, configure TCP/IP properties so that RDWA-SRV has an IPv4 static IP address of 10.0.0.6.

To configure TCP/IP properties

  1. Log on to RDWA-SRV with the RDWA-SRV\Administrator account.

  2. Click Start, click Control Panel, click Network and Internet, click Network and Sharing Center, click Change adapter settings, right-click Local Area Connection, and then click Properties.

  3. On the Networking tab, click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

  4. Click Use the following IP address. In the IP address box, type 10.0.0.6. In the Subnet mask box, type 255.255.255.0. In the Default gateway box, type 10.0.0.1.

  5. Click Use the following DNS server addresses. In the Preferred DNS server box, type 10.0.0.1.

  6. Click OK, and then close the Local Area Connection Properties dialog box.

Next, join RDWA-SRV to the contoso.com domain.

To join RDWA-SRV to the contoso.com domain

  1. Click Start, right-click Computer, and then click Properties.

  2. Under Computer name, domain, and workgroup settings, click Change settings.

  3. On the Computer Name tab, click Change.

  4. In the Computer Name/Domain Changes dialog box, under Member of, click Domain, and then type contoso.com.

  5. Click More, and in the Primary DNS suffix of this computer box, type contoso.com.

  6. Click OK, and then click OK again.

  7. When a Computer Name/Domain Changes dialog box appears prompting you for administrative credentials, provide the credentials for CONTOSO\Administrator, and then click OK.

  8. When a Computer Name/Domain Changes dialog box appears welcoming you to the contoso.com domain, click OK.

  9. When a Computer Name/Domain Changes dialog box appears telling you that the computer must be restarted, click OK, and then click Close.

  10. Click Restart Now.

Next, install the RD Web Access role service by using Server Manager.

To install the RD Web Access role service

  1. Log on to RDWA-SRV as CONTOSO\Administrator.

  2. Click Start, point to Administrative Tools, and then click Server Manager.

  3. Under the Roles Summary heading, click Add Roles.

  4. On the Before You Begin page, click Next.

  5. On the Select Server Roles page, select the Remote Desktop Services check box, and then click Next.

  6. On the Remote Desktop Services page, click Next.

  7. On the Select Role Services page, select the Remote Desktop Web Access check box.

  8. Review the information about adding Web Server (IIS) and the Remote Server Administration Tools, click Add Required Role Services, and then click Next.

  9. On the Web Server (IIS) page, click Next.

  10. On the Select Role Services page, click Next to accept the Web Server (IIS) default settings.

  11. On the Confirm Installation Selections page, verify that the Web Server and RD Web Access role services are listed, and then click Install.

  12. After installation is complete, click Close.

Finally, export the self-signed SSL certificate on RDWA-SRV and copy it to the CONTOSO-CLNT computer.

To export the SSL certificate for the RD Web Access server and copy it to the CONTOSO-CLNT computer

  1. Click Start, click Run, type mmc and then click OK.

  2. On the File menu, click Add/Remove Snap-in.

  3. In the Add or Remove Snap-ins dialog box, in the Available snap-ins list, click Certificates, and then click Add.

  4. In the Certificates snap-in dialog box, click the Computer account option, and then click Next.

  5. In the Select Computer dialog box, click Local computer: (the computer this console is running on), and then click Finish.

  6. In the Add or Remove snap-ins dialog box, click OK.

  7. In the Certificates snap-in console, in the console tree, expand Certificates (Local Computer), expand Personal, and then click Certificates.

  8. Right-click the certificate RDWA-SRV.contoso.com, point to All Tasks, and then click Export.

  9. On the Welcome to the Certificate Export Wizard page, click Next.

  10. On the Export Private Key page, ensure that No, do not export the private key is selected, and then click Next.

  11. On the Export File Format page, ensure that DER encoded binary X.509 (.CER) is selected, and then click Next.

  12. On the File to Export page, in the File name box, click Browse.

  13. In the Save As dialog box, in the File name box, enter RDWA-SRV, and then click Save.

  14. On the File to Export page, click Next.

  15. On the Completing the Certificate Export Wizard page, click Finish.

  16. After the certificate export has successfully completed, a message appears confirming that the export was successful. Click OK.

  17. Close the Certificates snap-in.

  18. When you are prompted to save your settings, click No.

  19. Copy the certificate, located at c:\users\administrator.CONTOSO\Documents\RDWA-SRV.cer on RDWA-SRV, to the CONTOSO-CLNT computer.

Configure the DHCP server (DHCP-SRV)

To configure the DHCP server, you must:

  • Install Windows Server 2008 R2.

  • Configure TCP/IP properties.

  • Join DHCP-SRV to the contoso.com domain.

  • Install the DHCP server role.

First, install Windows Server 2008 R2 on a stand-alone server.

To install Windows Server 2008 R2

  1. Start your computer by using the Windows Server 2008 R2 product CD.

  2. When prompted for a computer name, type DHCP-SRV.

  3. Follow the rest of the instructions that appear on your screen to finish the installation.

Next, configure TCP/IP properties so that DHCP-SRV has an IPv4 static IP address of 10.0.0.10.

To configure TCP/IP properties

  1. Log on to RDWA-SRV with the RDWA-SRV\Administrator account.

  2. Click Start, click Control Panel, click Network and Internet, click Network and Sharing Center, click Change adapter settings, right-click Local Area Connection, and then click Properties.

  3. On the Networking tab, click Internet Protocol Version 4 (TCP/IPv4), and then click Properties.

  4. Click Use the following IP address. In the IP address box, type 10.0.0.10. In the Subnet mask box, type 255.255.255.0. In the Default gateway box, type 10.0.0.1.

  5. Click Use the following DNS server addresses. In the Preferred DNS server box, type 10.0.0.1.

  6. Click OK, and then close the Local Area Connection Properties dialog box.

Next, join DHCP-SRV to the contoso.com domain.

To join DHCP-SRV to the contoso.com domain

  1. Click Start, right-click Computer, and then click Properties.

  2. Under Computer name, domain, and workgroup settings, click Change settings.

  3. On the Computer Name tab, click Change.

  4. In the Computer Name/Domain Changes dialog box, under Member of, click Domain, and then type contoso.com.

  5. Click More, and in the Primary DNS suffix of this computer box, type contoso.com.

  6. Click OK, and then click OK again.

  7. When a Computer Name/Domain Changes dialog box appears prompting you for administrative credentials, provide the credentials for CONTOSO\Administrator, and then click OK.

  8. When a Computer Name/Domain Changes dialog box appears welcoming you to the contoso.com domain, click OK.

  9. When a Computer Name/Domain Changes dialog box appears telling you that the computer must be restarted, click OK, and then click Close.

  10. Click Restart Now.

Finally, install the DHCP server role by using Server Manager.

To install the DHCP server role

  1. Log on to DHCP-SRV as CONTOSO\Administrator.

  2. Click Start, point to Administrative Tools, and then click Server Manager.

  3. Under the Roles Summary heading, click Add Roles.

  4. On the Before You Begin page, click Next.

  5. On the Select Server Roles page, select the DHCP Server check box, and then click Next.

  6. On the DHCP Server page, click Next.

  7. On the Select Network Connection Bindings page, ensure that the 10.0.0.10 check box is selected, and then click Next.

  8. On the Specify IPv4 DNS Server Settings page, ensure that contoso.com appears in the Parent domain box. Ensure that 10.0.0.1 appears in the Preferred DNS Server IPv4 address box, and then click Next.

  9. On the Specify WINS Server Settings page, ensure that the WINS is not required for applications on this network option is selected, and then click Next.

  10. On the Add or Edit DHCP Scopes page, create a new DHCP scope. To create a new DHCP scope:

    1. Click Add.

    2. In the Scope name box, type Remote Desktop IP Virtualization scope.

    3. In the Starting IP address box, type 10.0.0.100.

    4. In the Ending IP address box, type 10.0.0.120.

    5. In the Subnet mask box, type 255.255.255.0.

    6. In the Default gateway box, type 10.0.0.1.

    7. Click OK, and then click Next.

Important

You must ensure that enough IP addresses are allocated in the DHCP scope so that each session can get a unique IP address.

  1. On the Configure DHCPv6 Stateless Mode page, ensure that the Enable DHCPv6 stateless mode for this server option is selected, and then click Next.

  2. On the Specify IPv6 DNS Server Settings page, click Next.

  3. On the Authorize DHCP Server page, ensure that the Use current credentials option is selected, and then click Next.

  4. On the Confirm Installation Selections page, click Install.

  5. After the installation is complete, click Close.

You have set up the Contoso domain. Now you can proceed to Step 2: Installing and Configuring RemoteApp.