Use command line to run Dameware Mini Remote Control

You can use command line options to run DamewareMini Remote Control.This functionality is supported by direct connection only. The following sections provide the syntax and switches with several examples.

Syntax

Use the following syntax when running Dameware Mini Remote Control from the command line:

dwrcc.exe [-?|-?:] [-c:] [-h:] [-m:MachineName] [-u:UserName] [-p:Password | -p:"Password"] [-d:Domain] [-o:TCPport] [-s:SharedSecret] [-r:] [-vnc:] [-a:0|1|2] [-prxa:MRCproxyAddress] [-prxp:MRCproxyPort] [-prxsMRCproxySecret] [-v:] [-md:] [-i:n] [-x:] [-bh:CentralServerHostAddress] [-bpn: CentralServerPortNumber] [-bu:CentralServerUserName] [-bps:CentralServerUserPassword]

Common example

The command line in the following example opens the Dameware Mini Remote Control application and tries to connect a remote system with these parameters:

  • Remote system name: SUPPORT
  • Port: TCP 6129
  • Authentication method: Encrypted Windows logon
  • Username: password
  • On disconnect: Close the application.
dwrcc.exe -c: -h: -m:SUPPORT -u:John -p:password -d:DameWare -o:6129 -a:2

Notes:

  • Any settings not specified on the command line are retrieved from the Default Host Properties.
  • Do not use Dameware Internet Proxy information. The Dameware Internet Proxy is only used for Internet Sessions.

Switches

The following command line switches and behaviors can be used with Dameware Mini Remote Control:

Switch Description
-?:

Displays the Help menu.

Example dwrcc.exe -?:

-c:

Connect automatically.

Example: dwrcc.exe -c: -m:123.123.123.123

-h:

Will bypass the Dameware Mini Remote Control Host Entry settings using the default connection settings unless specified otherwise by additional command line options (used with -c).

Example: dwrcc.exe -c: -h: -m:123.123.123.123

-m:

Sets the machine or host name or IP address.

Example dwrcc.exe -c: -m:123.123.123.123 -u:myUsername

-u:

Sets the User ID.

Example dwrcc.exe -c: -m:123.123.123.123 -u:myUsername

-p:

The password field now has the ability to be enclosed in double quotes.

Example dwrcc.exe -c: -m:123.123.123.123 -u:myUsername -p:"my Password"

*Note: When Smart Card Logon authentication method selected (i.e. -a:3), -p: parameter is used to supply PIN, instead of Password.

Example dwrcc.exe -c: -m:123.123.123.123 -a:3 -p:PIN (version 5.5 and later)

-d:

Specifies the Domain name.

Example dwrcc.exe -c: -m:123.123.123.123 -u:myUsername -p:myPassword -d:myDomainName

-o:

Specifies the TCP Port Number.

Example dwrcc.exe -c: -m:123.123.123.123 -o:6129

-s:

Specifies the Pre-Shared Secret Password (version 4.4 and above).

Example dwrcc.exe -c: -h: -m:123.123.123.123 -u:myUsername -p:myPassword -s:mySharedSecret

-r:

Specifies the use of the Remote Desktop Protocol (RDP).

Example dwrcc.exe -m:myMachineName -r:

-vnc:

Specifies the use of the Virtual Network Computing (VNC) viewer.

Example dwrcc.exe -m:myMachineName -vnc:

-a:

Specifies the Authentication Method. (0=Proprietary Challenge/Response, 1=NT Challenge/Response, 2=Encrypted Windows Logon, 3=Smart Card Logon).

Example dwrcc.exe -c: -m:123.123.123.123 -u:myUsername -p:myPassword -d:myDomainName -a:2

*Note: When Smart Card Logon authentication method selected (i.e. -a:3), -p: parameter is used to supply PIN.

Example dwrcc.exe -c: -m:123.123.123.123 -a:3 -p:PIN (version 5.5 and later)

-prxa:

Specifies the Dameware Mini Remote Control proxy address.

Example dwrcc.exe -c: -m:123.123.123.123 -prxa:192.168.1.1

-prxp:

Specifies the Dameware Mini Remote Control proxy port number.

Example dwrcc.exe -c: -m:123.123.123.123 -prxa:192.168.1.1 -prxp:6529

-pxrs:

Specifies the Dameware Mini Remote Control proxy secret, if the Mini Remote Control proxy requires a shared secret.

Example dwrcc.exe -c: -m:123.123.123.123 -prxa:192.168.1.1 -prxs:SharedSecret

-v:

Open this Dameware MRC session in View Only Mode.

Example dwrcc.exe -c: -m:123.123.123.123 -v:

-md:

Specifies the use of the Dameware Mirror Driver (if installed).

Example dwrcc.exe -c: -m:123.123.123.123 -md:

-i:

Instance number override.

Example dwrcc.exe -c: -m:123.123.123.123 -i:n (where 0<n<40).

-x:

Automatically close the application after disconnection from the remote machine (via command line).

Example dwrcc.exe -c: -m:123.123.123.123 -x:

-bh:

Specifies Dameware Central Server host address (only for Dameware Mini Remote Control instances installed in centralized mode)

Example = dwrcc.exe -bh:Centralserver -bpn:6133 -bu:user -bps:user

-bpn:

Specifies Dameware Central Server port number (only for Dameware Mini Remote Control instances installed in centralized mode)

Example = dwrcc.exe -bh:Centralserver -bpn:6133 -bu:user -bps:user

-bu:

Specifies Dameware Central Server user name (only for Dameware Mini Remote Control instances installed in centralized mode)

Example = dwrcc.exe -bh:Centralserver -bpn:6133 -bu:user -bps:user

-bps:

Specifies Dameware Central Server user password (only for Dameware Mini Remote Control instances installed in centralized mode)

Example = dwrcc.exe -bh:Centralserver -bpn:6133 -bu:user -bps:user