129

Windows 7 Deployment

Embed Size (px)

DESCRIPTION

Windows 7 Deployment

Citation preview

Page 1: Windows 7 Deployment
Page 2: Windows 7 Deployment

Automated Installation and Deployment Windows 7

Roel van BuerenAlex de Jong

Page 3: Windows 7 Deployment

Agenda

• Imaging Approaches• Imaging C.R.A.P.• WAIK• MDT 2010 • WDS

Page 4: Windows 7 Deployment

Resources

Page 5: Windows 7 Deployment

Traditional vs. Modular Approach

Traditional Modular

• OS + Applications in 1 image

• Image per hardware type

• Time to integrate new hardware

• High maintenance

• Requires a visit to the desktop

• Storage requirements

• 1 base image (OS) for all hardware

• Apps/drivers delivered as add-ons

• Easily integrate new hardware

• Reduced maintenance costs

• Automated build process

• Easy to customise

Page 6: Windows 7 Deployment

Traditional Approach

• Quick Win• 1 x image per model• high maintenance

Page 7: Windows 7 Deployment

Traditional vs. Modular ApproachTime

Traditional Modular

Development

Deployment

Maintenance

Page 8: Windows 7 Deployment

Imaging Strategy

• Thick image– Core applications and language packs included– Updates included– Drivers included

• Thin image– Core applications and language packs NOT included– Updates NOT included– Drivers NOT included

• Hybrid image– Mixes thin and thick strategies

Page 9: Windows 7 Deployment

Imaging C.R.A.P.

Page 10: Windows 7 Deployment

Imaging C.R.A.P

• Disk Controllers drivers (STOP 0x0000007B)• HAL (Uniprocessor, Multiprocessor)• x64 and x86 support• Disk and Partition Setup• Windows Updates• Drivers (Out-of-the-box, ‘to be connected’

hardware)• Custom Registry Settings• Applications• AMD and Intel support

Page 11: Windows 7 Deployment

Platform Components

Page 12: Windows 7 Deployment

Windows Imaging (.WIM)

Page 13: Windows 7 Deployment

Microsoft Windows Imaging (WIM)• Microsoft’s own image format

• File-based disk imaging is a core capability of Windows Vista, Windows 7, Windows 2008

• Compared to sector-based formats, a WIM image is file-based

Page 14: Windows 7 Deployment

Microsoft Windows Imaging (WIM)• This WIM image format is hardware-

agnostic, meaning that you need only one image to address many different hardware configurations.

Page 15: Windows 7 Deployment

Microsoft Windows Imaging (WIM)• The WIM image format also lets you store

multiple images within one actual file. • For example, Microsoft can ship multiple

SKUs in one WIM image file. You store images with and without core applications in a single image file.

• Also, you can mark one of the images as bootable, allowing you to start a computer from a disk image contained in a WIM file.

Page 16: Windows 7 Deployment

Microsoft Windows Imaging (WIM)• The WIM image format enables compression

and single instancing, thus reducing the size of image files significantly.

• Single instancing is a technique that allows you to store two or more copies of a file for the space cost of one copy.

• For example, if images 1, 2, and 3 all contain file A, single-instancing stores a single copy of the file A and points images 1, 2, and 3 to that copy.

Page 17: Windows 7 Deployment

Microsoft Windows Imaging (WIM)• The WIM image format allows you to service an

image offline. You can add or delete certain operating system components, patches, and drivers without creating a new image.

• For example, to add a patch to a Windows XP image, you must boot the master image, add the patch, and then prepare the image again.

Page 18: Windows 7 Deployment

Microsoft Windows Imaging (WIM)• The WIM image format lets you install a disk image

on partitions of any size, unlike sector-based image formats that require you to deploy a disk image to a partition that's the same size or larger than the source disk.

Page 19: Windows 7 Deployment

WAIK

Page 20: Windows 7 Deployment

Windows Automated Installation Kit• The Windows® Automated Installation Kit

(Windows AIK) is a set of tools and documentation that support the configuration and deployment of Windows® operating systems.

Page 21: Windows 7 Deployment

Windows Automated Installation Kit• By using Windows AIK, you can automate Windows

installations, capture Windows images with ImageX, configure and modify images using Deployment Imaging Servicing and Management (DISM), create Windows PE images, and migrate user profiles and data with the User State Migration Tool (USMT).

• Windows AIK also includes the Volume Activation Management Tool (VAMT), which enables IT professionals to automate and centrally manage the volume activation process using a Multiple Activation Key (MAK).

Page 22: Windows 7 Deployment

ImageX

Page 23: Windows 7 Deployment

ImageX

Page 24: Windows 7 Deployment

ImageX

Page 25: Windows 7 Deployment

ImageX

Page 26: Windows 7 Deployment

ImageX

Page 27: Windows 7 Deployment

ImageX

Page 28: Windows 7 Deployment

ImageX

Page 29: Windows 7 Deployment

ImageX

Page 30: Windows 7 Deployment

DISM

• Deployment Image Servicing and Management Tool

Page 31: Windows 7 Deployment

DISM

Page 32: Windows 7 Deployment

DISM

Page 33: Windows 7 Deployment

DISM

Page 34: Windows 7 Deployment

DISM

Page 35: Windows 7 Deployment

DISM

Page 36: Windows 7 Deployment

DISM

Page 37: Windows 7 Deployment

DISM

Page 38: Windows 7 Deployment

DISM

Page 39: Windows 7 Deployment

Platform Components

Page 40: Windows 7 Deployment

Attended Windows setup

Page 41: Windows 7 Deployment

Windows XP Setup Manager

Page 42: Windows 7 Deployment

Windows SIM

Page 43: Windows 7 Deployment

Unattended Windows setup

• Unattend.xml• AutoUnattend.xml

• As a rule, only answer files named Unattend.xml are used. • However, because some answer files include destructive

actions such as disk partitioning, you must rename your Unattend.xml file to Autounattend.xml in the windowsPE and offlineServicing configuration passes. These passes run when you first run Windows PE or Setup.exe.

• You typically use the Autounattend.xml file when you use the Windows Setup DVD boot method and supply an answer file on a USB flash drive (UFD) or floppy disk.

Page 44: Windows 7 Deployment

Unattend Windows setup

Page 45: Windows 7 Deployment

Unattend Windows setup

Page 46: Windows 7 Deployment

Unattend Windows setup

Page 47: Windows 7 Deployment

Unattend Windows setup

Page 48: Windows 7 Deployment

Unattend Windows setup

Page 49: Windows 7 Deployment

Unattend Windows setup

Page 50: Windows 7 Deployment

Unattend Windows setup

Page 51: Windows 7 Deployment

Windows SIM

Page 52: Windows 7 Deployment

Passes

• windowsPE • offlineServicing• generalize• Specialize • auditSystem• auditUser• oobeSystem

Page 53: Windows 7 Deployment

Windows PE

• Windows PE is a minimal Win32 subsystem with limited services, based on the Windows 7 kernel running in protected mode.

• It contains the minimal functionality that you need to run Setup, install Windows from a network share, automate basic processes, and perform hardware validation.

• Windows PE was developed specifically to address desktop and server deployment scenarios.

Page 54: Windows 7 Deployment

Windows PE

Page 55: Windows 7 Deployment

Passes – windowsPE

• Configures Windows PE options as well as basic Windows Setup options. These options can include configuring a disk or language settings.

Page 56: Windows 7 Deployment

Passes - offlineServicing

• Applies updates to a Windows 7 image.

• Also applies packages, including software fixes, language packs, and other security updates.

Page 57: Windows 7 Deployment

Passes - generalize

• The generalize pass runs only if you run sysprep /generalize. In this pass, you can minimally configure Windows 7 as well as configure other settings that must persist on your master image.

• The sysprep /generalize command removes system-specific information. For example, the unique SID and other hardware-specific settings are removed from the image.

Page 58: Windows 7 Deployment

Passes - specialize

• Creates and applies system-specific information.

• For example, you can configure:

– network settings– international settings– domain information.

Page 59: Windows 7 Deployment

Passes - auditSystem

• Processes unattended Setup settings while Windows 7 is running in system context, before a user logs on to the computer in audit mode.

• The auditSystem pass runs only if you boot in audit mode.

Page 60: Windows 7 Deployment

Passes - auditUser

• Processes unattended Setup settings after a user logs on to the computer in audit mode.

• The auditUser pass runs only if you boot in audit mode.

Page 61: Windows 7 Deployment

Passes - oobeSystem

• Applies settings to Windows 7 before Windows Welcome starts.

Page 62: Windows 7 Deployment

Mini Setup Phase = Specialize Pass• Windows XP

– driver installation– Joining domain– Sysprep.inf was the answer file for this phase

• Windows 7– This phase is now called the ‘Specialize’ pass– (Auto)Unattend.xml is the answer file for this pass

Page 63: Windows 7 Deployment

Mini Setup Phase = Specialize Pass

Page 64: Windows 7 Deployment

Windows SIM

Page 65: Windows 7 Deployment

Windows SIM

Page 66: Windows 7 Deployment

Windows SIM

Page 67: Windows 7 Deployment

Windows SIM

Page 68: Windows 7 Deployment

Windows SIM

Page 69: Windows 7 Deployment

Windows SIM

Page 70: Windows 7 Deployment

Windows SIM

Page 71: Windows 7 Deployment

Include custom files

• If you wish to include custom files to include in the Windows 7 installation (such as files in the program files, system32 folder, OOBE (Out Of Box Experience) etc.) then make a folder called $OEM$ inside the sources folder.

• From there, the following folder structures must apply (many changed from Windows 2000 and Windows XP $OEM$ days) …..

Page 72: Windows 7 Deployment

Include custom files

• \$$

Contains files that Windows Setup copies to the %WINDIR% (for example, C:\windows) folder during installation.

• \$$\System32

Contains files that Windows Setup copies to the %WINDIR%\System32 folder during installation.

Page 73: Windows 7 Deployment

Include custom files

• \$1

Represents the root of the drive on which you installed Windows (also called the boot partition) and contains files that Windows Setup copies to the boot partition during installation.

• \$1\Pnpdrivers

Contains new or updated Plug-and-Play (PnP) drivers. The user specifies the folder name in the Unattend.xml file for unattended installations. For example, this folder might be named \$OEM$ Folders\$1\Pnpdrvs.

Page 74: Windows 7 Deployment

Include custom files

• \drive_letter\subfolder

• A subfolder of the drive that contains files that Windows Setup copies to the subfolder during installation. Multiple instances of this type of folder may exist under the \$OEM$ Folders\drive_letter folder, for example, \$OEM$ Folders\D\MyFolder.

• \$$\Setup\Scripts\SetupComplete.cmd

Page 75: Windows 7 Deployment

Platform Components

Page 76: Windows 7 Deployment

Microsoft Deployment Toolkit 2010• Microsoft Deployment Toolkit 2010 (MDT 2010)

provides a common console with the comprehensive tools and guidance needed to efficiently manage deployment of Windows 7 and Windows Server 2008 R2.

• Microsoft Deployment Toolkit 2010 is the recommended process and toolset to automate desktop and server deployment.

• Microsoft Deployment Toolkit 2010 provides detailed guidance and job aids for every organizational role involved with large-scale deployment projects.

Page 77: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 78: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 79: Windows 7 Deployment

MDT 2010 Requirements

• Microsoft Management Console (MMC) version 3.0

• Microsoft .NET Framework 2.0 or later• Windows PowerShell™ command-line

interface (CLI) version 1.0 or 2.0, Community Technology Preview 3 (CTP3) or later

• Windows Automated Installation Kit (Windows AIK) for Windows 7

Page 80: Windows 7 Deployment

Deployment scenario’s - LTI

• Lite Touch Installation• Allows selection of the level of automation• Has minimal infrastructure requirements• Supports deployments over a network using a

shared folder or locally using removable storage such as a CD, DVD, or UFD

• The deployment process can be initiated manually or automatically using Windows Deployment Services

• Requires little or no infrastructure to support deployment

Page 81: Windows 7 Deployment

Deployment scenario’s - ZTI

• Zero Touch Installation• Supports only fully automated deployments• Requires System Center Configuration Manager• Supports deployments only from System Center

Configuration Manager distribution points• The installation process can be initiated by System

Center Configuration Manager or Windows Deployment Services

• Requires an infrastructure sufficient to deploy operating system images

Page 82: Windows 7 Deployment

DeploymentWorkbench

Page 83: Windows 7 Deployment

DeploymentWorkbench

Page 84: Windows 7 Deployment

DeploymentWorkbench

Page 85: Windows 7 Deployment

DeploymentWorkbench

Page 86: Windows 7 Deployment

DeploymentWorkbench

Page 87: Windows 7 Deployment

DeploymentWorkbench

Page 88: Windows 7 Deployment

DeploymentWorkbench

Page 89: Windows 7 Deployment

DeploymentWorkbench

Page 90: Windows 7 Deployment

DeploymentWorkbench

Page 91: Windows 7 Deployment

DeploymentWorkbench

Page 92: Windows 7 Deployment

DeploymentWorkbench

Page 93: Windows 7 Deployment

DeploymentWorkbench

Page 94: Windows 7 Deployment

DeploymentWorkbench

Page 95: Windows 7 Deployment

DeploymentWorkbench

Page 96: Windows 7 Deployment

DeploymentWorkbench

Page 97: Windows 7 Deployment

DeploymentWorkbench

Page 98: Windows 7 Deployment

DeploymentWorkbench

Page 99: Windows 7 Deployment

DeploymentWorkbench

Page 100: Windows 7 Deployment

DeploymentWorkbench

Page 101: Windows 7 Deployment

DeploymentWorkbench

Page 102: Windows 7 Deployment

WSF

Page 103: Windows 7 Deployment

WinPE

Page 104: Windows 7 Deployment

WinPE

Page 105: Windows 7 Deployment

Boot Image

Page 106: Windows 7 Deployment

Boot Image

Page 107: Windows 7 Deployment

Boot Image

Page 108: Windows 7 Deployment

Boot Image

Page 109: Windows 7 Deployment

Lite Touch Installation (LTI) deployments

Page 110: Windows 7 Deployment

Lite Touch Installation (LTI) deployments

Page 111: Windows 7 Deployment

Lite Touch Installation (LTI) deployments

Page 112: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 113: Windows 7 Deployment

Lite Touch Installation (LTI) deployments

Page 114: Windows 7 Deployment

Lite Touch Installation (LTI) deployments

Page 115: Windows 7 Deployment

Rules

Page 116: Windows 7 Deployment

Lite Touch Installation (LTI) deployments

Page 117: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 118: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 119: Windows 7 Deployment

Microsoft Deployment Toolkit 2010• MDT Teamblog:

http://blogs.technet.com/msdeployment/default.aspx

Page 120: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 121: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 122: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 123: Windows 7 Deployment

Platform Components

Page 124: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 125: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 126: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 127: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 128: Windows 7 Deployment

Microsoft Deployment Toolkit 2010

Page 129: Windows 7 Deployment

Microsoft Deployment Toolkit 2010