Use the following syntax example to activate an Enterprise Edition Server Front End Server.

Copy Code
LCSCmd.exe /Server:[<Server FQDN>] /Role:EE /Action:Activate
/Password:<Account Password> /PoolName:<pool name>
[/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}] [/GroupDomain:<Group Domain FQDN>]
[/GroupDomainDC:<Group Domain DC FQDN>] [/User:<Account
Name>] [/UnRegSPN[:{TRUE|FALSE}]] [/NoStart[:{TRUE|FALSE}]]
[/ArchServer:<Archiving Server computer name>]
[/MonServer:<Monitoring Server computer name>]
[/Force[:{TRUE|FALSE}]] [/L:<log file path>]
[/XML[:{TRUE|FALSE}]] [/?[:{TRUE|FALSE}]]

Such as:

Copy Code
LCSCmd.exe /Server /Role:EE /Action:Activate /Password:My$tr0ngPwd
/PoolName:Pool01 

Where:

Parameter Description

/Server

Executes the action for the specified server FQDN.

/server - activates the local server.

/server:<remoteComputerFQDN> - activates a role on the remote computer.

/Role

Specifies the role of the server.

/Action

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

/Password

Specifies the service account password for the server.

/PoolName

Specifies the name of the pool that the Enterprise Edition server is going to serve.

/RefDomain

Specifies the reference domain FQDN.

/Global

Specifies the global setting location.

/GroupDomain

Specifies the FQDN of the domain where Office Communications Server universal groups are located.

/User

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

/UnRegSPN

Specifies whether to delete all existing service principal names registered for the service on the specified computer.

/NoStart

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

/ArchServer

Specifies the computer name of the IM Archiving Server that the IM Archiving Agent will be using.

/MonServer

Specifies the computer name of the Monitoring Server.

/Force

Specifies whether to force task execution.

/L

Specifies the log file path. If not specified, %TEMP%\<ActionName>[<Date>][<Time>].html is used. To disable logging, use a dash character (-) as the log file name.

/XML

Specifies whether the log file to be generated should be in XML format instead of HTML.

/?

Shows Help on usage.