+ All Categories
Home > Documents > Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Date post: 25-Feb-2016
Category:
Upload: erol
View: 27 times
Download: 1 times
Share this document with a friend
Description:
Required Slide. SESSION CODE: WCL311. Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools. Rhonda J. Layfield Sr. Technical Consultant RJL, INC. Rhonda Layfield. IT industry since 1982 US Navy for 7 years Contribute articles to Windows IT Pro mag - PowerPoint PPT Presentation
Popular Tags:
64
Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools Rhonda J. Layfield Sr. Technical Consultant RJL, INC. SESSION CODE: WCL311
Transcript
Page 1: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment ToolsRhonda J. LayfieldSr. Technical ConsultantRJL, INC.

SESSION CODE: WCL311

Page 2: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

IT industry since 1982US Navy for 7 yearsContribute articles to Windows IT Pro mag Setup and Deployment MVPDesktop Deployment Product Specialist (DDPS)Co-Author Windows Server 2003 R2 and Windows Server 2008 booksNEW Microsoft Deployment Book

Rhonda Layfield

Page 3: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

What I’ll Cover4 scenariosMDT Installation and required softwareCreate a Deployment ShareImport Windows 7, applications, drivers and packagesCreate a task sequenceMigrate Applications

RefreshReplace/Bare Metal

Automate the Deployment Wizard

Page 4: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Bare MetalNew machines

RefreshKeeping the old hardware

Refreshing the OS on the existing machineReplace

Replacing existing hardware with newMaintaining user’s settings and data

UpgradeUnless your upgrading from Vista there is no direct upgrade path

Four Scenarios

Page 5: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

XP Migration “Refresh” Scenario

MDT 2010 Deployment Server

XP SP2/SP3

1Gather Application Information

Configure MDT – OS & Application Information 2

USMT Gathers User and Application Settings (local store) 6

Boots to WinPE - Win 7 is Installed 7Applications are Installed 8USMT Applies User and

Application Settings (local store) 9

Get list of Configured Applications 4Begin MDT Deployment Wizard 3List & Registry Scan = New list 5Windows 7

Page 6: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

DEMOMDT Network Deployment

Page 7: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

MDT Installation Requirements

You can install MDT on:Vista SP1Windows 7Server 2003 SP2Server 2008Server 2008 R2

Windows Automated Installation Kit (WAIK) 2.0Required software is included in the WAIK

NET Framework 2.0MSXML 6.0MMC 3.0 if Server 2003

Page 8: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Refresh Scenario Step-By-StepsCreate a Deployment ShareImport Windows 7Add applications, drivers and packagesCreate a task sequenceFind existing applications from XPConfigure applications on the deployment serverUpdate Deployment ShareLaunch LiteTouch.vbs from the XP machineMDT scans for configured applicationsThe registry is scanned for existing applications

Page 9: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Refresh Scenario Step-By-StepsThe deployment wizard runs

USMT gathers existing application settingsThe machine boots to the MDT WinPEWindows 7 is installedApplications are installedUSMT applies application settings

Page 10: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Creating a Deployment Share The Deployment Share is the shared folder on the Deployment Server where target machines connect to perform the deploymentYou must create it

Old MDT created it for youBut it put it on the C: drive

Now you decide where to create it

MDTDeployment Server

Deployment Share

Page 11: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

DEMOCreate a Deployment Share

Page 12: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Importing an Operating System

XP SP3Vista SP1 or laterWindows 7Windows Server 2003 R2Windows Server 2008 & R2

Supported OSs

Page 13: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Adding an Application

Page 14: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

DEMOAdd an Application

Page 15: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Adding Drivers

Third party drivers

Page 16: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Adding Packages

OS patchesLanguage Packs

Page 17: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Create a Task SequenceA list of tasks to be run for your deploymentThe order in which the tasks will be runRun task sequences in two different ways

Standard Client TSLiteTouchPE_x86.isoWithin XP

Page 18: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Task SequencesStandard Client TS

Deploys a desktop operating system, applications, drivers and patches

Standard Client Replace TSBacks up the target machine before deploying an image including gathering users state information

Page 19: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

DEMOCreate Task Sequences

Page 20: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Update the Deployment Share

Page 21: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Migrating Applications

ANNOUNCING

Page 22: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

MDT and ApplicationsMDT does not perform any magic on your applicationsIf they don’t run on Windows 7

They won’t run on Windows 7 deployed by MDT 2010So, you’ll need to be sure you have tested your applications first!

Use Application Compatibility Toolkit (ACT)To get a list of applications that will or will not run on Windows 7To troubleshoot the applicationsTo fix the applications – mitigate using SHIMS

OrMicrosoft Assessment and Planning (MAP)

To get a list of applications that will or will not run on Windows 7

Page 23: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Find Existing Applications on XPLog on as a standard user for read only modeHKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall

Uninstall key name

Page 24: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Find Existing Applications.Exe’s are easy – the application name is obvious.Msi’s are displayed as GUID’s – look for the DisplayName

..EXE

.MSI

Page 25: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Copy the Key Name to Notepad

Page 26: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Copying the Key NameThis is what you’ll getHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FC7BACF0-1FFA-4605-B3B4-A66AB382752D}This is the piece you want:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{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}

Page 27: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Configure Applications on The Deployment ServerDW

– Application Properties– On the Details tab – Input the Uninstall

registry key name

Page 28: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Create The Script That Searches For ApplicationsCreate LTIAppDetect.vbs scriptCopy and paste the contents from Michael Neihaus’s blog http://blogs.technet.com/mniehaus/default.aspx?p=2or download LTIAppDetect.vbs from http://www.deploymentdr.com/Download.htmlThenCopy LTIAppDetect.vbs into your deployment share’s Scripts folder

Page 29: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Configure MDT to Look For ApplicationsEdit the Rules of your deployment shareThe Rules determine which pages are displayed by the deployment wizardDW right click deployment share Properties Rules tab

[Settings]Priority=DefaultProperties=MyCustomProperty [Default]OSInstall=YSkipAppsOnUpgrade=YESSkipCapture=YESSkipAdminPassword=NOSkipProductKey=YES

[Settings]Priority=DefaultProperties=MyCustomProperty [Default]UserExit=LTIAppDetect.vbsOSInstall=YSkipAppsOnUpgrade=YESSkipCapture=YESSkipAdminPassword=NOSkipProductKey=YES

Page 30: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Begin Migration by Launching LiteTouch.vbsFrom the XP workstation map a drive to your deployment server:

Start / Run / Deployment server = DeploySrv Deployment share = DeploymentShare$Scripts folderThen run LiteTouch.vbs

Page 31: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Applications Appear Pre-Selected

But someone could de-select itIf you don’t anyone to be able to de-select an applicationYou’ll need to make it “Mandatory”

Page 32: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Making Applications MandatoryEdit LTIAppDetect.vbsEdit LTIAppDetect.vbs scriptSet oApplications = oEnvironment.ListItem("Applications")To:Set oApplications = oEnvironment.ListItem("MandatoryApplications")

Page 33: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

USMT Gathers Existing Application Settingsscanstate.exe C:\MININT\StateStore /v:5 /o /c /hardlink /nocompress /efs:hardlink /i:C:\MININT\USMT\MigApp.xml /i:C:\MININT\USMT\MigDocs.xml /l:C:\MININT\SMSOSD\OSDLOGS\USMTcapture.log /progress:C:\MININT\SMSOSD\OSDLOGS\USMTcapture.prg

Page 34: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Types of Files to Migrate - All Fixed Drives are Searched

.accdb

.ch3

.csv

.dif

.doc*

.dot*

.dqy

.iqy

.mcw

.mdb*

.mpp

.one*

.oqy

.or6

.pot*

.ppa

.pps*

.ppt*

.pre

.pst

.pub

.qdf

• .qel• .qph• .qsd• .rqy• .rtf• .scd• .sh3• .slk• .txt• .vl*

• .vsd• .wk*• .wpd• .wps• .wq1• .wri• .xl*• .xla• .xlb• .xls*

Page 35: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Settings That are Migrated

Accessibility settingsAddress bookCommand-prompt settings*Desktop wallpaperEFS filesFavoritesFolder optionsFontsUsers, Groups and Group memberships*Windows Internet Explorer® settings

* Settings not available for offline migration

Page 36: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

More Settings That are Migrated

Microsoft Open Database Connectivity (ODBC) settingsMouse and keyboard settingsNetwork drive mapping*Network printer mapping*Offline files*Phone and modem optionsRAS connection and phone book (.pbk) files*Regional settingsRemote Access

Page 37: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

The Last of The Settings That are Migrated*Taskbar settingsWindows MailMicrosoft Outlook Express Mail (.dbx) files are migrated from Windows XP*Windows Media PlayerWindows Rights Management

Page 38: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Application Settings Migrated

Adobe Acrobat Reader 9AOL Instant Messenger 6.8Apple iTunes 7, 8Apple QuickTime Player 7Apple Safari 3.1.2Google Chrome betaGoogle Picasa 3Google Talk betaIBM Lotus 1-2-3 9.8IBM Lotus Notes 8IBM Lotus Organizer 9.8IBM Lotus WordPro 9.8Intuit Quicken 2009

Money Plus Business 2008Money Plus Home 2008Mozilla Firefox 3Microsoft Office Access 2003, 2007Microsoft Office Excel 2003, 2007Microsoft Office FrontPage 2003, 2007Microsoft Office OneNote 2003, 2007Microsoft Office Outlook 2003, 2007Microsoft Office PowerPoint 2003, 2007Microsoft Office Publisher 2003, 2007Microsoft Office Word 2003, 2007Opera Software Opera 9.5Microsoft Outlook Express (mailbox file)

Page 39: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Last of the Apps

Microsoft Project 2003, 2007Microsoft Office Visio 2003, 2007RealPlayer Basic 11Sage Peachtree 2009Skype 3.8Windows Live Mail 12, 14Windows Live Messenger 8.5, 14Windows Live MovieMaker 14Windows Live Photo Gallery 12, 14Windows Live Writer 12, 14Windows Mail Vista onlyMicrosoft Works 9Yahoo Messenger 9Zune 3

Page 40: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Microsoft Office is Special

Cannot migrate from/to a different version of an applicationExcept for Microsoft Office

USMT can migrate from an earlier version to a laterMicrosoft Project settings are not migrated from Office 2003 to Office 2007

Page 41: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

OS Settings NOT Migrated

Mapped network drivesLocal printersHardware-related settingsDriversPasswordsApplication binary filesSynchronization filesDLL files

• Executable files• Permissions for shared folders• Languages must match• Customized icons for shortcuts• Taskbar settings (Migrating from XP)

Page 42: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Migrating from XP

Internet Connection Firewall check box and settings are migratedAdvanced-configuration settings are not migrated because of increased security risks

Security LoggingICMP exceptions

Internet Connection Sharing setting is not migrated Could make the network less secure if migrated to the destination computer

The Network Connections user interface does not refresh properly until you log off or press F5

Page 43: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Windows 7 is InstalledWindows 7 should be added to MDT’s Deployment Workbench

Page 44: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

USMT Applies Application Settingsloadstate.exe /v:5 /c /lac /hardlink /nocompress /i:C:\MININT\USMT\MigApp.xml /i:C:\MININT\USMT\Migdocs.xml /l:C:\MININT\SMSOSD\OSDLOGS\USMTrestore.log C:\MININT\StateStore /progress:C:\MININT\SMSOSD\OSDLOGS\USMTrestore.prg

Page 45: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Network Location Page - BUG

Work AroundSet a Group Policy for Network Location

Computer Configuration / Windows Settings / Security Settings / Network List Manager Policies / All NetworksChange Network Location to “User cannot change location”

Hotfix coming - KB 2028749

Page 46: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Issues You Might Run IntoMultiple versions of an application

You could add an application to the DWConfigure the Uninstall Registry key for version 1

Add the same application to the DW againConfigure the Uninstall Registry key for version 2

BUTUSMT gathered application data for version 1 and might not be able to apply the settings to version 2

Page 47: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Applications and Bare Metal/Replace Scenarios

Page 48: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

XP Migration “Replace” Scenario

MDT 2010 Deployment Server

XP SP2/SP3

1Gather Application Information

Configure MDT w/ Application Information 2

USMT Gathers User and Application Settings 5

Boots to WinPE - Win 7 is Installed 6Applications are Installed 7USMT Applies User and

Application Settings 8

List of Configured Apps “Pre-selected” 4

3Begin MDT Deployment Wizard

Windows 7

Page 49: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Bare Metal and Replace Scenario – With ApplicationsWhen applications are added to the MDT a random GUID is createdFind your application’s GUID

Open Windows Explorernavigate to your deployment share\Control folderOpen Applications.xmlExpand the application’s node (each application has it’s own application node)Cick on guid to see the MDT generated GUID in the details paneIf your using MDT 2010 Update 1 the application guid has been added to the properties of the application’s Details tab

From within the DW double click your application and go to the Details tab

Page 50: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Configuring MDT with Mandatory ApplicationsRight click your deployment share and choose PropertiesGo to the Rules tab

[Settings]Priority=DefaultProperties=MyCustomProperty [Default]OSInstall=YSkipAppsOnUpgrade=YESSkipCapture=YESSkipAdminPassword=NOSkipProductKey=YES

MandatoryApplications1={0992c971-a6b2-48d3-b34e-c96309bd4030}

Page 51: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

DEMO

Configuring Apps for Bare Metal and Replacement Scenarios

Page 52: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Clean Up ADUCIf you rename your newly migrated machine the old name still exists in ADSo, you might want to clean that up by deleting the old machine name

Page 53: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Automating MDT 2010Rules of the Deployment

Page 54: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Automate the Clients ExperienceChoose which pages are displayed during the deploymentSuppress the pages you do not want anyone to change or see like:

Product KeyAdministrator’s password

Properties of your deployment shareRules tab

F:\DeploymentShare\Control\Bootstrap.iniF:\DeploymentShare\Control\CustomSettings.ini

Page 55: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Bootstrap.ini[Settings]Priority=Default [Default]DeployRoot=\\DeploySrv\DeploymentShare$SkipBDDWelcome=YES

Page 56: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

CustomSettings.ini[Settings]Priority=DefaultProperties=MyCustomProperty[Default]OSInstall=YScanStateArgs=/v:5 /o /cLoadStateArgs=/v:5 /c /lac /laeSkipAppsOnUpgrade=YESSkipCapture=YESSkipAdminPassword=YESAdminPassword=Swordfish1SkipProductKey=YESProductKey=11111-22222-33333-44444-55555

SkipDeploymentType=YESDeploymentType=REFRESHSkipDomainMembership=YESJoinDomain=DeploymentDomainAdmin=AdministratorDomainAdminDomain=DeploymentDomainAdminPassword=Swordfish1SkipUserData=yesUserDataLocation=AUTOSkipComputerBackup=YESSkipTaskSequence=YESTaskSequenceID=MIG_W7SkipComputerName=YES

Page 57: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

CustomSettings.iniOSDComputerName=%SerialNumber%SkipLocaleSelection=YESUILanguage=en-USUserLocale=en-CAKeyboardLocale=0409:00000409SkipTimeZone=YESTimeZoneName=Eastern Standard TimeSkipApplications=YESUserID=AdministratorUserDomain=DeploymentUserPassword=Swordfish1

SkipBitLocker=YESSkipSummary=YES

Page 58: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

DEMOShow Automated Rules

Page 59: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Then When You Run LiteTouch.vbs

No questions asked!

Page 60: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

What We Covered…4 scenariosMDT Installation and required softwareCreated a Deployment ShareImport Windows 7, applications, drivers and packagesCreated a task sequenceMigrated Applications

RefreshReplace/Bare Metal

Automated the Deployment Wizard

Page 61: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Resources

www.microsoft.com/teched

Sessions On-Demand & Community Microsoft Certification & Training Resources

Resources for IT Professionals Resources for Developers

www.microsoft.com/learning

http://microsoft.com/technet http://microsoft.com/msdn

Learning

Page 62: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Related Content

Breakout Sessions Windows Server 2008 R2 Deployment with MDT

Hands-on LabsTons of them – both on client and server

I’ll be at the Deployment BoothExhibit Hall C

Page 63: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Complete an evaluation on CommNet and enter to win!

Page 64: Migrate Your Windows XP Machines to Windows 7 Using Free Microsoft Deployment Tools

Thanks For Attending

Let me know if I can [email protected]

Please fill out your evaluations!


Recommended