Activating Archiving Server (Command Line)

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.

Use the following syntax example to activate Archiving Server.

LCSCmd.exe /Archiving:<Archiving Server FQDN> /Action:Activate /backend:<SQL Server instance name (computer\instance name)> /dbname:<database name> /DBDataPath:<DB data file path> /DBLogPath:<DB log file path> [/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}]] [/clean[:{TRUE|FALSE}]] [/L:<log file path>][/XML[:{TRUE|FALSE}]] [/?[:{TRUE|FALSE}]]

Such as:

LCSCmd.exe /Archiving /Action:Activate /Password:My$tr0ngPwd /backend:ArchivingServer\Live /dbname:Archive /DBDataPath:"e:\Microsoft\LC Data" /DBLogPath:"e:\Microsoft\LC Archiving Log"

Where:

Parameter Description

/Archiving

Executes the action for the specified archiving 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, Activate, and Deactivate.

/Password

Specifies the service account password for the server.

/Backend

Specifies the full SQL Server instance name where the Archiving Server back-end database will be set up. It can consist of a computer name and an instance name (For instance Computer01\LCS), or just the computer name if the default instance on the back-end database is used (such as Computer01).

/Dbname

Specifies the name of the database on the SQL Server instance specified for the Archiving Server.

/DBDataPath

Specifies the folder where the database data file will be located.

/DBLogPath

Specifies the folder where the database log file is located.

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

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