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


Parameter Description


Executes the action for the specified Web Components Server computer. If no FQDN is specified, the current computer is used.


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


Specifies the service account password for the server.


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.


Specifies the reference domain FQDN.


Specifies the global setting location.


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


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 enable Address Book Server output files.


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.


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


Specifies the FQDN of the external Web server.


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


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


Specifies whether to force task execution.