There are no updates for the domain and forest functional levels for Windows Server 2022. Thus, the highest level that can be configured is Server 2016 Domain and Server 2016 Forest functional levels. The steps below will show how to update the functional levels.

  1. Logon to the domain server and Techmentor\Administrator / P@ssw0rd.
  2. Open an Administrative PowerShell prompt and run the following:

    Get-ADDomain | select domain mode, DistinguishedName

  1. Get-ADForest | select forestMode

  1. Get-ADDomain –identity techmentor.com

  1. #Run against the PDC Eumulator
  2. $pdc = Get-ADDomainController -Discover -Service PrimaryDC
  3. Set-ADDomainMode -Identity $pdc.Domain -Server $pdc.HostName[0] -DomainMode Windows2016Domain

  1. #Update the Forest Functional Level
  2. $pdc = Get-ADDomainController -Discover -Service PrimaryDC
  3. Set-ADForestMode -Identity $pdc.Domain -Server $pdc.HostName[0] -Forest Windows2016Forest

  1. Get-ADDomain | select domainMode, DistinguishedName
  2. Get-ADForest | select forestMode