{"id":7434,"date":"2013-09-02T07:00:00","date_gmt":"2013-09-02T05:00:00","guid":{"rendered":"http:\/\/nolabnoparty.com\/?p=7434"},"modified":"2014-09-19T09:33:11","modified_gmt":"2014-09-19T07:33:11","slug":"finding-active-directory-schema-version","status":"publish","type":"post","link":"https:\/\/nolabnoparty.com\/en\/finding-active-directory-schema-version\/","title":{"rendered":"Finding the Active Directory schema version"},"content":{"rendered":"<p><img decoding=\"async\" class=\"aligncenter\" style=\"margin: 10px auto 5px; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;\" title=\"adschema01\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/08\/adschema01.jpg\" alt=\"adschema01\" width=\"602\" height=\"202\" border=\"0\" \/><\/p>\n<p>When the Domain Controller upgrade take place, the <strong>Active Directory schema must be extended<\/strong> in order to enable the new features. This extension causes the increment of schema version.<\/p>\n<p>This is a <strong>summary of schema versions<\/strong> relative to Windows editions.<\/p>\n<p><!--more--><\/p>\n<div align=\"center\">\n<table border=\"1\" width=\"400\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"260\"><strong>WINDOWS EDITION<\/strong><\/td>\n<td valign=\"top\" width=\"140\"><strong>SCHEMA VERSION<\/strong><\/td>\n<\/tr>\n<tr>\n<td align=\"left\" valign=\"top\" width=\"260\">Windows 2000 Server<\/td>\n<td align=\"center\" valign=\"top\" width=\"140\">13<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" valign=\"top\" width=\"260\">Windows Server 2003<\/td>\n<td align=\"center\" valign=\"top\" width=\"140\">30<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" valign=\"top\" width=\"260\">Windows Server 2003 R2<\/td>\n<td align=\"center\" valign=\"top\" width=\"140\">31<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" valign=\"top\" width=\"260\">Windows Server 2008<\/td>\n<td align=\"center\" valign=\"top\" width=\"140\">44<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" valign=\"top\" width=\"260\">Windows Server 2008 R2<\/td>\n<td align=\"center\" valign=\"top\" width=\"140\">47<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" valign=\"top\" width=\"260\">Windows Server 2012<\/td>\n<td align=\"center\" valign=\"top\" width=\"140\">56<\/td>\n<\/tr>\n<tr>\n<td align=\"left\" valign=\"top\" width=\"260\">Windows Server 2012 R2 - Preview<\/td>\n<td align=\"center\" valign=\"top\" width=\"140\">69<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>&nbsp;<\/p>\n<h2>Procedure<\/h2>\n<p>To find <strong>current Active Directory schema<\/strong> there are different ways:<\/p>\n<ul>\n<li>Registry<\/li>\n<li>Command Prompt<\/li>\n<li>PowerShell<\/li>\n<\/ul>\n<h4>Registry<\/h4>\n<p>Open the <strong>Registry Editor<\/strong> and navigate to:<\/p>\n<pre class=\"lang:default decode:true brush: shell; gutter: true\">HKLM\\SYSTEM\\CurrentControlSet\\Services\\NTDS\\Parameters\\&lt;Schema Version&gt;<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;\" title=\"adschema02\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/08\/adschema02.jpg\" alt=\"adschema02\" width=\"600\" height=\"292\" border=\"0\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>Command Prompt<\/h4>\n<p>Using the <strong><em>dsquery<\/em> command<\/strong>, from the Command Prompt type the following:<\/p>\n<pre class=\"lang:default decode:true brush: shell; gutter: true\">dsquery * cn=schema,cn=configuration,dc=domain,dc=com -scope base -attr objectVersion\"<\/pre>\n<p>Just replace <em><span style=\"color: #c0504d;\">dc=domain, dc=com<\/span><\/em> with your configuration.<\/p>\n<p><span style=\"color: #0000a0;\">C:\\&gt;dsquery * cn=schema,cn=configuration,dc=nolabnoparty,dc=local -scope base -attr objectVersion\"<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;\" title=\"adschema03\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/08\/adschema03.jpg\" alt=\"adschema03\" width=\"600\" height=\"148\" border=\"0\" \/><\/p>\n<p>&nbsp;<\/p>\n<h4>PowerShell<\/h4>\n<p>Launch the PowerShell<strong> ActiveDirectory module<\/strong> and type the following command to get the schema version.<\/p>\n<pre class=\"lang:default decode:true brush: shell; gutter: true \">Get-ADObject \"cn=schema,cn=configuration,dc=domain,dc=com\" -properties objectversion<\/pre>\n<p>Replace <em><span style=\"color: #c0504d;\">dc=domain, dc=com<\/span><\/em> with your configuration.<\/p>\n<p><span style=\"color: #0000a0;\">PS C:\\&gt;Import-Module ActiveDirectory<br \/>\nPS C:\\&gt;Get-ADObject \"cn=schema,cn=configuration,dc=nolabnoparty,dc=local\" -properties objectversion<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" style=\"margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;\" title=\"adschema04\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/2013\/08\/adschema04.jpg\" alt=\"adschema04\" width=\"600\" height=\"156\" border=\"0\" \/><\/p>\n<p>These methods allows you to easily identify the Active Directory schema version in use in <strong>your environment<\/strong>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nolabnoparty.com\/wp-content\/uploads\/images\/firma.jpg\" alt=\"firma\" title=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":3,"featured_media":7430,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rop_custom_images_group":[],"rop_custom_messages_group":[],"rop_publish_now":"initial","rop_publish_now_accounts":{"linkedin_93tdZWzMZc_93tdZWzMZc":"","facebook_2879994398731222_17841400390232720":"","twitter_113568041_113568041":"","mastodon_115463926174894442_115463926174894442":""},"rop_publish_now_history":[],"rop_publish_now_status":"pending","footnotes":""},"categories":[913,1065],"tags":[688,686,692],"class_list":["post-7434","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-active-directory-en","category-microsoft-en","tag-active-directory-en","tag-schema","tag-versione-en","has_thumb"],"_links":{"self":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/7434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/comments?post=7434"}],"version-history":[{"count":0,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/posts\/7434\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media\/7430"}],"wp:attachment":[{"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/media?parent=7434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/categories?post=7434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nolabnoparty.com\/en\/wp-json\/wp\/v2\/tags?post=7434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}