How To Check Active Directory Schema Version ?

Query King | Fri, 29 Dec 2017 at 02:39 hours | Replies : 1 | Points : 50

Category : Active Directory


How to check Active Directory Schema Version ?


This Question is already solved Click To See The Answer


Hi,

You can check the Active Directory Schema Version in Many Ways. Few are given below.

Please replace the "eXperts-Adda.com" with your Domain Name.

 

Run below Command on PowerShell.

 

Import-Module ActiveDirectory
Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion

 

OR

 

Import-Module ActiveDirectory
Get-ADObject "cn=schema,cn=configuration,dc=eXperts-Adda,dc=COM" -properties objectversion

 

Run below Command on Command Prompt

 

dsquery * cn=schema,cn=configuration,dc=seXperts-Adda,dc=com -scope base -attr objectVersion

 

OR

 

repadmin /showattr * cn=schema,cn=configuration,eXperts-Adda,dc=COM /atts:ObjectVersion

 

Navigate to below Registry Key:

HKLM\System\CurrentControlSet\Services\NTDS\Parameters

And Look for DWORD Value Schema Version (value in Decimal)

 

Below is the list of Active Directory Schema Versions 


87 = Windows Server 2016

69 = Windows Server 2012 R2

56 = Windows Server 2012

47 = Windows Server 2008 R2

44 = Windows Server 2008

31 = Windows Server 2003 R2

30 = Windows Server 2003

13 = Windows 2000