-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Instant Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
By :
In this recipe I will explain a procedure for migrating DHCP scope and lease information using the Windows Server Migration Tools. Migrating infrastructure services such as DHCP, DNS, WINS, and so on will have some impact on network operations. So make sure to schedule a maintenance window and place proper change control before you perform these activities.
If the DHCP role is not installed on the target server, the Windows Server Migration Tools will install it during the migration process. However, in this scenario, we will be manually installing the DHCP role and authorizing the DHCP server in Active Directory.
The following diagram explains the high level steps involved in this migration:


\\HOU-MGR-01\MigTools to C:\MigTools.C:\MigTools folder. Run the SmigDeploy.exe command. This will register the migration tool on the source server and open a PowerShell window as shown in the following screenshot:
The PowerShell and .NET Framework are prerequisites for this tool.
After you register the SmigDeploy.exe tool, Windows Server Migration Tools will be added to the Administration Tools menu on the local server. You can uninstall this tool by running the SmigDeploy.exe /Unregister command.
Export-SmigServerSetting –FeatureID DHCP –Path C:\DHCPExport\ cmdlet. It will prompt you for a password for the export file. Hit Enter to continue with the export process. The export file will be in the C:\DHCPExport folder.
C:\DHCPExport\svrmig.mig) over to the target Windows Server 2012 DHCP server.\\HOU-MGR-01\MigTools folder and run the SmigDeploy.exe tool.
Import-SmigServerSetting –FeatureID DHCP –Path D:\DHCPExport cmdlet and hit Enter. You need to provide only the folder name.As I mentioned before, if the DHCP feature was not installed, the migration tool will install this feature as shown in the following screenshot:


The preceding process migrates DHCP information onto the new Windows Server 2012 server. At this point the new DHCP server will have all the DHCP scope and lease information.
You can verify the scope and lease information from the DHCP admin console. The IP helper address on the router has to be changed with the new DHCP server′s IP address if it is configured with the old DHCP server′s IP address. Once you verified these configurations, the old DHCP server can be decommissioned. Windows Server 2012 provides high-availability and failover capability for DHCP. You may want to take advantage of this new feature right away.
The DHCP scope and lease information can also be migrated using Netsh Export and Netsh Import commands.
Change the font size
Change margin width
Change background colour