Deployment Day Session 2 MDT 2012 Advanced
-
Upload
microsoft-technet-belgium-and-luxembourg -
Category
Technology
-
view
4.955 -
download
4
description
Transcript of Deployment Day Session 2 MDT 2012 Advanced
Migrate XP to Windows 7 Without Loosing any User or Application Settings
Rhonda Layfield
Deployment Done Right
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
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
MDT Hidden Secrets• Properties of a Deployment Share• Compare 2010 U1 to 2012
DEMOHidden Secrets
ADVANCED MDT 2012
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”
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
Linked Deployment Shares
LDS
WAN Links
Not So Well Connected Clients
MDT DS
Brussels
Nivelles Antwerp
OSApplication Drivers Task Sequences
OSApplication Drivers Task Sequences
OSApplication Drivers Task Sequences
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
Problems• Get out of sync• DFS-R replication– Boot.ini file
• Forget a component
DEMOCreate a LDS
Deploy OSs From a UFD
Branch Offices
MDT DS
Brussels
Nivelles Antwerp
Good WAN Link
Unreliable WAN Link
Media Deployment
Bare Metal
MDT Deployment Image
Pro No Network Connectivity
Con No Version Control
DEMOCreate Media
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
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
Problems With Media• Forget a component• No way to password protect the UFD• Do not format NTFS– Not bootable
XP MIGRATIONXP to Windows 7
MDT Network Deployment
MDT 2012 Deployment Server
MDT WinPE
11 Copy WinPEBoot Target22
XPWinPE
Store Users Data and Settings
MDT Network Deployment
MDT 2012 Deployment Server
Connect to MDT Server and Download ImageConnect to MDT Server and Download Image
WinPE
Restore Users Data and Settings
W7
DEMOMigrate XP to Win 7
Get MDT Deployment Server Ready
• Add an Operating System–Windows 7
• Add Drivers• Add Applications• Create a Task Sequence
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…
XP Migration “Refresh” Scenario
MDT 2010 U1 Deployment Server
XP SP2/SP3XP SP2/SP3
11 Begin MDT DeploymentBegin MDT Deployment
Format Hard driveFormat Hard drive44
Windows 7 InstalledWindows 7 Installed55
Get list of Applications InstalledGet list of Applications Installed22
77User and Application Data and
Settings are Restored from serverUser and Application Data and
Settings are Restored from server
33User and Application Data and Settings are stored on server
User and Application Data and Settings are stored on server
W7
Applications are InstalledApplications are Installed66
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
Gather Application Information• Log on as a standard user for read only mode• HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
Uninstall key name
Gather Application Information• .Exe’s are easy – the application name is obvious• .Msi’s are displayed as GUID’s – look for the DisplayName
.EXE
.MSI
Copy Key Name to Notepad
Gather Application Information
• This is what you will get:– HKEY_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}
Gather Application Information
DEMOGather Application Information
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
DEMOAdd Application data to MDT Server
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
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=DefaultProperties=MyCustomProperty
[Default]OSInstall=YSkipAppsOnUpgrade=YESSkipCapture=YESSkipAdminPassword=NOSkipProductKey=YES
Configure MDT• Add LTIAppDetect.vbs
[Settings]Priority=DefaultProperties=MyCustomProperty [Default]UserExit=LTIAppDetect.vbsOSInstall=YSkipAppsOnUpgrade=YESSkipCapture=YESSkipAdminPassword=NOSkipProductKey=YES
MANDATORY APPLICATIONS
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")
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
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
Get In Touch With Me…• Let me know how your deployments are
going:– [email protected]
• Follow me on Twitter– [email protected]
• Available for consulting and training
Up Next• Windows Deployment Services (WDS)• Comparison between WDS and MDT
2012