Deploying PcVue on an RDS host

Using the PcVue SV Core Session Host service

The service SV Core Session Host is installed and deployed as part of PcVue installation and deployment tools. See Using the Core Management Console to run PcVue as a Windows Service for more information.

You must start the service SV Core Session Host to run PcVue when used in a Remote Desktop Session.

We recommend you to document these settings as part of your project documentation so that you are able to set them again each time you update the PcVue version, replace a computer or in any other situation requiring that you run the Component Registration Utility.

Configuring User Permissions for PcVue's Folders When Running on an RD Session Host Session

The permissions and access control lists for the installation folders when using RDS are similar to those when using local interactive sessions, except that the folders are stored on the RDS server.

The Windows user account that runs PcVue must have the Read and Execute Permissions on the Program folder, by default C:\Program Files\ARC Informatique\PcVue 17\Bin\

The exact permissions required depends on the station host and vary depending on the sub-folders :

  • Read and Modify Permissions required on sub-folders \dumps and \logs on all station hosts.
  • On an engineering host, the Read and Modify Permissions are required on the project folder so configuration changes can be saved.
  • On a host in production, the Read Permissions is required on the project folder and all sub-folders and files it includes. The Write Permissions is required on a subset of files where persistent data are stored.

We recommend creating a user group similar to Remote Desktop Users that includes all PcVue Remote Desktop users.

You can find more information about configuring the Remote Desktop Users Group on the Microsoft website using the following Url: http://technet.microsoft.com/library/cc743161.aspx.

When you change the user permissions of a folder, the permissions of all sub-ordinate folders are also changed if inheritance is enabled.

See the topic Operating system related considerations for more information about general requirements related to user permissions.

Changing the PcVue Command Line When Running in a Remote Desktop Session

The PcVue command line must be changed to run it in a remote desktop session.

It is recommended that you do not use PcVue in development mode when running in a remote desktop session.

The command line argument -wts

The -wts command line argument informs PcVue that it is to run in a remote desktop session on Windows Server. There are two syntaxes as follows.

-wts ProjectName,ClientStationListName

  • ProjectName The name of the project with which PcVue will start.
  • ClientStationListName The name of a client station list (from Application Explorer.Communication.Networking.Stations.Lists). The station number for the instance of PcVue is selected automatically.

-wts <ProjectName>,<StationName>

  • ProjectName The name of the project with which PcVue will start.
  • StationName The name of a specific station (from Application Explorer.Communication.Networking.Stations). The station number for the instance of PcVue is the one defined in the configuration.

If ProjectName or ClientStationListName contain spaces they must be placed within quotation marks "".

In both cases, the fallback station number set with the Host Deployment Console or the svcmd CLI is ignored. If the host is protected, it must be protected to run the project ProjectName.

The command line argument -station_number

The command line argument -station_number MUST NOT be used when PcVue is run in a Remote Desktop session on Windows Server.

For further information, see the topic Command line arguments.

Changes to the Management of Trace Files When Running PcVue in a RD Session Host Session

On a single user installation of PcVue, the trace files that are a record of what appears in the trace window (F7), are found under in the folder \Bin\Log Files.

When running a networked application on a RD Session Host server, the behavior is modified. The trace files for instances of PcVue running in RD Session Host sessions are found in a sub-folder of \Bin\<Log Files\WTS\<station_name>, where the sub-folder name is that of the station name (from PcVue's network configuration) of the instance that created them.