2. Migrate XP to Windows 7 Without Loosing any
User or Application Settings
Rhonda Layfield
Deployment Done Right
3. This Session Assumes…
• MDT 2012 is installed
• Deployment Share has been created
• You have added Windows 7 as an OS to
deploy in the Deployment Workbench
4. What We Will Cover
• MDTs Hidden Secrets
• Advanced Features
– Not so well connected machines
– Machines not connected at all
• Migrate XP machine to Windows 7
8. MDT Components
• The MDT components are:
– Operating Systems
– Applications
– Drivers
– Packages
– Task Sequences
• To use some of the Advanced Features of MDT you will need to group
MDT components together
• The way you group MDT components is by creating a “Selection
Profile”
9. MDT’s Selection Profiles
• The MDT components you group will determine what you
can do with the selection profile:
– Group drivers and packages to inject into the MDT generated
Windows Pre Installation Environments (WinPEs)
– Group drivers to inject into an OS task sequence
– Control which MDT components are included in “Media”
– Group MDT components to replicate (and keep in sync) linked
deployment shares
11. Not So Well Connected Clients
Brussels
OS
Application MDT DS
Drivers
Task Sequences
WAN Links
Nivelles Antwerp
12. Linked Deployment Shares (LDS)
• LDS allows you to copy a subset (or all if you choose) of
components to replicate to another machine
• Even Windows 7 can host a LDS
• But, if you host the LDS on a server you can integrate
WDS
• To create a LDS
• Begin on the target computer
13. Problems
• Get out of sync
• DFS-R replication
– Boot.ini file
• Forget a component
19. Prepare Media
• Open an elevated command prompt
– DISKPART
• List disk (record the number of the external device)
• Select disk N (N is the disk number
• Select disk 2
• Clean
• create partition primary
• select partition 1
• Active
• format fs=ntfs
• Assign
• exit
• Close the command prompt
20. Preparing Media Completed
• Open Windows Explorer
• Turn on show hidden files
• Navigate to the Media “Content” folder
• Copy the entire Content folder
– Boot folder
– Deploy folder
– EFI folder
– Autorun.inf
– Bootmgr
– Bootmgr.efi
21. Problems With Media
• Forget a component
• No way to password protect the UFD
• Do not format NTFS
– Not bootable
26. Get MDT Deployment Server Ready
• Add an Operating System
– Windows 7
• Add Drivers
• Add Applications
• Create a Task Sequence
27. But Wait There is More…
• Re-install existing applications from XP to
Win 7 automatically
• Extend the basic features of MDT
• It would look like this…
28. XP Migration “Refresh” Scenario
1 Begin MDT Deployment
2 Get list of Applications Installed
W7 User and Application Data and
3 Settings are stored on server
XP SP2/SP3 4 Format Hard drive
5 Windows 7 Installed
MDT 2010 U1
Deployment Server
6 Applications are Installed
User and Application Data and
7 Settings are Restored from server
29. To Set This Up
• Gather application information from XP
– Need the uninstall registry keys
• Add applications to MDT Deployment
Workbench
– With the uninstall registry key
• Set up MDT to extend the functionality
30. •
Gather Application Information
Log on as a standard user for read only mode
• HKLMSoftwareMicrosoftWindowsCurrentVersionUninstall
Uninstall key
name
31. Gather Application Information
• .Exe’s are easy – the application name is obvious
• .Msi’s are displayed as GUID’s – look for the DisplayName
.MSI
EXE
33. Gather Application Information
• This is what you will get:
– HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrent
VersionUninstall{FC7BACF0-1FFA-4605-B3B4-A66AB382752D}
• This is the piece you want:
– HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrent
VersionUninstall{FC7BACF0-1FFA-4605-B3B4-A66AB382752D}
• If your doing a lot of applications at one time:
XMLNotepad = {FC7BACF0-1FFA-4605-B3B4-A66AB382752D}
NetMon 3.3 = {365C5A10-6561-454F-B975-56EA878D0A06}
Office 2007 = {90120000-002A-0000-1000-0000000FF1CE}
35. Applications And MDT
• Performed on the MDT deployment server
• Within the Deployment Workbench
• Add an application
• Open the properties of the application
• Go to the Details tab
• Input the Uninstall registry key name from your
Notepad file
37. Extend MDT Functionality
• Download LTIAppDetect.vbs from
– http://www.deploymentdr.com/Download.html
• Copy the LTIAppDetect.vbs script to your
deployment share’s Scripts folder
38. Configure MDT
• Configure MDT to look for applications
• Edit the properties of your deployment share
– From within the Deployment Workbench
• Properties of your deployment share
– Rules tab
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
SkipAppsOnUpgrade=YES
SkipCapture=YES
SkipAdminPassword=NO
SkipProductKey=YES
41. Make Applications Mandatory
• If you don’t want a person to be able to de-select an application during
deployment…
• Edit LTIAppDetect.vbs script
• Set oApplications = oEnvironment.ListItem("Applications")
To:
• Set oApplications = oEnvironment.ListItem("MandatoryApplications")
42. Clean Up Active Directory Users and
Computers
• If you rename your newly migrated machine the old name still exists in
AD
• So, you might want to clean that up by deleting the old machine name
43. What We Covered
• MDTs Properties of a deployment share
• Advanced Features
– Not so well connected machines (LDS)
– Machines not connected at all (Media)
• Migrate XP machine to Windows 7
– Maintaining users data and settings
– Re-installing applications automatically
44. Get In Touch With Me…
• Let me know how your deployments are going:
– Rhonda@DeploymentDr.Com
• Follow me on Twitter
– DeploymentDr@Twitter.com
• Available for consulting and training
45. Up Next
• Windows Deployment Services (WDS)
• Comparison between WDS and MDT 2012
Hinweis der Redaktion
VM already booted to MDT WinPEMDT ServerDeploymentShare\\Boot folder point out *.wim * .isoVM Client VM Settings – pointing to the MDT WinPE .iso
Within the Uninstall key all applications will have an Uninstall Key name
Within the Uninstall key all applications will have an Uninstall Key name