Computer Setup

This section explains how to set up the computers for the test environment.

For workgroup environments, skip tasks that are related to the setup and configuration of DC.

Set Up the Driver Computer

Important: Microsoft Visual Studio 2017 (or later), Protocol Test Framework (build 1.0.6000.0) and Spec Explorer (3.5.3146.0) must be installed on the driver computer before you run the test suite installer.

To set up the driver computer:

1. Copy the test suite package to the driver computer.

2. Extract the files of the test suite from the package.

3. Install the required and optional software described earlier.

4. Run RDP-TestSuite-ServerEP.msi on the driver computer.

Set Up a Windows-Based SUT

To set up a Windows-based SUT:

1. Copy the test suite package to the Windows-based SUT.

2. Extract the files of the test suite from the package.

3. Run RDP-TestSuite-ServerEP.msi on the Windows-based SUT.

To set up a SUT that is not based on the Windows operating system, see Configuring Computers that are Not Based on Windows.

Set Up a Windows-Based Domain Controller (DC)

DC is optional. Skip this step if the test environment is workgroup.

To set up a Windows-based DC:

1. Install Active Directory Domain Services.

To set up a DC that is not based on the Windows operating system, see Configuring Computers that are Not Based on Windows.

Configuration

This section explains how to configure the test environment.

For workgroup environments, skip tasks that are related to the setup and configuration of DC.

Configuring Windows-based Computers

This section explains how to configure computers for a Windows-based test environment. For general information about configuring computers that are not based on Windows, see Configuring Computers that are Not Based on Windows.

Note:

The property values of the .ptfconfig file are automatically set during the configuration process. For this reason, in a Windows-based test environment, configure the SUT and any other servers before you configure the driver computer.

To configure the SUT:

1. Log on to the SUT as Administrator. Enable the Administrator account if it is disabled. Detail

a. In Control Panel, open Administrative Tools and then open Computer Management.

b. In the left panel, open Local Users and Groups under System Tools, and then select Users.

c. In the right panel, double click Administrator and then uncheck the Account is disabled box.

2. Go to C:\MicrosoftProtocolTests\RDP\Server-Endpoint\<version#>\Scripts, and open the Protocol.xml file.

3. Review the properties shown in the xml file, updating the property values as necessary. 4. Run Windows PowerShell as Administrator.

5. At the command prompt, type Set-ExecutionPolicy Unrestricted -F, and press Enter.

6. Type cd C:\MicrosoftProtocolTests\RDP \Server-Endpoint\<version#>\Scripts, and press Enter.

7. Type .\PostConfig-SUT.ps1 and press Enter.

To configure the driver computer:

1. Log on to the SUT as Administrator. Enable the Administrator account if it is disabled. Detail

a. In Control Panel, open Administrative Tools and then open Computer Management.

b. In the left panel, open Local Users and Groups under System Tools, and then select Users.

c. In the right panel, double click Administrator and then uncheck the Account is disabled box.

2. Go to C:\MicrosoftProtocolTests\RDP\Server-Endpoint\<version#>\Scripts, and open the Protocol.xml file.

3. Review the properties shown in the xml file, updating the property values as necessary. 4. Run Windows PowerShell as Administrator.

5. At the command prompt, type Set-ExecutionPolicy Unrestricted -F, and press Enter.

6. Type cd C:\MicrosoftProtocolTests\RDP \Server-Endpoint\<version#>\Scripts, and press Enter.

7. Type .\PostConfig-Driver.ps1 and press Enter.