Use the following syntax example to activate Web Components Server.

Copy Code
LCSCmd.exe /Web:<Web Components Server FQDN> /Action:Activate
/PoolName:<pool name>  [/Password:<Account Password>]
[/UnRegSPN:[TRUE|FALSE] ] [/DisableABOutput:[TRUE|FALSE]
][/guest:<guest account name> ][/guestpassword:<guest
account password> ] [/externalwebfqdn:<External Web FQDN>
] [/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>] [/L:<log file
path>][/XML[:{TRUE|FALSE}]] [/?[:{TRUE|FALSE}]]

Such as:

Copy Code
LCSCmd.exe /Web /Action:Activate /Password:My$tr0ngPwd
/PoolName:Pool01 

Where:

Parameter Description

/Web

Executes the action for the specified Web Components Server 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, Diag, Activate, and Deactivate.

/Password

Specifies the service account password for the server.

/PoolName

Specifies the name of the pool that the Web Components Server is going to serve. For Standard Edition servers, this must be the computer name.

/RefDomain

Specifies the reference domain FQDN.

/Global

Specifies the global setting location.

/UnRegSPN

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

/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.

/DisableABOutput

Specifies whether to enable Address Book Server output files.

/Guest

Specifies the domain account name for virtual directory guest access. This argument is mandatory for Enterprise pools and ignored for Standard Edition pools. It defaults to RTCGuestAccessUser.

/Guestpassword

Specifies the domain guest access account password. This argument is mandatory for Enterprise pools and ignored for Standard Edition pools.

/Externalwebfqdn

Specifies the FQDN of the external Web server.

/NoStart

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

/Clean

Specifies whether to do a clean setup for backend creation actions.

/Force

Specifies whether to force task execution.