Network, Windows Server

How to disable IP auto-configuration in server

If you add a static IP in a core server, you may see that the auto-configuration is on and giving a 169.0.0.0 number as the preferred address and the new static IP as the duplicate address. This will not work. When using a Core server, use the following steps to fix the issue.

 

Step 1: Run > cmd > ipconfig /all

Continue reading “How to disable IP auto-configuration in server”

DHCP, Windows Server

How to Migrate DHCP from Windows Server 2012 R2 to Server 2016

Migrating a DHCP from Server 2012 R2 to Server 2016 involves only two commands. The first command is to export the DHCP data and is run on Server 2012 R2. The second command imports the DHCP data and it is run on the Windows 2016 server.

The following steps illustrate how to use those two commands.

Import and Export DHCP Data

1. Log in with an administrator account to the Windows Server 2012 R2 system.

2. Open Powershell and then type in the following command:

Export-DhcpServer -File C:\DHCPdata.xml -Leases -Force -ComputerName old.network.local –Verbose

3. Copy the file C:\DHCPdata.xml the Windows Server 2016 system.

4. Install and configure the DHCP role on Server 2016 (Same Server 2012 R2 installation steps, Check my related article on DHCP Server 2012 R2 for help).
Continue reading “How to Migrate DHCP from Windows Server 2012 R2 to Server 2016”