Replace a Windows 7 SP1 Client with Windows 8.1 Using Configuration Manager
Applies To: Windows 8.1
In this topic, you will learn how to replacing a Windows 7 SP1 computer using Microsoft System Center 2012 R2 Configuration Manager. This process is similar to refreshing a computer, but since you are replacing the machine, you have to run the backup job separately from the deployment of Windows 8.1.
For the purposes of this topic, we will use three machines: DC01, CM01, and PC0004. DC01 is a domain controller and CM01 is a machine running Windows Server 2012 R2 Standard. PC0004 is a machine with Windows 7 SP1 that will be replaced with a new machine running Windows 8.1. DC01, CM01, and PC0004 are all members of the domain contoso.com for the fictitious Contoso Corporation. For more details on the setup for this topic, please see Proof-Of-Concept Environment.
In this topic, you will create a backup-only task sequence that you run on PC0004, the machine you are replacing. For more information, see Replace a Windows 7 Computer with a Windows 8.1 Computer.
In this topic
Create a replace task sequence
Associate the new machine with the old computer
Create a device collection and add the PC0004 computer
Create a new deployment
Verify the backup
Deploy the new computer
See also
Prepare for Zero Touch Installation of Windows 8.1 with Configuration Manager
Create a Custom Windows PE 5.0 Boot Image with Configuration Manager
Add a Windows 8.1 Operating System Image Using Configuration Manager
Create an Application to Deploy with Windows 8.1 Using Configuration Manager
Add Drivers to a Windows 8.1 Deployment with Windows PE Using Configuration Manager
Finalize the Operating System Configuration for Windows 8.1 Deployment with Configuration Manager
Monitor the Windows 8.1 Deployment with Configuration Manager
Refresh a Windows 7 SP1 Client with Windows 8.1 Using Configuration Manager
Create a replace task sequence
On CM01, using the Configuration Manager Console, in the Software Library workspace, expand Operating Systems, right-click Task Sequences, and select Create MDT Task Sequence.
On the Choose Template page, select the Client Replace Task Sequence template and click Next.
On the General page, assign the following settings and click Next:
Task sequence name: Replace Task Sequence
Task sequence comments: USMT backup only
On the Boot Image page, browse and select the Zero Touch WinPE 5.0 x64 boot image package. Then click Next.
On the MDT Package page, browse and select the OSD / MDT 2013 package. Then click Next.
On the USMT Package page, browse and select the OSD / Microsoft Corporation User State Migration Tool for Windows 8 6.3.9600.16384 package. Then click Next.
On the Settings Package page, browse and select the OSD / Windows 8.1 x64 Settings package. Then click Next.
On the Summary page, review the details and then click Next.
On the Confirmation page, click Finish.
Review the Replace Task Sequence. Note: This task sequence has many fewer actions than the normal client task sequence. If it doesn’t seem different, make sure you selected the Client Replace Task Sequence template when creating the task sequence.
Figure 42. The backup-only task sequence (named Replace Task Sequence).
Associate the new machine with the old computer
This section walks you through the process of associating a blank machine, PC0006, with an old machine, PC0004, for the purpose of replacing PC0004 with PC0006. PC0006 can be either a physical or virtual machine.
Make a note of the PC0006 machine’s MAC Address. (If PC0006 is a virtual machine, you can see the MAC Address in the virtual machine settings.) In our example, the PC0006 MAC Address is 00:15:5D:0A:6A:96.
Using the Configuration Manager console, in the Asset and Compliance workspace, right-click Devices, and then select Import Computer Information.
On the Select Source page, select Import single computer and click Next.
On the Single Computer page, use the following settings and then click Next:
Computer Name: PC0006
MAC Address: <the mac address from step 1>
Source Computer: PC0004
Figure 43. Creating the computer association between PC0004 and PC0006.
On the User Accounts page, select Capture and restore all user accounts and click Next.
On the Data Preview page, click Next.
On the Choose Target Collection page, select the Install Windows 8.1 Enterprise x64 collection and click Next.
On the Summary page, click Next, and then click Close.
Select the User State Migration node and review the computer association in the right pane.
Right-click the PC0004/PC0006 association and select View Recovery Information. Note that a recovery key has been assigned already, but a user state store location has not.
Review the Install Windows 8.1 Enterprise x64 collection. Don’t continue until you see the PC0006 machine in the collection. You might have to update and refresh the collection again.
Create a device collection and add the PC0004 computer
On CM01, using the Configuration Manager console, in the Asset and Compliance workspace, right-click Device Collections, and then select Create Device Collection. Use the following settings.
General
Name: USMT Backup (Replace)
Limited Collection: All Systems
Membership rules:
Direct rule
Resource Class: System Resource
Attribute Name: Name
Value: PC0004
Select Resources
Select PC0004
Review the USMT Backup (Replace) collection. Don’t continue until you see the PC0004 machine in the collection.
Create a new deployment
Using the Configuration Manager console, in the Software Library workspace, select Task Sequences, right-click Replace Task Sequence, and then select Deploy. Use the following settings:
General
- Collection: USMT Backup (Replace)
Deployment Settings
Purpose: Available
Make available to the following: Only Configuration Manager Clients
Scheduling
- <default>
User Experience
- <default>
Alerts
- <default>
Distribution Points
- <default>
Verify the backup
This section assumes that you have a machine named PC0004 with the Configuration Manager 2012 client installed.
Start the PC0004 machine, and using the Control Panel, start the Configuration Manager applet.
In the Actions tab, select the Machine Policy Retrieval & Evaluation Cycle, select Run Now, and click OK.
Note
You also can use the Client Notification option in the Configuration Manager console, as shown in Refresh a Windows 7 SP1 Client with Windows 8.1 Using Configuration Manager.
Using the Software Center, select the Replace Task Sequence deployment and click INSTALL.
In the Software Center dialog box, click INSTALL OPERATING SYSTEM.
Allow the Replace Task Sequence to complete. It should only take about five minutes.
On CM01, in the D:\MigData folder, verify that a folder was created containing the USMT backup.
Using the Configuration Manager console, in the Asset and Compliance workspace, select the User State Migration node, right-click the PC0004/PC0006 association, and select View Recovery Information. Note that the object now also has a user state store location.
Note
It may take a few minutes for the user state store location to be populated.
Deploy the new computer
Start the PC0006 virtual machine, press F12 to Pre-Boot Execution Environment (PXE) boot when prompted. Allow it to boot Windows Preinstallation Environment (Windows PE), and then complete the deployment wizard using the following settings:
Password: P@ssw0rd
Select a task sequence to execute on this computer: Windows 8.1 Enterprise x64 Custom Image
The setup now starts and does the following:
Installs the Windows 8.1 operating system
Installs the Configuration Manager client
Joins it to the domain
Installs the applications
Restores the PC0004 backup
When the process is complete, you will have a new Windows 8.1 machine in your domain with user data and settings restored.