Overview of Deploying PcVue Using a RD Session Host
From Windows Server 2008 R2 onwards, Microsoft renamed many of the terms associated with the long established Terminal Server. In particular, Windows Terminal Server has become Windows Remote Desktop Session Host. This help frequently uses RD Session Host as a shortened form of this term.
What is a Remote Desktop Session Host server (RD Session Host server)
Traditional PC are essentially single user. Each PC has a single monitor, keyboard and mouse from which one user at a time interacts with the PC and any running applications.
Windows Server, when configured with Remote Desktop Services, allows several users to concurrently use the resources of a single server and to execute applications installed on the server. A user interacts with applications using a thin terminal connected to the server using a network. The process of a user connected to Windows Server in this manner is called a Remote Desktop Session and uses a standard known as the Remote Desktop Protocol (RDP). Thin terminals supporting RDP come in a variety of forms the most common of which is now a program running on another computer. Under Windows desktop for example, an RDP client is available from the Start menu (Start.Programs.Accessories.Remote Desktop Connection).
In addition to running sessions using a remote desktop, Windows Server also runs a session using the local monitor, keyboard and mouse. This is referred to as the local session (or sometimes as a console session or interactive session).
Running PcVue on Windows Server configured with Remote Desktop Services
When running PcVue on a RD Session Host server, an instance of PcVue can be run from each Remote Desktop Session and/or from the local session. Only a single copy of PcVue is installed, but a license is required for each instance of PcVue that is running.
The deployment of PcVue on a Remote Desktop Server will be as a Desktop Application (as opposed to a Windows Service), so that Remote Desktop sessions can run it interactively. If deployed as a Windows Service, users in Remote Desktop Sessions will not be able to interact with PcVue.
- When an instance of PcVue runs from a local session it behaves in much the same way as it would on a desktop operating system, such as Windows 7, and obtains its license from the dongle plugged into the local PC.
- When an instance of PcVue runs in a Remote Desktop Session it cannot obtain its license directly from the dongle, instead it must acquire it via another instance of PcVue that has been configured for that purpose. PcVue supplying the license is the license owner and PcVue acquiring the license is the license renter.
A typical example of networking architecture can consist in an instance of PcVue running in the local session configured as a data acquisition server, and instances running in Remote Desktop Sessions configured as data clients. It is likely that the instance running in the local session is also configured as the license owner.
Another example of networking architecture is that the data acquisition server runs on a standalone PC to which the dongle is connected. In such a case, the Remote Desktop Session Host server would only host data clients instances.
The SYSTEM.WTS system variable
The register variable SYSTEM.WTS is set to zero when an instance of PcVue is running in the local session and one when running in a Remote Desktop Session.