How to Verify if Schema Prep Completed Successfully

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:


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 (5)
  1. dodeitte says:

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

  2. dodeitte says:

    @Melek Attia

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

  3. Anonymous says:

    Use Windows PowerShell to discover what schema updates have been applied to your Active Directory environment.

  4. Amanda Debler says:

    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.

  5. Melek Attia says:

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

Comments are closed.

Skip to main content