Ed Meadows
From: Max Stevens [[email protected]]
Sent: 10 January 2014 08:01 To: [email protected]
Subject: User State Migration for the new Windows 8.1 computers in the Research department Hi Ed,
We have 10 new Windows 8.1 computers that are being deployed within the Research department. We need to ensure that no user data stored on the old computers is lost in the migration, and that all user data is migrated to the new computers. What I want you to do is use USMT to help with the user state migration. Here are some additional things to consider:
• The old computers have Windows 7 installed.
• All computers have Microsoft Office 2010 installed.
• The contents of the Shared Video, Shared Music, and Shared Pictures folders should not be migrated from Windows 7 to the new Windows 8.1 computers.
• We have a custom folder named ResearchApps that has to be migrated from all the old computers to the new Windows 8.1 computers.
MCT USE ONL Y. STUDENT USE PROHIBITED
Configuring Windows® 8.1 4-35
• All domain profiles that are on each existing computer should be migrated to the new systems.
• You can use \\LON-DC1\Data as a location to store the data store during the migration. The data store should be compressed to minimize space. Because there is no confidential information on these specific computers, we do not need the migration store to be encrypted.
Thanks, Max
Your user state migration information states that several operating system features should not be migrated. You also have to migrate an additional folder from the old computers to the new Windows 8.1 computers. Your first task is to create the custom XML files that address these requirements.
The main tasks for this exercise are as follows:
1. Read the supporting documentation.
2. Create a Config.xml file.
3. Modify a custom migration XML file.
Task 1: Read the supporting documentation
• Read the supporting documentation provided in the exercise scenario.
Task 2: Create a Config.xml file
1. Sign in to LON-CL3 as Adatum\Don with password Pa$$w0rd.
2. Verify that Don has a black desktop and that the Computer and Don Funk folders are on the desktop.
3. Create a new text document named your name on the desktop.
4. Sign out and sign in to LON-CL3 as Adatum\Administrator with password Pa$$w0rd.
5. At a command prompt, map a network drive located on LON-DC1 by using the following command:
Net Use F: \\LON-DC1\USMT
6. Change to drive F, and then create a Config.xml file by using the following command:
scanstate /i:migapp.xml /i:miguser.xml /genconfig:config.xml
7. At the command prompt, type notepad config.xml to view the Config.xml file.
8. Modify the XML code to exclude the following from the migration:
o Shared Video o Shared Music o Shared Pictures
Note: For each of the folders, look for component displayname, and then change the migrate attribute to “no.”
Task 3: Modify a custom migration XML file
1. At a command prompt, type notepad folders.xml, and then press Enter.
2. Maximize the Notepad window. This is a custom XML file that is used to migrate a specific folder named ResearchApps to the new workstation.
MCT USE ONL Y. STUDENT USE PROHIBITED
4-36 Managing Profiles and User State in Windows 8.1
3. Change the variable <Foldername> to ResearchApps. The entire line should read as follows:
<pattern type= “File”>C:\ResearchApps\* [*]</pattern>
4. Verify that there is a C:\ResearchApps folder on the disk and that it contains multiple files.
5. Create a new text document with your name in the C:\ResearchApps folder.
Results: After completing this exercise, you should have created and customized XML files to use with the User State Migration Tool (USMT).
Exercise 2: Capturing and Restoring User State to a Target Computer
Scenario
Now that you have the required custom XML files, you can perform the USMT migration task. Use USMT to capture the current user state on LON-CL3 by using ScanState and the custom migration files. Then, restore the user state to LON-CL1 and confirm the migration.
The main tasks for this exercise are as follows:
1. Capture user state on the source computer.
2. Restore user state on the destination computer.
3. Verify the user state migration.
Task 1: Capture user state on the source computer 1. On LON-CL3, switch to the command prompt.
2. Verify that the \\LON-DC1\Data shared folder is empty.
3. Capture user state by using the following command:
F:\Scanstate \\LON-DC1\Data /i:migapp.xml /i:miguser.xml /i:folders.xml /config:config.xml /o /efs:copyraw
4. Verify that the \\LON-DC1\Data shared folder stores the USMT.MIG captured user state.
Task 2: Restore user state on the destination computer
1. Sign in to LON-CL1 as Adatum\Administrator with password Pa$$w0rd.
2. Verify that C:\Users does not contain subfolders named Ed or Don.
3. Verify that there is no ResearchApps folder on drive C.
4. Open the Command Prompt window, and then map network drive F to \\LON-DC1\USMT. Use the following command:
Net Use F: \\LON-DC1\USMT
5. Change to drive F, and then restore user state on the destination computer by using the following command:
Loadstate \\LON-DC1\Data /i:migapp.xml /i:miguser.xml /i:folders.xml
MCT USE ONL Y. STUDENT USE PROHIBITED
Configuring Windows® 8.1 4-37
6. Verify that the C:\Users folder contains subfolders named Ed and Don.
7. Sign out of LON-CL1.
Task 3: Verify the user state migration
1. Sign in to LON-CL1 as Adatum\Don with password Pa$$w0rd.
2. Verify that the Computer and Don Funk folders, in addition to a text document with your name, are on the desktop.
3. Verify that the C:\ResearchApps folder with all its content has migrated successfully, including the file with your name.
Results: After completing this exercise, you should have captured and restored user states by using USMT.
Prepare for the next module
When you are finished with the lab, revert all virtual machines back to their initial state:
1. On the host computer, start Hyper-V Manager.
2. In the Virtual Machines list, right-click 20687D-LON-DC1, and then click Revert.
3. In the Revert Virtual Machine dialog box, click Revert.
4. Repeat steps 2 and 3 for 20687D-LON-CL1 and 20687D-LON-CL3.
MCT USE ONL Y. STUDENT USE PROHIBITED
4-38 Managing Profiles and User State in Windows 8.1
Module Review and Takeaways
Review Questions
Question: After you created a user account in AD DS, you noticed that the domain user does not have a user profile yet. Why?
Question: Can you use UE-V to synchronize application settings for a user who is configured with Folder Redirection already?
Question: You have been asked to retain user settings for 200 users who are having their Windows 7 desktop computers replaced with new Windows 8.1 computers. Which tool should you use to migrate user settings?
MCT USE ONL Y. STUDENT USE PROHIBITED
5-1