Doug Deitterick's Blog

Information about Skype for Business, Lync, OCS, and Exchange UM.

How to Verify if Schema Prep Completed Successfully

How to Verify if Schema Prep Completed Successfully

  • Comments 5
  • Likes

Update 5/3/15 - Added Skype for Business Server 2015 greenfield schema version.
Update 11/26/12 - Updated Lync Server 2013 schema version for RTM.

Update 7/19/12 - Added Lync Server 2013 schema version.

Update 10/6/10 - Added Lync Server 2010 schema version.

Verifying that SchemaPrep completed successfully before turning back on outbound replication on the Schema Master in AD is always a good idea.  Depending on the version OCS/Lync/Skype for Business that you are running, there are differeing ways to check the schema state.

OCS 2007/R2

The quickest way is to run the following LCSCmd after running the SchemaPrep step:

LCSCmd.exe /forest /action:CheckSchemaPrepState

If the report shows everything as successful, you can feel confident that everything completed properly.

Lync Server 2010/2013 and Skype for Business Server 2015

The best way in Lync or Skype for Business Server to check that SchemaPrep completed successfully is to run the Get-CsAdServerSchema cmdlet in Lync or Skype for Business Server Management Shell.  If you get the following result back:

SCHEMA_VERSION_STATE_CURRENT

The SchemaPrep step should have completed successfully.

 

But, if you want to go that extra step, you can look in ADSIedit.

In ADSIedit, under the Schema Container, look for the ms-RTC-SIP-SchemaVersion.  Opening the properties, look for the "rangeUpper" and "rangeLower" attributes.  Check the list before for the correct values for your environment:

LCS 2005 - 1006
OCS 2007 R1 - 1007
OCS 2007 R2 - 1008
Lync Server 2010 - 1100
Lync Server 2013 - 1150 (rangeUpper) / 3 (rangeLower)
Skype for Business Server 2015 (Greenfield) - 1150 (rangeUpper) / 3 (rangeLower)

If you see the correct value for your environment, you can be sure that schema prep completed successfully.

Comments
  • Does this mean that there's going to be a scheme update from Lync Server 2013 to SfB Server 2015? I see that the rangeUpper value has remained the same, but that the rangeLower has been incremented.

  • I noticed in a recent Lync Server 2013 that the rangeLower is 3, I think the LDF files were updated in the Lync ISO.

  • @Amanda Debler

    No, if you're upgrading from Lync Server 2013 to Skype for Business 2015, no schema update is necessary. If you're deploying Skype for Business 2015 greenfield, then the above applies.

  • @Melek Attia

    The rangeLower value for Lync Server 2013 is 3. I updated the post to reflect that.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment