Installing Microsoft Office Communications Server 2007

BrightPoint GB

BrightPoint GB

Device Lifecycle Services.

Delivered.

Plan. Market. Customize. Move. Recycle.

More...
Samsung Galaxy S III

Samsung Galaxy S III

Designed For Humans

Inspired By Nature

This sleek and innovative smartphone has the enhanced intelligence to make everyday life easier.

More...
BlackBerry Curve 9320

BlackBerry Curve 9320

Socially Connected

3G capable

Featuring all of the core messaging and social features to keep you connected.

More...
HTC One X

HTC One X

Technology Leader

Quad Core Android 4.0

Perfect for gaming, watching videos and surfing the net

More...
HTC One V

HTC One V

Iconic Design

A great all-rounder

ImageSense technology, Beats Audio, wireless media streaming, cloud storage and more...

More...
ZTE Tania

ZTE Tania

Windows Phone Mango

Fully equipped

Great for business and pleasure

More...
BlackBerry Bold 9790

BlackBerry Bold 9790

BlackBerry OS7

Powerful & Fully Featured

Smooth performance for browsing the web, running apps, working with documents, and enjoying multimedia

More...
HTC Sensation XL

HTC Sensation XL

Feel every beat

With Beats Audio

A multimedia superstar with Beats earphones included.

More...
HTC Titan

HTC Titan

Unlike anything you've ever held before

Office on the move

Windows Phone 7.5 (Mango). With a 4.7-inch screen and big virtual keyboard, the Titan is perfect for both work and play.

More...
HTC Radar

HTC Radar

Real time close

Windows Phone 7.5 (Mango)

Pull all your contacts and social networks together into one place to stay connected with friends and share instantly.

More...
BlackBerry Bold 9900

BlackBerry Bold 9900

Slim yet powerful

Touch and Type in harmony

The Bold 9900 is RIM's thinnest BlackBerry smartphone yet and as lightweight and durable as it is feature-packed.

More...
ZTE Libra

ZTE Libra

Affordable Android

WiFi hotspot, Exchange email, Google Maps and much, much more all at an attractive price.

More...
ZTE MF30/MF60

ZTE MF30/MF60

Portable Internet

USB & WiFi for Windows and Mac

High speed, portable Internet access in your pocket.

More...
Motorola Defy +

Motorola Defy +

Lifeproof

Faster, smarter, richer

Scratch, dust and water-resistant. 1GHz processor, 5MP camera and great pre-loaded apps.

More...
BlackBerry Curve 9380

BlackBerry Curve 9380

BlackBerry OS7

The 1st all-touch Curve

Easily capture and share your favourite moments with family, friends and colleagues.

More...
Samsung Galaxy S2

Samsung Galaxy S2

Faster. Slimmer. Brighter.

Prepare yourself for the Galaxy S II, Samsung's thinnest smartphone.

More...
HTC Sensation XE

HTC Sensation XE

With Beats Audio

Designed to impress

With custom Beats headphones, engineered to deliver extraordinary sound.

More...
ZTE Skate

ZTE Skate

Affordable Android

WiFi hotspot, Exchange email, Google Maps and much, much more all at an attractive price.

More...
HTC Explorer

HTC Explorer

A design that fits your lifestyle

Keep in touch with the people who matter

Jump right into what's most important to you thanks to an improved lockscreen design.

More...
ZTE Tureis

ZTE Tureis

Full Qwerty 2.6-inch touchscreen

Android Gingerbread

Business and social features in a slim package.

More...
Frontpage Slideshow (standalone) | Copyright © 2006-2011 JoomlaWorks Ltd.

This is slightly off-topic, but I wanted to install OCS 2007 Server, not having done it before, in order to be able to then test connectivity from other devices including BlackBerry, and Android if/when a client is made available. Normally I wouldn't blog about the installation of a relatively common Microsoft server product, but I ran into a number of errors so thought I'd detail how they were resolved in case anyone else runs into the same problems.

The procedure I ran through was as follows:

  • Install Windows Server 2003 SP2.
  • Add the server to the domain.
  • Install IIS, including the ASP and Message Queuing services.
  • Install Certificate Services (only required if a CA is not already present on the domain elsewhere).
  • IMPORTANT (this is where I ran into problems) - if Microsoft hotfix package 974571 is installed, uninstall it before beginning the installation of OCS. Failure to remove this hotfix will prevent you from being able to activate the OCS server one the program files have been installed.
  • Create a DNS entry for the OCS server (or pool if required).


Raise the Domain Functional level from Mixed Mode to Server 2003 Native Mode

On the domain controller, open the Active Directory Domains and Trusts MMC snap in. Right click on the Domain and select the option to Raise Domain Functional Level. If the domain is set to Mixed Mode, it will need to be raised to Server 2003 Native Mode.

Installing Microsoft Office Communications Server 2007

Click OK and then run a gpupdate /force command to force the change to replicate through the domain.


Create required service accounts

Create a new domain User Group called 'RTCSetupDelegate'.
Create two new domain user accounts: 'RTCService' and 'RTCComponentService' and add them both to the RTCSetupDelegate group created earlier.


Launch the OCS Installer

Log into the OCS server with a domain user account with both local admin rights on the OCS server and SchemaAdmin rights on the domain.

Launch the OCS installer application, if prompted to install the Visual C++ redistributable, select Yes.
Run the Forest Prep wizard followed by the Domain Prep wizards and ensure they complete successfully. Once completed, run another gpupdate /force command on the domain controller to force a replication throughout the domain.


Delegate setup tasks to required service accounts

Delegate the setup and administration tasks to the two RTCService user accounts created earlier. Launch the Command Prompt and navigate to the directory containing the OCS installer files. Browse to the \setup\i386 directory.

Run the following commands:

(Read the following Microsoft Technical article for full information - http://technet.microsoft.com/en-us/library/bb905930.aspx)

To delegate Setup:

LCSCmd.exe /Domain:domain.com /Action:CreateDelegation /Delegation:SetupAdmin 
/TrusteeGroup:RTCSetupDelegate /TrusteeDomain:domain.com /ServiceAccount:RTCService
/ComponentServiceAccount:RTCComponentService /ComputerOU:DC=domain,DC=com

To delegate Server Admin:

LCSCmd.exe /Domain:domain.com /Action:CreateDelegation /Delegation:ServerAdmin 
/TrusteeGroup:RTCSetupDelegate /TrusteeDomain:domain.com /ServiceAccount:RTCService
/ComponentServiceAccount:RTCComponentService /ComputerOU:DC=domain,DC=com

To delegate User Admin:

LCSCmd.exe /Domain:domain.com /Action:CreateDelegation /Delegation:UserAdmin 
/TrusteeGroup:RTCSetupDelegate /TrusteeDomain:domain.com /ServiceAccount:RTCService
/ComponentServiceAccount:RTCComponentService /ComputerOU:DC=domain,DC=com
/UserOU:CN=Users,DC=domain,DC=com /UserType:User

To delegate Read Only Server Admin:

LCSCmd.exe /Domain:domain.com /Action:CreateDelegation /Delegation:ReadOnlyAdmin 
/TrusteeGroup:RTCSetupDelegate /TrusteeDomain:domain.com /ServiceAccount:RTCService
/ComponentServiceAccount:RTCComponentService /ComputerOU:DC=domain,DC=com

To delegate Read Only User Admin:

LCSCmd.exe /Domain:domain.com /Action:CreateDelegation /Delegation:ReadOnlyAdmin 
/TrusteeGroup:RTCSetupDelegate /TrusteeDomain:domain.com /ServiceAccount:RTCService
/ComponentServiceAccount:RTCComponentService /ComputerOU:DC=domain,DC=com
/UserOU:CN=Users,DC=domain,DC=com /UserType:User

Run the Deploy Server wizard to install the required program files to the server. At the end of the installation, the wizard will then attempt to activate the OCS server. If the wizard fails with an error along the lines of 'the server clock may not be set correctly', again verify that hotfix 974571 is NOT installed on the server. If it is, uninstall the hotfix, then attempt to activate the server manually at the command line with the following command:

LCSCmd.exe /Server:ocs.domain.com /Role:SE /Action:Activate /Password:PaSSword1

(where PaSSword1 is the password of the user account used to install the OCS software - the account currently logged in, not the RTCService account)

Return to the OCS installer wizard and resume where you left off.

Issue a certificate request to the online CA and assign it to the OCS server. Start all OCS services.
Under the "Deploy Other Roles" section, select the option to deploy the Communicator Web Access server role, assigning the certificate generated earlier when prompted.

If all has gone well, you should see the server roles listed within the Office Communicator Server MMC snap-in within Administrative tools, and several new context menu items within Active Directory:

Installing Microsoft Office Communications Server 2007

Installing Microsoft Office Communications Server 2007

The Communicator Web Access (CWA) web site should be listed in the CWA MMC snap in:

Installing Microsoft Office Communications Server 2007

And browsing to https://(server)/cwa should display the Communicator Web Access login screen:

Installing Microsoft Office Communications Server 2007

In my next post I shall detail how to set up the BlackBerry Enterprise Server solution to enable access to OCS from BlackBerry handheld devices.