Windows Server 2022 Datacenter: WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Windows Server 2022 Standard: VDYBN-27WPP-V4HQT-9VMD4-VMK7H
1-
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
56
Windows Server 2012 R2
69
Windows Server 2016
87
Windows Server 2019
88
Windows Server 2022
88
CMD
Open command prompt (elevated rights) on Domain controller and
navigate to source directory of Windows Server ISO. In my case the
location was d:\support\adprep\adprep.exe.
cd..
cd..
cd DVD (assuming you copied the DVD contents to a folder on the C drive called DVD
cd support
cd adprep
Run the command adprep.exe /forestprep
Run adprep.exe /domainprep