Before you can perform this task, make sure that
Remote Desktop Services is enabled and that you are logged in with a domain user with administrative privileges on the machine.
-
Set a time limit for disconnected users.
Note: The time limit can be set on two levels: either through a Windows group policy or through the Remote Desktop Services Collection.
The group policy setting has priority over the Remote Desktop Services Collection setting.
Group Policy:
-
Start the
Windows Local Group Policy Editor and navigate to
.
-
Double-click
Set time limit for disconnected sessions.
-
Click
Enabled.
-
For
End a disconnected session, select 1 minute.
Remote Desktop Services Collection:
-
Start the
Windows Server Manager and navigate to
. In the
Properties area, select
Edit Properties from the
Tasks menu.
-
On the
Session Collection dialog, select
Session.
-
For
End a disconnected session, select 1 minute.
-
Click
OK.
-
Allow RDP users to run multiple sessions and launch all programs.
-
Start the Windows
Local Group Policy Editor and navigate to
.
-
Double-click
Restrict Remote Desktop Services users to a single Remote Desktop Services session.
-
Click the
Disabled option.
-
Click
OK.
-
Double-click
Allow remote start of unlisted programs.
-
Click the
Enabled option.
-
Click
OK.
-
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:
-
Navigate to
.
-
Modify the UAC notification level as desired.
-
Click
OK.
-
Add users to the
Remote Desktop Users group.
-
In
, double-click the
Remote Desktop Users group and add the local users that shall be able to execute GUI-level tests.
-
In case the GUI-level test users require administrative privileges during test execution, you can add them to the
Administrators group here.