View
217
Download
0
Tags:
Embed Size (px)
Citation preview
Windows Vista Windows Vista Deployment ToolsDeployment Tools
Anders BjörlingSenior ConsultantMicrosoft
AgendaAgenda
Windows Imaging Format (WIM) filesWindows Imaging Format (WIM) files
Windows Deployment Services (WDS)Windows Deployment Services (WDS)
Windows Automating Installation KIT Windows Automating Installation KIT (WAIK)(WAIK)
System Image Manager (SIM)System Image Manager (SIM)
ImageXImageX
Windows PEWindows PE
USMT 3.0USMT 3.0
Going Out on a WIMGoing Out on a WIM
File-based Image FormatFile-based Image FormatIntroduced with SMS 2003 OSD Feature Introduced with SMS 2003 OSD Feature PackPack*Store Multiple Images within one actual *Store Multiple Images within one actual filefileFile based imagingFile based imagingEnables compression and single Enables compression and single instancing instancing (a technique which allows you to store (a technique which allows you to store two or more copies of a file for the space two or more copies of a file for the space cost of one copy)cost of one copy)Service an image offlineService an image offlineInstall a disk image on partitions of Install a disk image on partitions of anyany sizesizeProvides API for WIM image for Provides API for WIM image for developersdevelopersNon-destructive deploymentNon-destructive deployment
Why Do I Care?Why Do I Care?
Vista ships on a WIM (Install.WIM)Vista ships on a WIM (Install.WIM)
Windows PE ships on a WIM inside Windows PE ships on a WIM inside the WAIK (Winpe.wim)the WAIK (Winpe.wim)
What Else Has Changed?What Else Has Changed?
Going away:Going away:Unattend.txt, Sysprep.inf, Winbom.ini, Unattend.txt, Sysprep.inf, Winbom.ini, Cmdlines.txt => unattend.xmlCmdlines.txt => unattend.xml
WINNT.exe, WINNT32.exe, and source-WINNT.exe, WINNT32.exe, and source-based installs => setupbased installs => setup
SYSOCMGR => OCSETUP (online)SYSOCMGR => OCSETUP (online)ocsetup.exe "DHCPServer" /quiet /norestart ocsetup.exe "DHCPServer" /quiet /norestart
SYSOCMGR => PKGMGR (offline)SYSOCMGR => PKGMGR (offline) pkgmgr /o:"C:\wim_mount\;C:\wim_mount\pkgmgr /o:"C:\wim_mount\;C:\wim_mount\
Windows" /n:"C:\unattend.xml"Windows" /n:"C:\unattend.xml"
HALHAL
HAL independenceHAL independenceOne image can support all hardwareOne image can support all hardware
No support for non-ACPI hardwareNo support for non-ACPI hardware
BUT: One Hal for 32 bit arch and one Hal BUT: One Hal for 32 bit arch and one Hal for 64 bit archfor 64 bit arch
Image-Based Setup (IBS)Image-Based Setup (IBS)
All Windows Vista release will ship as a All Windows Vista release will ship as a Sysprep’d image (install.WIM)Sysprep’d image (install.WIM)
Setup applies (install.WIM) Images, using Setup applies (install.WIM) Images, using Unattend answer files (Unattend.XML) for Unattend answer files (Unattend.XML) for custom installationcustom installation
Windows Vista Setup supports upgrading Windows Vista Setup supports upgrading FAT/FAT32 FAT/FAT32 to NTFS, with the default format type NTFSto NTFS, with the default format type NTFS
Two ways to “Install” Windows Vista:Two ways to “Install” Windows Vista:Apply install.WIM and use Unattend.XML to Apply install.WIM and use Unattend.XML to customize setup.EXEcustomize setup.EXE
Install Vista, configure, capture, and deploy Install Vista, configure, capture, and deploy using Vista Imaging tools (ImageX)using Vista Imaging tools (ImageX)
IntroductionIntroductionDesign GoalsDesign Goals
Deliver great ‘in-box’ OS provisioning Deliver great ‘in-box’ OS provisioning solutionsolutionDeliver platform components to enable Deliver platform components to enable custom solutionscustom solutions
Remote boot capability Remote boot capability Plug-in model for PXE Server extensibilityPlug-in model for PXE Server extensibilityClient-server communication protocol Client-server communication protocol
Unify on single image format - WIM Unify on single image format - WIM Improve management experienceImprove management experience
MMC (UI) and command-line toolsMMC (UI) and command-line tools
Migration / Co-existence path from RISMigration / Co-existence path from RIS
IntroductionIntroductionProduct Technology RoadmapProduct Technology Roadmap
CY 2003 2004 2005 Longhorn Client Timeframe
ADS 1.09/03
SMS 200310/03
ADS 1.1
VSMT
SMS v4
• 3 overlapping solutions• Dissimilar infrastructures• Gaps in functionality
WDS RTW
SMS v4 OSDeployment builds
on WDS
Transfertechnology
RIS inWS
2003
Longhorn Server Timeframe &
Beyond
SMS 2003
OSD FP
Q404
Q404
WDS in LH
Server
• Address key SMS & ADS customers needs
• Still have overlapping solutions and dissimilar infrastructures
• WDS platform designed for IT Generalist / MORG, LORG & core OEM scenarios
• SMS designed for MORG & LORG advanced scenarios
• ADS scenarios largely incorporated into SMS
HistoricallyAddress critical short-term SMS & ADS needs
Unify infrastructure, consolidate to 2 clearly differentiated solutions
IntroductionIntroductionRelease RoadmapRelease Roadmap
Q2 2006 Q3 2006 Q4 2006 H1 2007 H2 2007
OOB Hotfix for Server 2003 SP1
Server 2003 SP2
Windows Vista
Longhorn Server
RTM
BETA
WDS ServerWDS MGMT
WDS ServerWDS MGMT
WDS Client
WDS ClientWDS ServerWDS MGMT
ScenariosScenariosNew Machine DeploymentNew Machine Deployment
End-to-end solution for clean installsEnd-to-end solution for clean installsBare metalBare metal
Machine re-provisioningMachine re-provisioning
Deployment of Windows Vista, Longhorn Deployment of Windows Vista, Longhorn Server, Windows XP, Win2K3, and Win2KServer, Windows XP, Win2K3, and Win2K
Full sysprep image support (in WIM format)Full sysprep image support (in WIM format)New client application replaces OSChooserNew client application replaces OSChooser
PXE boot and non-PXE boot optionsPXE boot and non-PXE boot optionsFully automated installs from the moment Fully automated installs from the moment of power onof power onIntegration with Active DirectoryIntegration with Active Directory
ScenariosScenariosPXE Boot of Windows PEPXE Boot of Windows PE
Common WinPE usesCommon WinPE usesCustom deployment solutionCustom deployment solution
Recovery environmentRecovery environment
RAMDISK boot support for WinPE 2.0RAMDISK boot support for WinPE 2.0Improved download speedsImproved download speeds
Adjustable TFTP block size Adjustable TFTP block size WIM format provides compression and single WIM format provides compression and single instancinginstancing
Simplified MGMT tasks for adding / Simplified MGMT tasks for adding / removing imagesremoving imagesMay be achieved without Active DirectoryMay be achieved without Active Directory
ScenariosScenariosExtensibility PointsExtensibility Points
Scalable PXE server built on unified Scalable PXE server built on unified architecturearchitecture
Replaceable plug-ins augment core networking Replaceable plug-ins augment core networking functionalityfunctionalityPublished APIsPublished APIsAble to run without Active DirectoryAble to run without Active Directory
WinPE PXE boot files for 3WinPE PXE boot files for 3rdrd party PXE party PXE Server useServer useClient < - > Server communication Client < - > Server communication protocolprotocol
Develop custom deployment applicationDevelop custom deployment application
SMS & BDD use extensibility pointsSMS & BDD use extensibility points
Scenario WalkthroughScenario WalkthroughEnd-to-End DeploymentEnd-to-End Deployment
Installing the serverInstalling the server
Configuring the serverConfiguring the server
Adding imagesAdding images
Deploying a clientDeploying a client
Maintaining imagesMaintaining images
Installation
Configuration
Image Add Deployment Maintenance
Scenario WalkthroughScenario WalkthroughInstalling the ServerInstalling the Server
Methods of installationMethods of installationServer 2003 = install the hotfix / service Server 2003 = install the hotfix / service packpack
Longhorn Server = install the server roleLonghorn Server = install the server role
ActionsActionsCopy server binariesCopy server binaries
Create servicesCreate services
Installation
Configuration
Image Add Deployment Maintenance
Scenario WalkthroughScenario WalkthroughConfiguring the ServerConfiguring the Server
Initialize the serverInitialize the server‘‘REMINST’ share and folder structure REMINST’ share and folder structure createdcreated
TFTP root establishedTFTP root established
Services startedServices started
Authorizing the server in DHCP no Authorizing the server in DHCP no longer a requirementlonger a requirement
Installation
Configuration
Image Add Deployment Maintenance
Scenario WalkthroughScenario WalkthroughAdding ImagesAdding Images
Boot ImagesBoot ImagesWinPE 2.0 in WIM formatWinPE 2.0 in WIM format
Image usually containsImage usually contains WDS Client (setup binaries)WDS Client (setup binaries)
PXE boot binaries PXE boot binaries
Install ImagesInstall ImagesSysprepped OS image in WIM formatSysprepped OS image in WIM format
Basic option – pull images from DVDBasic option – pull images from DVD
Custom option –Admin specified WIM filesCustom option –Admin specified WIM files
Installation
Configuration
Image Add Deployment Maintenance
Scenario WalkthroughScenario WalkthroughImage DeploymentImage Deployment
Choose a boot method for WinPEChoose a boot method for WinPEPXE bootPXE boot
Other media – CD, DVD, hard drive, UFD, Other media – CD, DVD, hard drive, UFD, etc…etc…
Complete WDS Client installation Complete WDS Client installation screensscreens
Complete first boot actions (OOBE)Complete first boot actions (OOBE)
Installation
Configuration
Image Add Deployment Maintenance
Scenario WalkthroughScenario WalkthroughImage MaintenanceImage Maintenance
Creation of custom sysprepped images using the Creation of custom sysprepped images using the WDS image capture utilityWDS image capture utility
Updates include drivers, language packs, and Updates include drivers, language packs, and hotfixes / QFEshotfixes / QFEs
Offline servicing = updating an image prior to Offline servicing = updating an image prior to installation onto new hardwareinstallation onto new hardware
Bring image offline and service on WDS ServerBring image offline and service on WDS Server
Online servicing = updating the image post Online servicing = updating the image post installation to new hardwareinstallation to new hardware
Use Windows SIM to create unattend files and apply packages Use Windows SIM to create unattend files and apply packages during deploymentduring deployment
Installation
Configuration
Image Add Deployment Maintenance
Transition from RISTransition from RISUpgrade from and Co-existence with Upgrade from and Co-existence with RISRIS
Modes of WDS Modes of WDS OperationOperation
TransitionTransition
LegacLegacyyWDS WDS binaries but binaries but RIS RIS functionalityfunctionality
OSChooserOSChooser
RISETUP and RISETUP and RIPREPRIPREP
MGMT MGMT through RIS through RIS utilitiesutilities
MixeMixedd““Best of both Best of both worlds” worlds”
WinPE and WinPE and OSChooserOSChooser
RISETUP, RISETUP, RIPREP and RIPREP and WIMWIM
MGMT of new: MGMT of new: WDS MMC / CLIWDS MMC / CLI
MGMT of MGMT of legacy: RIS legacy: RIS utilsutils
NativNativeeNo RIS No RIS functionalityfunctionality
WinPE onlyWinPE only
WIM onlyWIM only
MGMT MGMT through WDS through WDS MMC / CLIMMC / CLI
Only mode Only mode available on LH available on LH
ServerServer
Files
Management Interface (API)
MMC CLI
Reg
WDSImage Store
WDSServer(PXE)
NetworkLayer
BINL
…
Serv
ice
WD
S S
erv
er
Client
PXEROM
1. PXE Phase
DHCP
DHCP Discover
Option 60
Option 60
2. Boot Image Selection
Boot
Images
Port 67
PXE Request
Port 4011
TFTP of PXE boot files and WinPE
3. Image Selection and Apply
RPCUnattend
Credentials
Image Metadata
SMB download of install image
Active Directory
REMINST
End-To-End WalkthroughEnd-To-End Walkthrough
WDSImage Store
NetworkLayer
Windows Automated Windows Automated Installation Kit (WAIK)Installation Kit (WAIK)
ImagingImagingSetupSetupWindows System Image ManagerWindows System Image ManagerXImageXImageInstalls on Windows Longhorn, Windows Vista, Installs on Windows Longhorn, Windows Vista, Windows XP SP2 (.NET Framework 2.0 required)Windows XP SP2 (.NET Framework 2.0 required)
A suite of tools designed to help OEMs and large A suite of tools designed to help OEMs and large enterprises deploy Windows Vista.enterprises deploy Windows Vista.
System Image Manager System Image Manager (SIM)(SIM)
Replacement for Setup ManagerReplacement for Setup Manager
Interacts live with a “catalog” of an Interacts live with a “catalog” of an installationinstallation
Generates unattend.XMLGenerates unattend.XML
Built in validation of unattend.xmlBuilt in validation of unattend.xml
Can be confusing at firstCan be confusing at first
<unattend xmlns="urn:schemas-microsoft-com:asm.v3"><unattend xmlns="urn:schemas-microsoft-com:asm.v3"> <settings> <settings> <component name="setup"> <component name="setup"> <UserData> <UserData> <AcceptEula>yes</AcceptEula> <AcceptEula>yes</AcceptEula> <FullName>Windows User</FullName> <FullName>Windows User</FullName> <ComputerName>winvista-beta1</ComputerName> <ComputerName>winvista-beta1</ComputerName> <ProductKey>ABCDE-FGHIJ-KLMNO-PQRST-UVWXY</ProductKey><ProductKey>ABCDE-FGHIJ-KLMNO-PQRST-UVWXY</ProductKey> </UserData></UserData> <AutoLogon><AutoLogon> <Logon UserName="username" Password="password" Count="3" /><Logon UserName="username" Password="password" Count="3" /> </AutoLogon></AutoLogon> <ImageInstall><ImageInstall> <Image><Image> <InstallTo DiskID="0" PartitionID="1" /><InstallTo DiskID="0" PartitionID="1" /> </Image></Image> </ImageInstall></ImageInstall> </component></component></settings></settings></unattend></unattend>
Unattend.XMLUnattend.XML
Tools of the Trade: ImageXTools of the Trade: ImageX
Command line tool for WIM Command line tool for WIM managementmanagement
Learn to use thisLearn to use thisMount Windows PE to a directory to Mount Windows PE to a directory to modifymodify
Mount a Windows Vista WIM to insert an Mount a Windows Vista WIM to insert an unattend fileunattend file
Mount a Windows Vista WIM to insert a Mount a Windows Vista WIM to insert a script,filescript,fileor hotfixor hotfix
Split a WIM into distribution chunks (CD Split a WIM into distribution chunks (CD size)size)
Capture/Apply a diskCapture/Apply a disk
Contains an APIContains an API
Image EditingImage Editing
Enabled with file system mini-filter (wimfltr.sys)Enabled with file system mini-filter (wimfltr.sys)
Mount an image to a specified folderMount an image to a specified folderImages must be mounted to an existing file systemImages must be mounted to an existing file system
Allows for read or read/write access to an imageAllows for read or read/write access to an image
Changes are queued and can be committed or discarded Changes are queued and can be committed or discarded with an unmount operationwith an unmount operation
Mount
Temp
Images
vista.wim
Mount(RW)
1
Windows
Program Files
Users
Mounted Image
2
tmp files
3
Commit4
MUI SupportMUI Support
Multi-language support (MUI)Multi-language support (MUI)Windows Vista is language-neutral at its Windows Vista is language-neutral at its corecore
No localized versionsNo localized versions
Multiple language packs available for Multiple language packs available for EnterpriseEnterprise
Languages can be added and removedLanguages can be added and removed
Windows PEWindows PE
Bootable, special purpose Windows Bootable, special purpose Windows environmentenvironment
Not DOSNot DOS
Use for these Windows Vista tasksUse for these Windows Vista tasksInstallationInstallation
TroubleshootingTroubleshooting
RecoveryRecovery
Windows PE 2.0Windows PE 2.0
Now available to everyone for Now available to everyone for deploying Windows Vista!deploying Windows Vista!Key part of the Windows Vista Key part of the Windows Vista deployment and recovery processdeployment and recovery process““Hot” (online) Plug n Play support Hot” (online) Plug n Play support Can be serviced offline just like Can be serviced offline just like Windows VistaWindows Vista
Inject drivers, add or remove optional Inject drivers, add or remove optional components offline (PEIMG)components offline (PEIMG)Inject drivers online (Drvload)Inject drivers online (Drvload)
Boot from RAM with compressed WIM Boot from RAM with compressed WIM imageimageCreates a writeable 32MB ramdiskCreates a writeable 32MB ramdisk
Windows PE 2.0Windows PE 2.0
Things you can doThings you can doCan format partitions with NTFSCan format partitions with NTFS
Network access using Windows Vista Network access using Windows Vista driversdrivers
Can use VBScript for complex tasksCan use VBScript for complex tasks
Extensible with XMLExtensible with XML
Unattend.xml on WinPEUnattend.xml on WinPE
Tools for Working With Tools for Working With Windows PEWindows PE
Windows PE toolsWindows PE toolsDiskPartDiskPart
Drvload (Online)Drvload (Online)
OscdimgOscdimg
PEImg (Offline)PEImg (Offline)
BCDEditBCDEditEdits the Boot Configuration Data (BCD)Edits the Boot Configuration Data (BCD)
Use to add Windows PE to the boot menuUse to add Windows PE to the boot menu
User State Migration Tool User State Migration Tool 3.03.0
Support for Windows Vista and Office Support for Windows Vista and Office 20072007
Integrates with Configuration Manifest Integrates with Configuration Manifest Infrastructure (CMI) for migrating OS Infrastructure (CMI) for migrating OS settings to Windows Vistasettings to Windows Vista
New XML-based configuration filesNew XML-based configuration files
Encryption capabilityEncryption capability
Minor command line changesMinor command line changes
One part of a larger migration engineOne part of a larger migration engine
Is the workflow, not the logicIs the workflow, not the logic
USMT 3.0 RequirementsUSMT 3.0 Requirements
Sufficient disk space for saved state Sufficient disk space for saved state datadataSource computerSource computer
Windows 2000 ProfessionalWindows 2000 ProfessionalWindows XP Home, Windows XP Windows XP Home, Windows XP Professional, Windows XP Professional Professional, Windows XP Professional x64x64Windows Vista, Windows Vista Itanium, Windows Vista, Windows Vista Itanium, Windows Vista x64Windows Vista x64
Destination computerDestination computerWindows XP versionsWindows XP versionsWindows Vista versionsWindows Vista versions
Microsoft Internet Explorer 5 or laterMicrosoft Internet Explorer 5 or later
ScanState and LoadStateScanState and LoadState
ScanStateScanStateCollects files and settings from source Collects files and settings from source computercomputer
Controlled by XML filesControlled by XML files
Creates USMT3.MIG fileCreates USMT3.MIG file
LoadStateLoadStateControlled by XML filesControlled by XML files
Reads USMT3.MIG fileReads USMT3.MIG file
Restores saved state onto destination Restores saved state onto destination computercomputer