GUIDE Agent Local Launch Setup Guide: Single Machine for Build and Run

Prev Next

Guide for setting up Local Launch, which runs a GUIDE agent on the same Windows machine where you build it in Guide IDE.

 Minimum build versions required: Guide Build 2.7.0, Harness 2.7.0

1. Feature overview

What it is

Local Launch runs the agent in a Windows child session on the same machine, signed in as a separate local Windows user. No second machine, VM or network join is needed.

How it behaves

  • The GUIDE agent uses child session which has its own desktop, hence the agent's mouse and keyboard input do not interfere with Builder’s session.

  • Guide Build uses a child session with the runtime config's IP address as  localhost  or  127.0.0.1 .

2. Limitations

  • After a run, the child session stays open. You can close it from Task Manager > Users (sign the user out).

 

Task Manager > Users: right-click the user, Sign off. 

3. Known issues and open points

  • A child session can get locked and cannot be signed back in to. In Task Manager > Users, sign the user out.

  • Connecting to localhost with Remote Desktop Connection (mstsc) shows "you already have a console session in progress".

  • The number next to a user in Task Manager > Users, such as "(68)", is a process count, not a session ID.

4. Setup details

4.1 Prerequisites

  • Remote Desktop On: Settings > System > Remote Desktop.

  • The  TermService  (Terminal Services) service running.

  • Guide IDE and Harness installed on the same machine.

4.2 Dependencies

Component 

Requirement 

Windows 

10 version 1903 or later, or 11 

Guide IDE 

2.7.0 

Harness 

2.7.0, same machine as Guide IDE 

Local user 

Local account with a password, in Remote Desktop Users (created by the setup script) 

4.3 Windows policies

Policy 

Value 

Restrict Remote Desktop Services users to a single Remote Desktop Services session 

Disabled or Not Configured 

Require use of specific security layer for RDP 

Negotiate or SSL 

Require Network Level Authentication 

Enabled 

Firewall rule on 127.0.0.1:3389 

None blocking it 

The first three are in Local Group Policy Editor ( gpedit.msc ):

Restrict Remote Desktop Services users to a single Remote Desktop Services session.

Require use of specific security layer for remote (RDP) connections.

Require user authentication for remote connections by using Network Level Authentication.

4.4 Runtime config values

Field 

Value 

Execution Type 

Remote Computer 

IP Address 

 localhost  or  127.0.0.1  

Port 

 3389  (greyed out) 

Username 

 .\guideagent  

Password 

The password set for the local user. Stored in Windows Credential Manager. 

Keep the  .\  prefix. On Microsoft Entra joined machines a bare name is treated as a work account and the sign-in fails.

4.5 Setup steps

1.  Install Guide IDE and Harness on the same machine.

2.  Turn Remote Desktop On: Settings > System > Remote Desktop.

3.  Open PowerShell as administrator and run the setup script. It creates the local user  guideagent , adds it to Remote Desktop Users and warns if child sessions or Remote Desktop are off. Enter a password when asked. Options:  -UserName <name>  for a different user name,  -ResetPassword  for a new password for an existing user..\create-local-launch-user.ps1

4.  In Guide IDE open Settings > Runtime Settings, add a remote config with the values in 4.4 and save.

 

5.  Open the agent, choose the new runtime config in the dropdown and click Run All.