Validate your Active Directory Schema Version

Thursday, October 20, 2011

Before you can introduce a new version of Windows Server into your domain as a Domain Controller, you must prepare the schema by running ADPREP to prepare the forest as well as the domain for the integration of the new OS version. To avoid surprises and other possible issues during the process, it is a very good idea to validate the current version of the schema before and after the ADPREP process has been completed.

To find the current Active Directory Schema Version, you can use one of the following methods:

Note: You will need to change the values in the path from "dc=domain,dc=local" to the correct values for AD implementation.


Navigate to: "CN=Schema,CN=Configuration,DC=domain,DC=local" and review the current "objectVersion" attribute by clicking on the Properties of "CN=Schema,CN=Configuration,DC=domain,DC=local".



Connect and Bind to one of your DCs using the ldp.exe tool.  Click on view, then tree.  The BASE DN is "CN=Schema,CN=Configuration,DC=domain,DC=local".



Open a command prompt and use this command: dsquery * cn=schema,cn=configuration,dc=domain,dc=local -scope base -attr objectVersion


The following information provide a mapping between the "objectVersion" attribute value, to the Active Directory Schema version:

13 -> Windows 2000 Server
30 -> Windows Server 2003
31 -> Windows Server 2003 R2
44 -> Windows Server 2008
47 -> Windows Server 2008 R2
51 -> Windows Server 2012

Did you find the page informational and useful? Share it using one of your favorite social sites.

Recommended Books & Training Resources

Windows Server 2008 R2 Unleashed MCITP Windows Server 2008 Enterprise Administrator: Training Kit 4-Pack: Exams 70-640 70-642 70-643 70-647