<<<>>>
On existing DHCP
Open Powershell and then type in the following command
Export-DhcpServer -ComputerName "DC01.omanconvention.com" -File "C:\Media\DHCP\dhcpexport.xml" -Force -Verbose
Copy the file dhcpexport.xml to the new DHCP Server
Install and configure the DHCP role on new DHCP Server
Start the DHCP service
Type in the following command on Powershell to import the DHCP Data
Import-DhcpServer -ComputerName "DHCP01.omanconvention.com" -File "C:\Media\DHCP\dhcpexport.xml" -BackupPath "C:\Media\DHCP\" -ScopeOverwrite -Force -Verbose
Restart the DHCP service
Verify the DHCP Scopes
<<<<>>>
001 Microsoft Disable Netbios Option 0x2
003 Router
006 DNS Servers
015 DNS Domain Name omanconvention.com
How to disable NetBIOS over TCP/IP by using DHCP server options
<<<<>>>>
Verify Current AD Schema
Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion
AD version objectVersion
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
Windows Server 2025 91
Verify the FSMO Role Holders
From Windows Server Media, copy Support folder to a Schema Master
Open command prompt in elevated mode and navigate to location of Support folder c:\Media\Support\adprep
Run "adprep.exe /forestprep"
and Run "adprep.exe /domainprep"
This will upgrade the Schema and Domain-wide information. This process will create two log files under c:\windows\debug\adprep\logs\yyyymmddhhmmss with name ADPrep.log & ldif.log
ADPrep.log will show successful upgrade of Schema and ldif.log will show attributes which has been extended to schema
Run "adprep /domainprep /gpprep"
Run "adprep /rodcprep"
<<<<>>>>