Configuring Windows 2012 for GUI-Level Testing

Before you can perform this task, make sure that Remote Desktop Services is enabled.

  1. End disconnected sessions.
    1. Start the Windows Server Manager and navigate to Remote Desktop Services > Collections > <name of the collection>. In the Properties area, select Edit Properties from the Tasks menu.
    2. On the Session Collection dialog, select Session.
    3. In the End a disconnected session list, select 1 minute.
    4. Click OK.
  2. Allow RDP users to run multiple sessions and launch all programs.
    1. Start the Windows Local Group Policy Editor and navigate to Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Connections.
    2. Double-click Restrict Remote Desktop Services users to a single Remote Desktop Services session.
    3. Click the Disabled option.
    4. Click OK.
    5. Double-click Allow remote start of unlisted programs.
    6. Click the Enabled option.
    7. Click OK.
  3. User Account Control (UAC) is enabled by default, but is not required for GUI-level testing. If you want to leave UAC turned on, the agent must run under a user account. To configure UAC settings:
    1. Navigate to Control Panel > User Accounts > User Accounts > Change User Account Control Settings.
    2. Modify the UAC notification level as desired.
    3. Click OK.
  4. Using the Windows user and group administration functionality, select the local users that can execute GUI-level tests. Ensure that this user is a member of the Administrators and/or Remote Desktop Users group.