The file rpcsetup.exe includes several different programs: server, client, helpdesk, install, uninstall, exegen. Each program is activated by its specific command line switch:
| Access Remote PC Programs |
| rpcsetup.exe /install <install switches> |
Starts installer. If the program is not installed, running rpcsetup.exe without this switch starts installation automatically.
If the program is installed, this switch forces installation. You can use it to reinstall or repair your existing installation. |
| rpcsetup.exe /uninstall <uninstall switches> |
Starts uninstaller. |
| rpcsetup.exe /server <server switches> |
Starts the server. |
| rpcsetup.exe /client <client switches> <optional path to .rpc file> |
Starts the client. You can optionally specify a path to Remote PC Shortcut
file (.rpc) to automatically connect and login to a remote system. |
| rpcsetup.exe /helpdesk <helpdesk switches> |
Starts helpdesk-mode server |
| rpcsetup.exe /exegen <exegen switches> |
Starts exegen utility. |
| Install Switches: |
| /silent |
When this switch is used, the installer does not show dialogs and message boxes (including error messages).
Instead, use command-line switches to control the operation of the program.
You can use the /log switch to log all events generated by the setup to a text file. |
| /log "PATH" |
Log all events to the file specified by the PATH. Paths with spaces must be enclosed in quotation marks. If path is omitted, log file will be created in the same directory as rpcsetup.exe with the name <ComputerName-DateTime>.log |
| /installdir "PATH" |
Install to the specified directory. Paths with spaces must be enclosed in quotation marks.
Default is "Access Remote PC <Version>" in the Program Files directory. If using this switch, you must specify the entire path. |
| /dontcopysettings |
Do not copy settings from the old version. The switch is useful when upgrading. By default, setting from the old version are preserved. This switch is valid only if used with the /silent switch. |
| /replaceexe |
Replace executable when repairing an installation. By default, the executable file is left intact during reinstallation if it was found. |
| /programgroup "NAME" |
Specifies the name for the Program Group in the Start menu. If this switch is omitted, the name will be "Access Remote PC <Version>" |
| /noshortcuts |
Do not create program group in the Start menu. This switch is valid only if used with the /silent switch. You can also exclude individual shortcuts from the Start menu using the following command-line switches: |
| /noclientshortcut |
Exclude client shortcut from the Start menu. This switch is valid only if used with the /silent switch. |
| /noservershortcut |
Exclude server shortcut from the Start menu. This switch is valid only if used with the /silent switch. |
| /nouninstallshortcut |
Exclude uninstall shortcut from the Start menu. This switch is valid only if used with the /silent switch. |
| /nodocshortcut |
Exclude documentation shortcut from the Start menu. This switch is valid only if used with the /silent switch. |
| /dtclient |
Create a client icon on the Desktop |
| /dtserver |
Create a server icon on the Desktop |
| /dtserverstandalone |
Create a standalone server icon on the Desktop |
| /qlclient |
Create a client icon in the Quick Launch |
| /qlserver |
Create a server icon in the Quick Launch |
| /qlserverstandalone |
Create a standalone server icon in the Quick Launch |
| /port PORT |
Use specified port number for the server.
|
| /hideicon |
Do not show the tray icon in the Task bar. This setting is
preserved across sessions. |
| /ntserviceoff |
Do not install NT service. By default, the service is installed.
Note that NT service can be installed only under account with administrative privileges. |
| /autostartoff |
Do not start server at Windows startup. By default the server is installed with autostart option turned on. |
| /rpc-number RPC-NUMBER |
Set RPC Number to be used to connect to this computer |
| /rpc-password RPC-PASSWORD |
Set the password provided with the RPC Number when you signed up for the service |
| /regname "NAME" |
Specify the registered name for license installation. |
| /regkey KEY |
Specify the registration key for license installation. |
| /cmdline ("COMMAND-LINE") |
Specifies the command line to be embedded into the installed executable. Must be enclosed in double quotes and parantheses as shown here. |
| See also the switches used to create a user account below. |
| Server Switches: |
| /standalone |
Start the server in standalone mode as ordinary application.
|
| /silent |
Start the server minimized.
|
| /startservice |
Start Access Remote PC service. To restart the service, use both /stopservice and /startservice switches. |
| /stopservice |
Stop Access Remote PC service. |
| /port PORT |
Use specified port number. The setting will be preserved.
|
| /hideicon |
Do not show the tray icon in the Task bar. This setting is
preserved across sessions. To show the icon again, use the /showicon switch. |
| /showicon |
Show the tray icon in the Task bar. This setting is preserved across sessions. |
| /autostart |
Start server (as the system service) at Windows startup. On Windows NT platforms
(NT4.0/2000/XP) this switch is ignored if NT service is not installed and the
program is started under account without administrative privileges.
|
| /autostartoff |
Do not start server (as the system service) at Windows startup. |
| /exit |
Process command line and exit. |
| /rpc-number RPC-NUMBER |
Set RPC Number to be used to connect to this computer |
| /rpc-key RPC-PASSWORD |
Set the password provided with the RPC Number when you signed up for the service |
| See also the switches used to create a user account below. |
| The following switches can be used to create a user account from the command-line. The order of the switches is not important.
These switches can be used only with /install and /server switches. |
| /user USERNAME |
Mandatory |
| /pass PASSWORD |
Mandatory |
| /userdir "DIRECTORY" |
Optional. Defaults to "unrestricted". |
| /perm PERMISSIONS |
Optional. Defaults to 255 ("all permissions").
Permissions is a number that can be calculated by
adding the numbers corresponding to individual permissions: |
| View screen |
1 |
| Control keyboard and mouse |
2 |
| Upload files |
4 |
| Download files |
8 |
| Delete files |
16 |
| Browse files |
32 |
| Allow connections to unattended sessions |
64 |
| Allow sound transfer |
128 |
| Do not display a connection notification |
256 |
| Automatically remove desktop wallpaper |
512 |
| All permissions |
1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 + 512 = 1023 |
|
| /timeout NUMBER |
Inactivity timeout in seconds. The default is 0 (no timeout). |
| /ntauth |
Use NT integrated authentication for the created account. |
| /ntgroup |
When used with /ntauth, specifies that the username is NT security group name. |