Managing multiple sessions from the command line
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
Usage
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:
Last updated