Using Web Components Server Actions

Microsoft Office Communications Server 2007 and Microsoft Office Communications Server 2007 R2 will reach end of support on January 9, 2018. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

The LCSCmd.exe command uses the /Web switch to execute the Activate, Deactivate, or CheckLCServerState actions for a specified Web Components Server. The following syntax is an example of a /Web instruction:

LCSCmd.exe /Web:<Web Components Server FQDN> /Action:<action name> /PoolName:<pool name> /Password:<identity password>

Such as:

LCSCmd.exe /Web /Action:CheckLCServerState

Where:

Parameter Description

/Web

If no FQDN is specified, the current computer is used.

/Action

Takes a string specifying the action name. Valid action names include Activate, Deactivate, or CheckLCServerState.

/Poolname

Specifies the name of the pool that the Web Components Server is going to serve.

/Password

Specifies the service account password for the server.

/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 domain account name for the WebComponents application pool.

/UnRegSPN

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

/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 Edition 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 Edition pools and ignored for Standard Edition pools.

/Externalwebfqdn

Specifies the FQDN of the external Web server.

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

When you run LCSCmd.exe, the command automatically discovers the global catalog server and primary domain controllers. If you experience problems because these servers are unavailable or network connectivity is poor, you can use optional parameters to specify the global catalog server or domain controllers to use instead. For more information, see Optional LCSCmd.exe Parameters for Domain Controller and Global Catalog Server Discovery later in this document*.*