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>]

Such as:

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


Parameter Description


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


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


Specifies the reference domain FQDN.


Specifies the global setting location.


Specifies the service account password for the server.


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.


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


Specifies whether to force task execution.