Deploying Windows Vista: Everything You Need in One Hour

CLI304
Deploying Windows Vista
Everything you need in one hour
Corey Hynes
President
HynesITe, Inc
Session Team
Corey Hynes (me)
Gordon Ryan (SME on webcast)
Technical Lead for HynesITe, Inc. Point Clare, NSW,
AU
Joe Lurie (SME on webcast)
Technical Lead for HynesITe, Inc. Peabody, MA
(Yankees fan)
Big Ticket Items
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 in Windows Vista that can make
your life miserable
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
Easier Deployments!
Easier Planning &
Compatibility Testing
Easier to Build &
Engineer Desktop Images
Easier to Deploy &
Migrate Desktops
App & file
Language and
Non-destructive
compatibility easier
hardware neutrality
imaging enables into plan for and
for reduced image
place upgrades and
remediate than
count and
faster, simpler user
Microsoft Windows
management costs
state migration
XP & Microsoft Office
More reliable
Consistent upgrade
2003
deployment and more
and migration
App compatibility
flexible image
process ensures
built-in to Windows
customization
predictability and
Vista & Microsoft
easy rollbacks
Deployment tools
Office 2007
provide end-to-end
Broad, well trained
Business
Desktop
Deployment
Solution
Accelerator
End-to-end guidance
guidance across all
partner ecosystem
and tools for efficient
phases of deployment
further reduces cost
app compatibility
and risk
planning & testing
Combined learning from
5 million desktops deployed
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
BDD and Windows Vista
A Few Screen Shots
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
Windows Deployment Services
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
Automated Installation Kit
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>
System Image Manager
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
ImageX
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
Windows PE
User State Migration Tool
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 About Windows Vista
That Make Your Life Miserable
1. Glass
2. Disks
3. Windows Explorer
4. Administrator Account
5. User Account Control
Breakout Sessions
Application compatibility with Windows Vista – Mon 3.15/52 AB
Deploying Windows Vista: Everything you need to know in one hour
– Mon 5pm/210ABC, Thu 1pm/258ABC
Deploying Windows Vista/Office 2007 using BDD – Tue
4.30/253ABC
Windows Vista : Remote deployments – Wed 8.30/205ABC
Advanced Zero Touch installation using BDD – Wed 2pm/254AB
Image Engineering – Creating your perfect Windows Vista desktop –
Wed 5.30/Grand Ballroom B
Microsoft IT – Deploying Windows Vista – Thu 9.45/253ABC
Modifying applications to run on Windows Vista – Thu 2.45/253ABC
Windows PE to customize deployments – Fri 2.45/Grand Ballroom B
Hand-on Labs
CLI001 - Migrating User State from Windows XP to Windows Vista
CLI002 - New Windows Vista Management Technologies
CLI006 - Windows Deployment Services
CLI008 - Managing Windows Vista and Windows Server Code
Named Longhorn Network Bandwidth with Policy-Based Quality of
Service
CLI010 - Windows Vista: Image Engineering
MGT001 - Exploring New Group Policy Settings in Windows Vista
MGT002 - Exploring Windows Vista Group Policy
Management/Features
SEC003 - Configuring Windows Firewall with Advanced Security
Resources
Technical Chats and Webcasts
http://www.microsoft.com/communities/chats/default.mspx
http://www.microsoft.com/usa/webcasts/default.asp
Microsoft Learning and Certification
http://www.microsoft.com/learning/default.mspx
MSDN & TechNet
http://microsoft.com/msdn
http://microsoft.com/technet
Virtual Labs
http://www.microsoft.com/technet/traincert/virtuallab/rms.mspx
Newsgroups
http://communities2.microsoft.com/
communities/newsgroups/en-us/default.aspx
Technical Community Sites
http://www.microsoft.com/communities/default.mspx
User Groups
http://www.microsoft.com/communities/usergroups/default.mspx
Fill out a session
evaluation on
CommNet and
Win an XBOX 360!
Live from Tech·Ed Webcast
Series has Been
Brought to You by:
www.microsoft.com/hpc
© 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.