Pre Launched Sessions Workspace - VirtualUI
This feature is intended to reduce the connection time of a VirtualUI session by having the Windows session previously launched. In a typical Thinfinity Workspace-VirtualUI operation, when a user clicks on an icon profile, a series of steps are initiated to launch an application. The high-level view of this process includes:
Creating a new session on the server
Transforming to a disconnected user session
Starting the application
The first step, creating a new session on the server, generally consumes the most time. Analysis shows that this step significantly impacts the overall connection time. To optimize this, Thinfinity Workspace offers a feature for pre-launching sessions. This is available for applications that use the VirtualUI protocol and can help reduce the time spent in the initial session creation.
Configuration Steps
You can configure the pre-launch sessions in the VirtualUI tab:
- Open the VirtualUI Tab: Navigate to the VirtualUI settings in Thinfinity Workspace.
- Enable Pre-Launch Sessions: Look for the option to enable pre-launch sessions and activate it.
- Adjust Settings as Needed: Configure any additional settings to tailor the pre-launch sessions to your specific needs.
By enabling and configuring pre-launch sessions, you can significantly improve your application's connection time, enhancing the overall user experience.
![](https://kb.cybelesoft.com/galleryDocuments/edbsn9acd05dfb0e24e4ca883a6840b6b6f236022ad36c90bc5bfc306a965f852b8e66e9ea6131f2e8e6b071460c68083fbbe?inline=true)
Session Management Options
On Demand:
Start with Service Start:
- Sessions are created and disconnected automatically based on the user configuration as soon as the service starts.
Configuration Parameters
Sessions: Specifies the number of pre-launched sessions at startup.
Shared Users: By default, this is set to 1, meaning each session accommodates one user at a time. You can increase this number to allow multiple users to run their applications within the same session.The service will maintain the number of sessions. When the user closes the application, the session will close and restart again.
![](https://static.zohocdn.com/zoho-desk-editor/static/images/file.png)
The maximum number of applications that the server can run in this mode is calculated as `#Sessions * #Shared Users`.
If you have more than one shared user, it is not guaranteed that all applications of the same user will be in the same session.
You can install several agent pools.
- Agent Pool: Identifies the tag of the agent pool. After configuring the pool, assign the applications that will run under this pool. For example, in the agent pool session, you need to declare the pool name.
![](https://kb.cybelesoft.com/galleryDocuments/edbsn4d13d0c31c4f900f1615f066645156fc46d650f78389d1921adb6a3b8c752be7bb4e404567dbec82313f91395f892295?inline=true)
![](https://static.zohocdn.com/zoho-desk-editor/static/images/caution.png)
Any changes to the pool definitions will drop all the related sessions and disconnect the users connected to those sessions.
![](https://static.zohocdn.com/zoho-desk-editor/static/images/file.png)
Each new empty session consumes around 38.2 MB of RAM.
Installing Agent Pool on a different server
You can install agent pools on several computers to enable load balancing. Note that you need to perform some modifications to your server's registry to configure this setup.
After you do the installation you must change the registry to change the workspace agent to a VUIAgentMode performing.
- Open Regedit and look for Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Cybele Software\Thinfinity\Workspace and delete the AgentMode entry.
![](https://kb.cybelesoft.com/galleryDocuments/edbsn5f1d8eb792bbcf2f71e0186538babe06582167ef8b61ae8bd440178dc7b7a5a499c66b643dddc665effc1448c347f488?inline=true)
Create a new DWORD entry VUIAgentMode and delete the AgentMode one from the registry.
Values to modify:
Agent Mode —--------> delete it
—----------> Added (DWORD value =1)
You VuiAgentMode should have the registry as the image below:
![](https://kb.cybelesoft.com/galleryDocuments/edbsn3e5bf59475174dbcba680a9fbf754b09c02441f9d08ea992342ba113922db4baec71336fb7c9aefb3601b1dfc518694c?inline=true)
Related Articles
How to Configure VirtualUI Sessions
Product: Thinfinity Workspace Versions: 7 and later Introduction Welcome to the VirtualUI Sessions configuration guide for Thinfinity Workspace. This concise guide provides the instructions to ensure the successful configuration of VirtualUI ...
How to Publish a VirtualUI Application on a Secondary Broker
Product: Thinfinity Workspace Versions: 7 and later Introduction In this document, we will guide you through the process of publishing a VirtualUI application on a Secondary Broker. Publishing VirtualUI applications on a Secondary Broker in ...
What's New on Thinfinity Remote Workspace 7
Introduction Welcome to our comprehensive guide to the Thinfinity® Workspace 7. This article will introduce you to the product's groundbreaking features, new connection protocols, and enhanced user experience. Thinfinity® Workspace 7 is the epitome ...
How to Install and Configure IIS as a Reverse Proxy with Thinfinity Workspace/VirtualUI
Product: Thinfinity Workspace/VirtualUI Version: 7 and later Introduction This guide will walk you through the step-by-step process of installing and configuring Microsoft Internet Information Services (IIS) as a powerful Reverse Proxy Server in ...
How to Enable H264 in Thinfinity Workspace
Product: Thinfinity Workspace Version: 7 and later Introduction H264 is the most widely used format for efficiently capturing, compressing, and distributing high-quality video content. As such, Thinfinity Workspace must work with H264 to provide a ...