{"id":1601,"date":"2025-10-26T21:24:23","date_gmt":"2025-10-26T21:24:23","guid":{"rendered":"https:\/\/www.ultrexstaff.com\/?p=1601"},"modified":"2025-10-26T21:24:24","modified_gmt":"2025-10-26T21:24:24","slug":"checking-domain-function-level-and-upgrading-if-needed","status":"publish","type":"post","link":"https:\/\/www.ultrexstaff.com\/?p=1601","title":{"rendered":"Checking Domain Function level and upgrading if needed"},"content":{"rendered":"\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-sccm-intune-device-management-enterprise-mobility-amp-security wp-block-embed-sccm-intune-device-management-enterprise-mobility-amp-security\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"1np662DYPL\"><a href=\"https:\/\/www.manishbangia.com\/upgrade-dc-from-server2016-to-server2022\/\">Upgrade Domain Controller from Server 2016 to Server 2022<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Upgrade Domain Controller from Server 2016 to Server 2022&#8221; &#8212; SCCM | Intune | Device Management| Enterprise Mobility &amp; Security\" src=\"https:\/\/www.manishbangia.com\/upgrade-dc-from-server2016-to-server2022\/embed\/#?secret=wRf8sFnPIS#?secret=1np662DYPL\" data-secret=\"1np662DYPL\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Windows Server 2022 Datacenter: WX4NM-KYWYW-QJJR4-XV3QB-6VM33<\/p>\n\n\n\n<p>Windows Server 2022 Standard: VDYBN-27WPP-V4HQT-9VMD4-VMK7H<\/p>\n\n\n\n<p>1-&nbsp;<\/p>\n\n\n\n<p>Run the following PowerShell command (in elevated mode) to verify :<\/p>\n\n\n\n<p>Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion<\/p>\n\n\n\n<p>Compare to:<\/p>\n\n\n\n<p>AD version<\/p>\n\n\n\n<p>Windows Server 2000<\/p>\n\n\n\n<p>13<\/p>\n\n\n\n<p>Windows Server 2003<\/p>\n\n\n\n<p>30<\/p>\n\n\n\n<p>Windows Server 2003 R2<\/p>\n\n\n\n<p>31<\/p>\n\n\n\n<p>Windows Server 2008<\/p>\n\n\n\n<p>44<\/p>\n\n\n\n<p>Windows Server 2008 R2<\/p>\n\n\n\n<p>47<\/p>\n\n\n\n<p>Windows Server 2012<\/p>\n\n\n\n<p>56<\/p>\n\n\n\n<p>Windows Server 2012 R2<\/p>\n\n\n\n<p>69<\/p>\n\n\n\n<p>Windows Server 2016<\/p>\n\n\n\n<p>87<\/p>\n\n\n\n<p>Windows Server 2019<\/p>\n\n\n\n<p>88<\/p>\n\n\n\n<p>Windows Server 2022<\/p>\n\n\n\n<p>88<\/p>\n\n\n\n<p>CMD&nbsp;<\/p>\n\n\n\n<p>Open command prompt (elevated rights) on Domain controller and<\/p>\n\n\n\n<p>navigate to source directory of Windows Server ISO. In my case the<\/p>\n\n\n\n<p>location was d:\\support\\adprep\\adprep.exe.<\/p>\n\n\n\n<p>cd..<\/p>\n\n\n\n<p>cd..<\/p>\n\n\n\n<p>cd DVD (assuming you copied the DVD contents to a folder on the C drive called DVD<\/p>\n\n\n\n<p>cd support<\/p>\n\n\n\n<p>cd adprep<\/p>\n\n\n\n<p>Run the command adprep.exe \/forestprep<\/p>\n\n\n\n<p>Run adprep.exe \/domainprep<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows Server 2022 Datacenter: WX4NM-KYWYW-QJJR4-XV3QB-6VM33 Windows Server 2022 Standard: VDYBN-27WPP-V4HQT-9VMD4-VMK7H 1-&nbsp; Run the following PowerShell command (in elevated mode) to verify : Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion Compare to: AD version Windows Server 2000 13 Windows Server 2003 30 Windows Server 2003 R2 31 Windows Server 2008 44 Windows Server 2008 R2 47 Windows Server 2012 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[113],"tags":[],"class_list":["post-1601","post","type-post","status-publish","format-standard","hentry","category-servers","post-preview"],"_links":{"self":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts\/1601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1601"}],"version-history":[{"count":1,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts\/1601\/revisions"}],"predecessor-version":[{"id":1602,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=\/wp\/v2\/posts\/1601\/revisions\/1602"}],"wp:attachment":[{"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ultrexstaff.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}