Step 2: Setting Up the Virtual Machine

Applies To: Windows Server 2008 R2 with SP1

To install Windows 7 with SP1 and configure the virtual machine that will be used as a personal virtual desktop, you must complete the following tasks:

  • Prepare the personal virtual desktop (PVD1-CLNT)

  • Configure the virtual machine for Remote Desktop Services

Prepare the personal virtual desktop (PVD1-CLNT)

Use the following procedures to configure the virtual machine that will be used as a personal virtual desktop:

  • Install Windows 7 with SP1 on the virtual machine.

  • Configure TCP/IP properties and the DNS server.

  • Join the virtual machine to the contoso.com domain.

To install Windows 7 with SP1 on a virtual machine

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

  2. Insert the Windows 7 with SP1 DVD into the DVD drive on the RDVH-SRV server.

  3. To open Hyper-V Manager, click Start, point to Administrative Tools, and then click Hyper-V Manager.

  4. Right-click RDVH-SRV, point to New, and then click Virtual Machine.

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

  6. In the Name box, type pvd1-clnt.contoso.com, and then click Next.

  7. On the Assign Memory page, in the Memory box, type 1024 if you are using a 32-bit version of Windows 7 with SP1. If you are using a 64-bit version of Windows 7 with SP1, type 2048.

  8. Click Next.

  9. On the Configure Networking page, in the Connection box, select the virtual network that contains the other virtual machines in the contoso.com domain, and then click Next.

  10. On the Connect Virtual Hard Disk page, in the Name box, type pvd1-clnt.contoso.com, in the Size box, type 30, and then click Next.

  11. On the Installation Options page, click Install an operating system from a boot CD/DVD-ROM drive.

  12. In the Physical CD/DVD drive box, select the DVD drive that contains the Windows 7 with SP1 DVD, and then click Next.

  13. On the Completing the New Virtual Machine Wizard page, review the installation options, and then click Finish.

  14. In the Virtual Machines area, right-click pvd1-clnt.contoso.com, and then click Connect.

  15. On the Action menu, click Start to start the installation of Windows 7 with SP1.

  16. During the installation of the virtual machine, specify pvd1-clnt as the name of the computer.

To configure TCP/IP properties and the DNS server

  1. Log on to PVD1-CLNT as a member of the local Administrators group.

  2. Click Start, click Control Panel, click Network and Internet, and then click Network and Sharing Center.

  3. Click Change adapter settings, right-click Local Area Connection, and then click Properties.

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

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

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

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

To join PVD1-CLNT 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, type the CONTOSO\Administrator credentials, 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.

Configure the virtual machine for Remote Desktop Services

After you have installed Windows 7 with SP1 on the virtual machine and configured the virtual machine for the contoso.com domain, you must configure the personal virtual desktop to work with Remote Desktop Services. You can configure the personal virtual desktop manually or by copying the Windows PowerShell script found in the Script Repository (https://go.microsoft.com/fwlink/?LinkID=184804).

Note

If you configured the personal virtual desktop by using the script, you can advance to Step 3: Configuring the Personal Virtual Desktop.

Use the following procedures if you want manually configure the personal virtual desktop:

  • Enable Remote Desktop.

  • Add the user accounts that will be using this virtual machine to the local Remote Desktop Users security group.

To enable Remote Desktop

  1. Log on to PVD1-CLNT as a member of the local Administrators group.

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

  3. Click Remote settings.

  4. Under Remote Desktop, click Allow connections only from computers using Remote Desktop with Network Level Authentication (more secure), and then click OK.

Note

The following procedure adds a user named Morgan Skinner to the security group on PVD1-CLNT.

To add Morgan Skinner to the local Remote Desktop Users group

  1. Click Start, and then click Control Panel.

  2. Click System and Security, click Administrative Tools, and then double-click Computer Management.

  3. Expand Local Users and Groups, and then click Groups.

  4. Right-click Remote Desktop Users, and then click Add to Group.

  5. Click Add, and in the Select Users, Computers, Service Accounts, or Groups box, type contoso\mskinner, and then click OK.

  6. Close the Remote Desktop Users Properties dialog box.

Important

All users who will be using RemoteFX on this virtual desktop must be a member of the Remote Desktop Users group, even user accounts that are a member of the local Administrators group.

You have configured the virtual machine that will be used as a personal virtual desktop. Now you can proceed to Step 3: Configuring the Personal Virtual Desktop.