Migrate Windows XP to Windows 7 using SCCM 2012

The purpose of this article is to demonstrate how to migrate a Windows XP machine to Windows 7 using System Center Configuration Manager 2012. A few assumptions are made. You have a fully functional Configuration Manager site installed with USMT 4.0 packages installed (one of the prerequisites when install SCCM 2012). Your XP machine has Configuration Manager agent installed and active in the SCCM Console. You have a reference/captured image (Windows 7 image). (a post on how to do reference images soon)

What's the plan ?

 

Create a USMT Package

Distribute the USMT Package to a Distribution Point

Create a migration task sequence using an already captured Windows 7 image

Create, Edit, and Deploy an OS Migration Task Sequence

Create Deployment collection

Deploy the Task Sequence to the Migration Collection

Add Windows XP system to Migration Collection

Did it work ?

 

Create the USMT Package

Logon on the configuration manager machine, open the Configuration Manager Console

Navigate to Software library, Application Management, Packages

Right-Click Packages, Click Create Packages

On the Package screen, enter a name USMT 4.0

Select  This package contains source files, click Browse

specify the source folder of the USMT 4.0 . (Usually in C:\Program Files\Windows AIK\Tools\USMT unless you've this folder to share location)

On Program Type, select  Do not create a program. Click Next twice, then Close.

Distribute the USMT Package to a Distribution Point

 

Right-Click on USMT 4.0, click Distribute Content.   On the General Screen click Next.

On the Content Destination Screen, click Add.

Click Distribution Point. Select your distribution point. Click Ok, Next, Close.

Create, Edit, and Deploy an OS Migration Task Sequence

Navigate to Software Library, Operating System, Task Sequences

Click Create Task Sequence

On the Create Task Sequence screen, Select Install an existing image package and Click Next

Click Browse, select your image name, click Ok

Select Always use the same administrator password and type your local admin password, click Next

You can join a domain or leave it at workgroup, up to you. If you select Join a domain , next to domain click Browse.

You can leave the domain OU empty. Select Always use the same administrator password , click OK, Next.

On the Install Configuration Manager screen, click Browse and select Configuration Manager Client Package , click OK, Next.

On the State Migration Screen, click Browse and select the Microsoft USMT 4.0 package, click  OK.

Keep the remaining defaults and click Next.

On the Include Updates screen, if there are no software updates click next , otherwise select All software updates , Next.

On the Install Application screen, click Next, Next, Close

Select the task sequence you just created and click Edit

Select Apply Data Image 1 and click Remove

In the task sequence editor, select Partition Disk

Double-Click the second partition listed on the Properties tab

a new window will open Partition Properties

Select Use a percentage of the remaining free space ( leave it to 100%)

Type OS in the Variable Name and click OK to close the partition properties.

Select the Apply Operating System task sequence step and change the Destination (at the bottom of the screen)  drop-down to Logical drive letter stored in variable.

Type OS in Variable Name, click ok to close the task sequence editor.

Create Deployment collection

 Navigate to Asset and Compliance, Overview, Device Collections.

Select Device Collections, and Click Create Device Collection

Enter a name of Windows 7 Migration

Click Browse next to limiting Collection

Select All Systems collections and then click Ok, then Click Next.

Uncheck the Schedule a full update on this collection group. Click Next

Ignore the warning for empty collection. Click Next, Close.

Deploy the Task Sequence to the Migration Collection

Navigate to Software library, Operating System, Task Sequences

Select the Windows 7 Enterprise SP1 with USMT task sequence

Right-Click , Deploy. Click Browse in the collection field , select the Windows 7 Migration collection. click ok.

Ignore the empty collection message. Click Next.

On the Deployment Settings screen, select Required as the purpose. (I.e unattended migration), click Next.

On the Scheduling Screen, Click New, Click Ok, Change the Return behavior to Never rerun deployed program.

Click Next four times and then Close.

Add Windows XP system to Migration Collection

Navigate to Assest and Compliance, Device Collections.

Select All Systems, click show members. Click Home.

Right-click xpmachine, Add selected items to an Existing Device collection select WIndows 7 Migration Collection.

 

Let the Magic begin ....

Logon onto the XPClient Machine with any user, but remember this user. You will logon with the same user after the migration.

Open Control Panel, Double Click Configuration Manager. On the action tab, select Machine Policy & Retrieval & Evaluation Cycle and click Run Now.

A lot of flickering is going to happen, and setup running in the background. Well done !

Did it work ?

Well, if you see Windows 7 and your pervious logon user still sees his/her files, then it worked!