Windows Deployment Service (WDS) vs Microsoft Deployment Toolkit 2012 (MDT) Choose The Right Tool Rhonda Layfield Sr. Deployment Architect Deployment Done Right Rhonda Layfield • • • • • • I live in Washington DC Been in the IT industry for 30 years US Navy for 7 years Setup and Deployment MVP Desktop Deployment Product Specialist (DDPS) I am self employed • I provide training and consulting services • Twitter handle - @DeploymentDr.com The Goal For This Session • To help you decide which tool is right for you • All tools deploy both Server and Desktop Operating Systems (OSs) • Both tools are either FREE or In-The-Box But First … Windows Deployment Service • WDS replaces Remote Installation Services (RIS) • Provides both boot and installation images from the WDS server • Supports .WIM and .VHD technology WDS Requirements DHCP 1 AD/DNS 2 3 Bare-Metal WDS Install WDS • Install WDS on a 2008 (or R2) server • Server Manager • Add Roles • Select Windows Deployment Services from the list of roles Configuring WDS WDS snap-in Right-click Servers Add Server – defaults to local server Right-click your server and choose Configure Server. Store your images on a drive other than where the OS resides 564D49219C768546A956C310ED7D2BF6 Adding a Boot Image • A boot image is a Windows Pre Installation Environment (WinPE) • The most current will always be best • Windows 7 SP1 Boot.wim can deploy • Vista SP1 – Windows 7 – Windows 7 SP1 • Windows Server 2003 R2, 2008 and 2008 R2 • Use an older WinPE will produce undesired results demo Add a Boot Image Compare WinPEs Adding an OS Image • Both .wim and .vhd are supported • Adding a .wim • Right–click Install Images • Add Install Image • Image Groups • Adding a .vhd • Elevated command prompt • WDSUTIL /Add-Image /ImageFile:\\Server\Share \Win7.vhd /Server:WDSServer /ImageType:Install /ImageGroup:Windows7 /Filename:"Windows7.vhd" Add Drivers & Applications • 3rd party drivers only • No Applications can be deployed from WDS • Only a Thick image containing your applications From The Client • Perform a Network Boot • Sometimes called a Pre Execution Boot Process • OR • PXE Boot demo WDS Client Deployment WDSServer sends packet 1 to client1 WDSServer sends packet 1 to client2 WDSServer sends packet 1 to client3 WDSServer sends packet 1 to all clients WDSServer sends packet 1 to client1, client2, client3 Multiple streams of traffic Optimized rates based on client connection Fast Client Auto Removal Medium Slower clients can be dropped to unicast or entirely (only in standard multicast) Boot Image Multicast Slow Windows PE boot images can use multicast (clients with EFI) WDS Server First client joins “transmission” WDS Server Fast Medium Slow Medium WDS Server Medium Slow Medium Fast Medium Fast Medium WDS Server Slow Medium Medium WDS Server 1 Install WAIK 2 Install MDT 3 Create a Deployment Share Operating Systems: Server 2008 R2 Server 2003 R2 Vista Windows 7 MDT 2012 Deployment Server 1 Add an OS W7W7 DVD DVD Windows Server 2003 R2 Windows Server 2008 & R2 XP SP3 Vista SP1 Windows 7 & SP1 MDT 2012 Deployment Server 2 SYSPREP Deploy OS 3 Store Image Create A Reference Add Components • Applications • Office 2010 • Adobe Reader • Drivers • 3rd party • Packages • OS patches • Language packs Over Time You Will Have Multiple Images To Deploy: • Multiple OSs • Windows 7 SP1 base DVD • Windows 7 custom Hybrid .wim image • Windows Server 2008 R2 • Drivers for different models of machines • Applications for different groups of users • So you will need a way to group components together for a specific deployment • This is called a Task Sequence Update The Deployment Share • Updating the deployment share creates a custom MDT Windows Pre Installation Environment (WinPE) • This WinPE is very intelligent • Pre-configured to know who the MDT server is and the name of the Deployment Share 1 Copy WinPE MDT WinPE MDT 2012 Deployment Server 2 Boot Target Connect to MDT Server and Download Image 3 Quick Note on Using USB Hard Drives • Different BIOS number the USB hard drives differently • When numbered 0 – they can show up as fixed drives and you don’t want that • ConfigMgr OSD does not support booting from USB hard drives MDT Deployment Image Bare Metal Pro No network connectivity needed Con No version control Automate the Clients Experience • When you run the Deployment Wizard • Choose which screens are displayed during the deployment • Suppress the ones you don’t want anyone to see or change like: • Product Key • Administrator’s password • Customize the words displayed on the pages Branch Offices Toronto OS Application Drivers Task Sequences MDT DS Good WAN Links Oakville Hamilton Linked Deployment Shares (LDS) • LDS allows you to copy a subset (or all if you choose) of components to another machine • Even Windows 7 can host a LDS • But, if you host the LDS on a server you can integrate WDS with it I’m 00-FF-B0-2B-48-09 Server1 DHCP MDT WinPE Server3 I’m 53-FF-C0-27-59-38 2K8R2 DNS DC MDT Deployment Server MDT Database • Automate what gets installed on a computer • Original image and re-imaging • How it works: • When a client begins the Deployment Wizard a script runs: ZTIGather.wsf • Gathers all kinds of information from the client like: • • • • Universally Unique ID (UUID) Serial number Asset tag MACAddress • Queries the MDT database for a match • Applies the configured settings MDT 2012 & ConfigManager • Aligned more closely with Config Manager 2012 • Shipping times: • RTM after Config Manager 2012 ships • Still need to integrate MDT 2012 into Config Manager 2012 • New Terminology • Advertise = Deploy • Packages can either be optional or mandatory • Optional = available • Mandatory = required New Features • New Deployment Wizard • Deploy .vhd images • Supports deploying ThinPC and POSReady • ThinPC – basic Win7 • Citrix or Terminal Services client • POSReady • Point of Sales – cash registers • Cross platform deployment • 32 bit WinPE can deploy 32 or 64 bit OSs More New Features • Diagnosis and Recovery Toolset (DART) • Allows remote control of target machines • Even in the WinPE phase • Deployment Workbench gets a new tab • Monitor deployment clients • Properties of the deployment share are more streamlined • New UDI wizard designer • Image factory – create .wim or .vhd • Vhd can be deployed via Virtual Machine Manager as templates to create new virtual machines Unified Extensible Firmware Interface (UEFI) • Full support of UEFI • Intels replacement for PC BIOS • Offers support for GUID partition tables (GPT) • MBR partition tables restricted disk partition sizes to a maximum of 2.19 TB • MBR supports only 4 partitions • • 4 primary 3 primary and 1 extended (break it up into logicals) • • 1 zettabyte = 1 billion terabytes Supports upto 128 volumes • GPT allows a maximum disk and partition size of 9.4 ZB 512 Byte – 4K Misalignment • Legacy drives support 512-byte physical sectors • OSs use 4K logical block sizes • virtual memory pages & file systems like NTFS 4K 512 512 512 512 512 512 512 512 512 512 512 512 Sector Overhead • Data • ID Information • identify each sector by number and location • a single bit is used to indicate if the sector has been marked defective • Synchronization Fields • Where do I go to find the next piece of a file • Error Correcting Code (ECC) • ensure data integrity • Gaps or spacers • separate sector areas and gives the controller time to process what has been read before moving on to process more data 4K 512 522 512 518 512524 512 520 512 524512 512 516 512 518 518 What’s The Problem? The Fix • The result is performance is degraded • 10% – 30% • The fix is for hardware and OSs to both read at a 4K sector size • 4K sector sizes are not supported for XP • But they are in WinPE 3.0 MDT & WDS Together MDT 2012 Deployment Server MDT WinPE WDS Server MDT WinPE Win 7 Image Download Image PXE Boot Targets Feature Comparison MDT 2010 MDT 2012 WDS Supports .wim images YES YES YES Supports .vhd images NO YES YES Requires Infrastructure NO NO YES Manage images easily YES YES NO Driver management Easy Easy Difficult Provides PXE capabilities W/ WDS W/WDS YES Provides Multicast W/ WDS W/WDS YES Creates offline or stand alone media YES YES NO Automate Deployments YES YES YES Corporate Deployment Share replicates DS to Branch Offices YES YES NO For sessions I’ve presented visit: http://channel9.msdn.com/Events/Speakers/RhondaLayfield New MDT 2012 training video Release date Mar 30, 2012 Check www.DeploymentDr.com for more information I’ll tweet about it when it’s ready to sale $249.99 US Installation and upgrade Create and upgrade deployment shares Network deployments Automate network deployments Customize network deployments Branch office deployment shares No network needed deployments XP migrations to Windows 7 Server OS deployments MDT database MDT & WDS integration MDT & ConfigMgr 2012 integration 5 days ACT MAP USMT Setup.exe architecture Windows AIK Windows SIM Sysprep ImageX DISM • • • • • • • MDT 2010 MDT 2012 WDS WDS Windows 8 ConfigMgr 2007 R3 ConfigMgr 2012 KMS and Activation May 7-11 Washington DC area (Greenbelt Maryland) For more information on the class or to register visit WWW.DeploymentDr.Com More classes to come @DeploymentDR Speaker Blog:WWW.DeploymentDr.Com Email: Rhonda@DeploymentDr.Com Need more information on DMVMUG Visit www.dmvmug.com or send a question to dmvmug@dmvmug.com