• English
  • Deutsch
  • Nederlands

Twitter!

YouTube

RSS

Banner

Target Systems

PDF Print

1. Custom Command Line

The Login VSI launcher is platform and protocol independent with the introduction of the “Custom” and “Custom with CSV file” connection options. As long as the client allows the use of a command-line to automatically launch sessions, Login VSI will support that platform.

The “Custom” function is really simple. The following variables are supported %input_servername%, %input_username%, %input_domain%, %input_password%, %count%. The image below shows to which field these variables are mapped. %count% corresponds the number of the session that is about to be launched.

Custom Commandline Connection Settings

This example (dummy code) will connect multiple users to a broker:

ExampleClient.exe /user:%input_domain%\%$input_username%%Count% /Broker:%input_servername% /Password:%input_password%

This example (dummy code) will connect multiple user to multiple machines:

ExampleClient.exe /user:%input_domain%\%input_username%%Count% /computer:%input_servername%%count% Password:%input_password%

For added flexibility you can create CSV for input of your custom command line. There is no limitation on the amount of columns (variables) and the naming of the parameters. Use a comma “,” as a delimiter. The setup of the CSV is straightforward, the launcher will process the second row and use the name specified in the first row as variable name. Save the custom CSV file in the Login VSI share.

Workstation User Domain Password
Ws1 User1 Test 1234
Ws4 User5 Test 5432
Ws2 User2 Test 4567

Example csv file

2. Environments:

2.1. Remote Desktop Services

Also known as Terminal Services, RDP and Microsoft Remote Desktop. To setup a RDP connection from Login VSI you can set the connection type to RDP in the Management Console. If you require more flexiblility you can setup a RDP connection from the Custom CommandLine. Because the default MSTSC.exe does not allow password passtrough Login VSI uses LaunchRDP.exe created by Remco Weijnen.

"C:\Program Files\Login Consultants\VSI\Launcher\Agent\LaunchRDP.exe" %CSV_Workstation% 3389 Login_VSI%count% Domain Password! 0 0 0

LaunchRDP.exe requires the following parameters:

Servername Servername (string)
Port 3389 (Default)
Domain The domain name (without dns suffix)
Password
Console 1=True,0=False
RedirectDrives 1=True,0=False
RedirectPrinters 1=True,0=False

 

2.2. VMware View (all versions)

To connect to VMware View commandline we can use VMware's view client directly because it supports sufficient parameters to setup a connection.

-desktopName XXX Desktop to autostart
-domainName XXX Domain for server login
-file XXX File with additional command line parameters
-languageId XXX LCID of language to use (if available), e.g. 0x409 for English
-nonInteractive Suppress error message boxes for fully scripted startup
-password XXX Password for server login
-smartCardPIN XXX PIN for smart card login
-desktopProtocol XXX Attempt to use the specified desktop display protocol
-desktopLayout XXX Specify desktop screen size (e.g. fullscreen, multimonitor, windowLarge, or windowSmall)
-serverURL XXX URL for the View Connection Server
-logInAsCurrentUser XXX Log in as current user (true or false)
-userName XXX User name for server login
-unattended Start in unattended mode. Connects to the entitled desktop without user interaction
-connectUSBOnStartup XXX Connect all USB devices to a desktop when it is launched (true or false)
-connectUSBOnInsert XXX Connect a USB device to the foreground desktop when the device is plugged in (true or false)
-printEnvironmentInfo Print information about the system
-rollback Rolls back a check out (need -desktopName)
-confirmRollback Confirm rollback operation in non-interactive mode
-standalone Enable settingup multiple connections from one machine

Configure the following Custom Commandline together with a CSV file:

"c:\program files\VMware\VMWare View\Client\bin\wswc.exe" -serverURL %CSV_ServerURL% -username fu_VSI -password %CSV_Password% -domainname MyDomain -desktopname %CSV_DesktopName% -Standalone -logInAsCurrentUser False-connectUSBOnStartup False

2.3. Citrix XenApp

ICA Connect uses the locally installed ICA Client to create the connection, so be sure that you have installed a valid client. A prerequisite is to have .Net Framework 2.0 installed.

To let Login VSI connect to a Citrix XenApp farm use the following steps:
  • Download Citrix XML ICA Connector (ICAConnector.zip)
  • Make sure the Citrix Client is installed on all launchers
  • Extract ICAConnect to your VSIShare, for example \\server\VSIShare\ICAConnect (If the folder does not exist create it)
  • Start the Login VSI Management Console and go to the “Test Configuration” tab.
  • Set the “Connection Type” to “Custom Command Line” (CCL) or when required “Custom Command Line with CSV”
  • Configure the following “Custom Command Line”:

\\Server\VSIShare\ICAConnect\ICAConnect.exe /server MyServer /user MyUser1 /password SuperSecretPass /domain LAB /encryption RC5-128

/server XenApp server to connect to; if the /uselb switch is set, this server is used to do load-balancing.
/user Username to use when connecting to the XenApp server.
/password Password to use when connecting to the XenApp server.
/domain Domain to use when connecting to the XenApp server.
/application Published application name (not display name) to connect to. If this option is not set, the connection will be made to the server's desktop
/color Color depth to use in ICA session; possible values are 16, 256, 16bit or 24bit.
/resolution Resolution to use in ICA session; the width and height values are split by the "x" character.
/uselb Use load balancing instead of making a connection directly to the server defined in the /server option
/lbtype Browser type to use when connecting; possible values are TCP or HTTP. This option is only used when the /uselb option is used.
/encryption -Basic (basic encryption)
-RC5-logon (RC5-128bit Logon only)
-RC5-40 (RC5-40bit)
-RC5-56 (RC5-56bit)
-RC5-128 (RC5-128bit)

2.4. Citrix XenDesktop 4

Citrix Consulting Solution Center published an external white paper titled Performance Assessment and Bandwidth Analysis for Delivering XenDesktop to Branch Offices which leveraged Login Consultants VSI Pro as the benchmarking tool for Citrix XenDesktop 4. After the release of the aforementioned document and other Consulting engagements involving Login VSI, guidance was requested regarding the implementation and configuration of the Login VSI benchmarking tool in conjunction with Citrix XenDesktop. Download the Login VSI & Xendesktop 4 configuration guide.

2.5. Citrix XenDesktop via webinterface 5.4

To let Login VSI connect to Citrix XenDesktop 5 or a XenApp farm use the following steps:

  • Download Citrix Webinterface Connector (CTXConnector.zip) (Requires .net 3.0)
  • Make sure the Citrix Client is installed on all launchers
  • Extract CTXConnect to your VSIShare, for example \\server\VSIShare\CTXConnect (If the folder does not exist create it)
  • Start the Login VSI Management Console and go to the “Test Configuration” tab.
  • Set the “Connection Type” to “Custom Command Line” (CCL) or when required “Custom Command Line with CSV”
  • Configure the following “Custom Command Line”:

“\\server\VSIShare\Scripts\CTXConnect\CTXConnector.exe” -s “http://MyXDwebsite” -u “Login_VSI%Count%” -p “Password!” -d “DomainName” -r “DesktopName” -t1 5 -t2 7

  • Save the test settings

CCThis video contains captions (subtitles)

-s http://MyXDWebSite Location of your Citrix Web Interface Site *
-u Login_VSI Username used to connect*
-p Password! Password used to connect*
-d Domain Domainname used to connect
-r Desktopname Name of the resource or desktop you want to connect to (optionally DesktopGroupName)
-debug Enables debug mode
-t1 5 Number of seconds to wait before starting the desktop after authenticating the user
-t2 5 Number of seconds to wait before logging off user / closing IE after starting desktop

To troubleshoot XDConnect you can create a CMD file with the contents below. You can run this CMD file directly on any launcher that has the Citrix Client installed and access to the XDConnect.exe file. Make sure that on a per launcher basis only one instance of CTXConnect is running at the same time, if they overlap please change the logon interval or change the t1/t2 parameters.

“\\server\VSIShare\Scripts\XDConnect\XDConnect.exe” -s “http://MyXDwebsite” -u “Login_VSI1” -p “Password!” -d “DomainName” -r “DesktopName” -debug

This should open a new instance of internet explorer browse to the webinterface site authenticate a user and connect the desktop. When the connection fails debug information will be stored in the %temp%\VSI\Log folder.

2.6. XenDesktop Alternative by Citrix

Citrix released a whitepaper on connecting Login VSI with XenDesktop

2.7. Quest vWorkspace

To connect Login VSI with a Quest vWorkspace environment use the following steps:

  • Publish a PIT file with an application name, not a servername. (see below).
questvworkspaceclient
  • Save this as .PIT file
  • You can use PNTSC.exe [PITFILE from step 2] -username [username] -password [password] to execute a PIT file. This will execute against the broker
  • Use the following Custom Command line in the Login VSI management console:

C:\PathTo\PNTSC.exe [PITFILE from step 2] -Username Login_VSI%Count% -Password Password!