Pre-launched sessions reduce the time it takes for users to connect to a VirtualUI application in Thinfinity Workspace by preparing Windows sessions on the server before the user clicks a profile icon. In a typical VirtualUI flow, three steps run when a user starts an application: a new session is created on the server, that session is converted into a disconnected user session, and the application is then launched. The first step usually accounts for most of the connection time, so pre-launching sessions can deliver a noticeably faster startup experience.
This article explains how to enable pre-launched sessions, describes the available session management modes and parameters, and shows how to deploy agent pools on a separate server for load balancing.
You configure pre-launched sessions from the VirtualUI tab in the Thinfinity Workspace management console.
Thinfinity Workspace offers two modes that control when sessions are created:
The following parameters control how many pre-launched sessions are kept available and how they are shared.
| Parameter | Description |
|---|---|
| Sessions | Specifies the number of pre-launched sessions kept available at startup. |
| Shared Users | Defines how many users can run their applications inside the same session. The default is 1 (one user per session). When a user closes the application, the session closes and is recreated to maintain the configured pool size. |
| Agent Pool | Identifies the tag of the agent pool. Once the pool is configured, you assign the applications that will run under it. The pool name must also be declared in the agent pool session settings. |

#Sessions × #Shared Users. When more than one shared user is allowed per session, applications launched by the same user are not guaranteed to land in the same session. You can install several agent pools to scale capacity.

You can install agent pools on multiple computers to enable load balancing across servers. To do this, you must adjust a registry entry on each server so that the workspace agent runs in VirtualUI agent mode.

regedit) and navigate to: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Cybele Software\Thinfinity\WorkspaceVUIAgentMode and set its value to 1.After the change, the registry should show the VUIAgentMode entry as illustrated below, with the previous AgentMode entry removed.
After enabling and saving the configuration, verify that the feature is working as expected: