Web
Analytics Made Easy - StatCounter

Finding the Active Directory schema version

adschema01

When the Domain Controller upgrade take place, the Active Directory schema must be extended in order to enable the new features. This extension causes the increment of schema version.

This is a summary of schema versions relative to Windows editions.

WINDOWS EDITIONSCHEMA VERSION
Windows 2000 Server13
Windows Server 200330
Windows Server 2003 R231
Windows Server 200844
Windows Server 2008 R247
Windows Server 201256
Windows Server 2012 R2 - Preview69

 

Procedure

To find current Active Directory schema there are different ways:

  • Registry
  • Command Prompt
  • PowerShell

Registry

Open the Registry Editor and navigate to:

adschema02

 

Command Prompt

Using the dsquery command, from the Command Prompt type the following:

Just replace dc=domain, dc=com with your configuration.

C:\>dsquery * cn=schema,cn=configuration,dc=nolabnoparty,dc=local -scope base -attr objectVersion"

adschema03

 

PowerShell

Launch the PowerShell ActiveDirectory module and type the following command to get the schema version.

Replace dc=domain, dc=com with your configuration.

PS C:\>Import-Module ActiveDirectory
PS C:\>Get-ADObject "cn=schema,cn=configuration,dc=nolabnoparty,dc=local" -properties objectversion

adschema04

These methods allows you to easily identify the Active Directory schema version in use in your environment.

firma