The following Parallels Client for Windows parameters are available when launching published application and published desktop in a single client session from the command line.
Parameters
Note
s!='primary server'
Primary Server hostname or IP address.
b!='backup server'
Secondary Server hostname or IP address.
a!='application/desktop id'
Published Application/Desktop ID.
p!='override application params'
t!='port'
Port of the Parallels RAS server connection.
u!='username'
Username for the user to connect with.
q!='password'
Password for the user.
d!='domain' ignored if user name is in UPN format
Domain name.
l!='0/1' 0 use primary server, 1 user backup server
Specify value in order to connect either to primary or backup server.
m!='connection mode' (gateway mode = 0, direct mode 1, gateway ssl mode = 2, direct ssl = 3, direct rdp=4)
Specify value for the connection mode.
o!='0/1' if set to 1 credentials are overwritten with SSO information if available
When set to 1, credentials are overwritten with SSO credentials.
i!='connection alias'
Specify a connection Alias.
c!
Always ask for credentials.
r!
Reconnect if connection is dropped .
In Command Prompt, go to the location were Parallels Client is installed and run the following command:
Running the above command will launch Published application with ID92, for user testerjm.
The following Parallels Client for Windows parameters are available for managing several sessions from the command line:
Parameters
Note
-s filename
Write session information to a file called "filename".
-importsettings filename
Import session setting from a file called "filename".
-disconnectallsessions
Disconnects all RAS and RDP connections
-logoffallsessions
Logs off all RAS sessions and disconnects all RDP sessions
-sharedevice "mode:args"
Possible modes are:
0: Delete any shared device information. The existing shared connections will be deleted by the client when it is started.
1: Create a shared connection and shared connection information (i.e. server, port, mode, backup connections, connection mode)
2: Create a shared connection and shared connection information (i.e. server, port, mode, backup connections), and user name and password. Connection mode is assumed to be credentials.
Possible arguments are:
ui: Show the UI dialog to enter the shared connection information and credentials.
import: Import shared connection information and credentials from a file.
export: Export shared connection information and credentials to a file.
Manage one shared connection for multiple users working on the same Windows computer.
Possible combinations are:
0:
1:ui
1:import:file
1:export:file
2:ui
2:import:file
2:export:file
To call Parallels Client for Windows with these parameters, use the appserverclient.exe binary file.
For example, the command below will disconnect all running sessions: