12 Apr 2013

Migrating Services from Windows Server 2008 to Server 2012

Microsoft has included Windows Migration Tools on every version of Windows for past a few years. This is no different this time as Windows Server 2012 includes Windows Migration Tools that can be install as a windows feature. This set of tools will allow admins to migrate commonly used roles such as WSUS role and DHCP Server role. You can install these migration tools by going to Server Manager and using the "Add Roles and Features Wizard". Alternativley you can run the "Install-WindowsFeature Migration" PowerShell command.

<img src="file:///C|/Documents and Settings/Administrator/My Documents/infotechguyz/WindowsServer2012/Install-WindowsFeatureMigration" />


<img src="file:///C|/Documents and Settings/Administrator/My Documents/infotechguyz/WindowsServer2012/startmenuprompt" />

Once the migration tools are installed, you can access by using the start menu. This will open up a PowerShell prompt as displayed below. Now, we must run the smigdeply.exe tool to generate an install file for the source server where we are migrating the services from. In this case, this is a Windows Server 2008 R2 server. To generate this install package:

  1. Open command prompt as administrator
  2. Browse to c:\windows\system32\servermigrationtools
  3. Run ".\smigdeploy.exe /package /architecture amd64 /os WS08R2 /path C:\"

<img src="file:///C|/Documents and Settings/Administrator/My Documents/infotechguyz/WindowsServer2012/servermigrationtools" />

This drops the installer files in C:\SMT_ws08E2_amd64 .

<img src="file:///C|/Documents and Settings/Administrator/My Documents/infotechguyz/WindowsServer2012/SMT_ws08E2_amd64" />

Once Windows Migration tools are installed on both servers, you can use the powershell cmdlets to perform the migration.

<img src="file:///C|/Documents and Settings/Administrator/My Documents/infotechguyz/WindowsServer2012/powershellcmdlets" />

 

No comments:

Post a Comment