390 likes | 662 Views
Deploying Windows Vista Nearly everything you need in about an hour. Nam Ng Geek Evangelist Microsoft. Planning a deployment The role of BDD New technologies to learn Tools of the trade Windows Deployment Services Advanced Installation Kit System Image Manager (SIM) ImageX Windows PE
E N D
Deploying Windows VistaNearly everything you need in about an hour Nam Ng Geek Evangelist Microsoft
Planning a deployment The role of BDD New technologies to learn Tools of the trade Windows Deployment Services Advanced Installation Kit System Image Manager (SIM) ImageX Windows PE USMT 5 things I like about Windows Big Ticket Items
We Don’t Care About… • Business case for upgrading • Your hardware • Application compatibility • Marketing
So You Want to Deploy Windows Vista • Major rework of how the OS is packaged and installed • New sets of tools to learn and use • New (well kinda) technologies • BDD is everything • But there are pitfalls…lots
Business Desktop Deployment Solution Accelerator Combined learning from 5 million desktops deployed Easier Deployments! Easier to Build & Engineer Desktop Images Easier Planning & Compatibility Testing Easier to Deploy & Migrate Desktops App & file compatibility easier to plan for and remediate than Microsoft Windows XP & Microsoft Office 2003 App compatibility built-in to Windows Vista & Microsoft Office 2007 End-to-end guidance and tools for efficient app compatibility planning & testing Language and hardware neutrality for reduced image count and management costs More reliable deployment and more flexible image customization Deployment tools provide end-to-end guidance across all phases of deployment Non-destructive imaging enables in-place upgrades and faster, simpler user state migration Consistent upgrade and migration process ensures predictability and easy rollbacks Broad, well trained partner ecosystem further reduces cost and risk
Business Desktop Deployment • First and foremost – a methodology • Automation and management suite • Automates build, deploy, update • Guidance and tools • “lite” and “zero” touch versions • Integration with SMS OSD • Hides the complexity of the tools • Automates the things I will show you
Geek Notes What’s new and improved
Going Out on a WIM • File-based Image Format • Introduced with SMS 2003 OSD Feature Pack • *Store Multiple Images within one actual file • File based imaging • Enables compression and single instancing (a technique which allows you to store two or more copies of a file for the space cost of one copy) • Service an image offline • Install a disk image on partitions of any size • Provides API for WIM image for developers • Non-destructive deployment
Why Do I Care? • Vista ships on a WIM (Install.WIM) • Windows PE ships on a WIM inside the WAIK
What Else Has Changed? • Going away: • Unattend.txt, Sysprep.inf, Winbom.ini, Cmdlines.txt • WINNT.exe, WINNT32.exe, and source-based installs • SYSOCMGR • Improving: • Windows PE • RIS (becoming Windows Deployment Services) • Application Compatibility Toolkit • User State Migration Tool • SMS 2003 OS Deployment Feature Pack
Image-Based Setup (IBS) • All Windows Vista release will ship as a Sysprep’d image (install.WIM) • Setup applies (install.WIM) Images, using Unattend answer files (Unattend.XML) for custom installation • Windows Vista Setup supports upgrading FAT/FAT32 to NTFS, with the default format type NTFS • Two ways to “Install” Windows Vista: • Apply install.WIM and use Unattend.XML to customize setup.EXE • Install Vista, configure, capture, and deploy using Vista Imaging tools (ImageX)
Tools of the Trade Digging into the tools you find in BDD
Windows Deployment Services • Replacement for Windows 200x Remote Installation Services • Provides Network boot (PXE) functionality • Utilizes Windows PE 2.0 to provide a rich user experience • Native support for deploying and capturing WIM images • Supports existing RIS file based setups (legacy images)
WDS Management Tools • Set of tools that you use to manage the server, operating system images, and client computer accounts • WDS Console • MMC Snap-In • WDSUtil.exe • WDS Management Utility command-line tool
Boot Vs. Install Images • Boot images are WIM files which contain a valid boot sector • Created with ImageX /boot • Boot.wim from installation media • Install images are WIM files that contain operating systems • Created with WDSUTIL, ImageX or Install.wim from installation media
BDD Deployment Tools • Included in BDD download • Windows PE (prebuilt and prepped on all architectures) • System Image Manager • System Catalogs • Windows PE Build Tools • WDS for Windows Server 2003 • ImageX and WIM tools • Requires .NET and a few other things • On DVD • Available on Connect.microsoft.com today
System Image Manager • Replacement for Setup Manager • Interacts live with a “catalog” of an installation • Generates unattend.XML • Built in validation of unattend.xml • Can be confusing at first
Unattend.XML <unattend xmlns="urn:schemas-microsoft-com:asm.v3"> <settings> <component name="setup"> <UserData> <AcceptEula>yes</AcceptEula> <FullName>Windows User</FullName> <ComputerName>winvista-beta1</ComputerName> <ProductKey>ABCDE-FGHIJ-KLMNO-PQRST-UVWXY</ProductKey> </UserData> <AutoLogon> <Logon UserName="username" Password="password" Count="3" /> </AutoLogon> <ImageInstall> <Image> <InstallTo DiskID="0" PartitionID="1" /> </Image> </ImageInstall> </component> </settings> </unattend>
Tools of the Trade: ImageX • Command line tool for WIM management • Learn to use this • Mount Windows PE to a directory to modify • Mount a Windows Vista WIM to insert an unattend file • Mount a Windows Vista WIM to insert a script and hotfix • Split a WIM into distribution chunks (CD size) • Capture/Apply a disk • Contains an API • Used by BDD
Windows PE • Bootable, special purpose Windows environment • Not DOS • Runs when Windows Vista is installed • Use for these Windows Vista tasks • Installation • Troubleshooting • Recovery
Windows PE 2.0 • Now available to everyone for deploying Windows Vista! • Key part of the Windows Vista deployment and recovery process • Can be serviced offline just like Windows Vista • Inject drivers, add or remove optional components, etc. • Boot from RAM with compressed WIM image • Creates a writeable 32MB ramdisk
Windows PE 2.0 • Things you can do • Can format partitions with NTFS • Network access using Windows Vista drivers • Can use VBScript for complex tasks • Extensible with XML • Run Win32 applications
Tools for Working With Windows PE • BDD • ImageX • Windows PE tools • DiskPart • Drvload • Oscdimg • PEImg • BCDEdit • Edits the Boot Configuration Data (BCD) • Use to add Windows PE to the boot menu
User State Migration Tool 3.0 • Support for Windows Vista and Office 2007 • Integrates with Configuration Manifest Infrastructure (CMI) for migrating OS settings to Windows Vista • New XML-based configuration files • Encryption capability • Minor command line changes • One part of a larger migration engine • Is the workflow, not the logic
USMT 3.0 Requirements • Sufficient disk space for saved state data • Source computer • Windows 2000 Professional • Windows XP Home, Windows XP Professional, Windows XP Professional x64 • Windows Vista, Windows Vista Itanium, Windows Vista x64 • Destination computer • Windows XP versions • Windows Vista versions • Microsoft Internet Explorer 5 or later
ScanState and LoadState • ScanState • Collects files and settings from source computer • Controlled by XML files • Creates USMT3.MIG file • LoadState • Controlled by XML files • Reads USMT3.MIG file • Restores saved state onto destination computer
A Simple Deployment… • Install and configure a reference computer • Create a Windows PE image to apply the reference computer • Script Windows PE to save state to the local disk, then erase all but the state • Script Windows PE to apply the reference WIM • Use a startup script to restore state from local disk P.S. That’s what BDD lite touch does…..
5 Things I Like About Windows Vista • User Account Control (UAC) • Multiple clocks • Per application volume control • Search • DVD Maker
© 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.