You can activate a Mediation Server by using the MedSrv context. Use the following syntax example to activate a Mediation Server.

Copy Code
LCSCmd.exe /MedSrv:<Mediation Server FQDN> /Action:Activate
/Password:<Account Password> [/RefDomain:<Domain FQDN>]
[/PDCRequired[:{TRUE|FALSE}]] [/GlobalSettingsDC:<FQDN of a
global settings domain controller>] [/DC:<domain controller
FQDN>] [/GC:<Global Catalog FQDN>] [/Global:{Configuration
| System}][/User:<Account Name>] [/NoStart[:{TRUE|FALSE}]]
[/Force[:{TRUE|FALSE}]] [/L:<log file path>]
[/XML[:{TRUE|FALSE}]] [/?[:{TRUE|FALSE}]]

Such as:

Copy Code
LCSCmd.exe /MedSrv /Action:Activate /Password:My$tr0ngPwd

Where:

Parameter Description

/MedSrv

Executes the action for the specified Communicator Web Access computer. If no FQDN is specified, the current computer is used.

/Action

Takes a string that specifies the action name. Valid action names include CheckLCServerState, Activate, and Deactivate.

/RefDomain

Specifies the reference domain FQDN.

/Global

Specifies the global setting location.

/Password

Specifies the service account password for the server.

/User

Specifies the service account name for the server. It defaults to RTCComponentService. If the specified user account does not exist, Office Communications Server 2007 R2 automatically creates the account.

/NoStart

Specifies whether to start the service on the server during activation.

/Force

Specifies whether to force task execution.