Tuesday, 11 February 2014

Windows Server 2003 Remote Options

Remote Desktop

Mstsc.exe

SYNTAX : mstsc [<connection file>] [/v:<server[:port]>] [/admin] [/f[ullscreen]] [/w:<width>] [/h:<height>] [/public] | [/span] [/edit "connection file"] [/migrate] [/?]

mstsc /v:server /admin
mstsc /admin will do the following (for the current connection only):
•Disable Terminal Services client access licensing.
•Disable time zone redirection.
•Disable TS Session Broker redirection.
•Disable TS EasyPrint.
/admin also does the following on connections to Windows Server 2008 with the Terminal Server role service installed:
•Disables Plug and Play device redirection for this connection only.
•Changes the remote session theme to Windows Classic View for this connection only.

/public
 Runs Remote Desktop Connection in public mode

Remote Assistance

Msra.exe

SYNTAX
msra [/? | /expert | /novice | /saveasfile <path> [password] | /openfile <path> | /email <password> | /offerRA <computer>]

where
<path> Is the path to a file to be created or loaded.
<password> Is the password to protect the invitation.
<computer> Is the computer name or IP address of a computer.
/novice
/expert

Option: /offerRA computer
Supported on: Windows 7, Windows Vista
Description: Starts Remote Assistance as Helper in Unsolicited (Offer) RA mode and uses DCOM to remotely open Remote Assistance on the User’s computer and then connect to the User’s computer to initiate a Remote Assistance session. The User’s computer can be specified using either its computer name or address. The computer name can be either a host name (if the User is on the local subnet) or a FQDN (DNS name), and the address can be either an IPv4 address or an IPv6 address. This method is demonstrated in more detail in the section titled “Scenario 3: Offering Remote Assistance Using DCOM” later in this chapter.

Option: /email password
Supported on: Windows 7, Windows Vista
Description: Starts Remote Assistance as Novice (User) in Solicited RA mode and creates a password-protected RA ticket that is attached to a new Remote Assistance invitation message opened by the default SMAPI-enabled e-mail client (which by default is Windows Mail). The password must be six characters or more and must be relayed separately to the Helper. The e-mail client application launches a window with the invitation file attached. The User must enter the e-mail address of the Helper in the To field to send the message to the Helper.

Option: /saveasfile path password
Supported on: Windows 7, Windows Vista
Description: Starts Remote Assistance as Novice (User) in Solicited RA mode and creates a password-protected Remote Assistance ticket that is saved at the path specified. The path can be either a local folder or network share, and the User must have appropriate permissions on the destination folder to create the file. The path must include a file name for the ticket. (The .MsRcIncident file extension will be automatically added to the file name.) The password must be six characters or more. Use of this method is demonstrated in more detail in the section titled “Scenario 2: Soliciting Remote Assistance by Creating Remote Assistance Tickets and Saving Them on Monitored Network Shares” later in this chapter.

Option: /openfile path password
Supported on: Windows 7, Windows Vista
Description: Starts Remote Assistance as Expert (Helper) in Solicited RA mode and opens a previously created Remote Assistance ticket that was saved within the path specified. The path may be either a local folder or network share, and the Helper must have appropriate permissions on the destination folder to open the file. The path must include the file name of a valid ticket that has the .MsRcIncident file extension. The password must be the same password that was used by the User to secure the ticket when it was created.

Option: /geteasyhelp
Supported on: Windows 7 only
Description: Starts Remote Assistance as Novice (User) in Solicited RA mode and with the Easy Connect option already selected. After the Remote Assistance invitation has been posted to the PNRP cloud, the User is presented with a 12-character password that she must communicate OOB to the Expert (Helper), which the Helper can then use to accept the invitation and initiate the Remote Assistance session.

Option: /offereasyhelp address
Supported on: Windows 7 only
Description: Starts Remote Assistance as Expert (Helper) in Offer RA mode and with the Easy Connect option already selected. The Helper is presented with a dialog box for entering the 12-character password that was communicated OOB to him by the Novice (User), which is needed by the Helper to accept the invitation and initiate the Remote Assistance session.

Option: /getcontacthelp address
Supported on: Windows 7 only
Description: Starts Remote Assistance as Novice (User) in Solicited RA mode with the Easy Connect option already selected and with the Remote Assistance history contact specified by address already selected. You can find address for a contact in your Remote Assistance history by opening the RAContacthistory.xml file located in the \Users\Username\Appdata\Local folder on your computer. The format for address is a 40-character hexadecimal string with .RAContact appended to it.

Option: /offercontacthelp address
Supported on: Windows 7 only
Description: Starts Remote Assistance as Expert (Helper) in Offer RA mode with the Easy Connect option already selected and with the Remote Assistance history contact specified by address already selected. You can find address for a contact in your Remote Assistance history by opening the RAContacthistory.xml file located in the \Users\Username\Appdata\Local folder on your computer. The format for address is a 40-character hexadecimal string with .RAContact appended to it.

Note that there is no support for Windows Management Instrumentation (WMI) scripting of Msra.exe.






No comments:

Post a Comment