Microsoft® Desktop Deployment Assistance Program 3. Deploying Windows XP Thomas Lee Chief Technologist QA plc

Slides:



Advertisements
Similar presentations
Preparing for Installation Reviewing the list of tasks Working with DNS Recording information Backing up files Uncompressing the drive Disabling disk mirroring.
Advertisements

© University of Reading 2007www.reading.ac.uk Huw Wright - IT Services Vista Deployment.
Windows 7 Test Prep Ch 2 Part 3.
PDI 2010 Presented by Jason Huitt, ACNS.  Scenario A – “Technician in the Field”  Scenario B – “Lab Management”  Image Management ◦ PDI Interruption.
Planning Server Deployments
MCITP Guide to Microsoft Windows Server 2008, Server Administration (Exam #70-646) Chapter 2 Installing Windows Server 2008.
1 Week #1 Objectives Review clients, servers, and Windows network models Differentiate among the editions of Server 2008 Discuss the new Windows Server.
Overview of an Answer File A customized script that allows you to run an unattended installation of Microsoft Windows 2000 Server Answers questions that.
Chapter 5 Chapter 5: Server Installation. Chapter 5 Learning Objectives n Make installation, hardware, and site- specific preparations to install Windows.
Thomas Lee Chief Technologist – QA plc
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
11 INSTALLING WINDOWS XP Chapter 2. Chapter 2: Installing Windows XP2 INSTALLING WINDOWS XP  Prepare a computer for the installation of Microsoft Windows.
Chapter 2: Automating the Windows Vista Installation.
MCITP: Microsoft Windows Vista Desktop Support - Enterprise Section 1: Prepare to Deploy.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 2: Attended and Unattended Installations and Troubleshooting.
Lesson 4-Installing Network Operating Systems. Overview Installing and configuring Novell NetWare 6.0. Installing and configuring Windows 2000 Server.
Hands-On Microsoft Windows Server 2003 Chapter 2 Installing Windows Server 2003, Standard Edition.
Microsoft® Desktop Deployment Assistance Program 4: SMS OS Deployment Feature Pack Thomas Lee Chief Technologist QA plc
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 2 Installing Windows Server 2008.
1 Module 2 Installing Windows NT. 2  Overview Preparing for Installation Installing Windows NT Performing a Server-based Installation Troubleshooting.
OEM Preinstallation of Windows XP Service Pack 2
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
1 Objectives Discuss the Windows Printer Model and how it is implemented in Windows Server 2008 Install the Print Services components of Windows Server.
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Richard Smith Senior Consultant – Management, Operations and Deployment Microsoft UK Simple Deployments with Windows AIK and Windows DS.
Windows Vista Deployment & Servicing Overview Anders Björling Microsoft Services.
Welcome!.  Plan it – Practice it.  Floppy disks  Winnt /b  Answer files  Remote Installation services  Ghost (imaging)  ImageX and MDT2010.
Installing Windows XP. Guide to MCSE , Second Edition, Enhanced2 Upgrading Versus Installing Choose between: Upgrading Clean installation.
Module 1: Installing Windows XP Professional. Overview Manually Installing Windows XP Professional Automating a Windows XP Professional Installation Using.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Deploying Windows Vista Lesson 2. Skills Matrix Technology SkillObjective Domain SkillDomain # Understanding Windows Vista Deployment Deploy Windows Vista.
MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # ) Chapter Two Deploying Windows Servers.
Introduction to Windows XP Professional Chapter 2 powered by dj.
11 INSTALLING WINDOWS XP PROFESSIONAL Chapter 2. Chapter 2: INSTALLING WINDOWS XP PROFESSIONAL2 OVERVIEW  Install Windows XP Professional  Upgrade from.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 15 Installing and Using Windows XP Professional.
70-270: MCSE Guide to Microsoft Windows XP Professional Second Edition, Enhanced Chapter 2: Installing Windows XP Professional.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 6 Today’s Windows Windows Vista and Windows 7 McGraw-Hill.
Tutorial 11 Installing, Updating, and Configuring Software
IT:NETWORK:MICROSOFT SERVER 2 DHCP AND WINDOWS DEPLOYMENT SERVICES.
Chapter Fourteen Windows XP Professional Fault Tolerance.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 5 Windows XP Professional McGraw-Hill.
10/1/2015 Chapter 2 Installing Windows XP Professional.
Module 1: Installing Microsoft Windows XP Professional.
By Rashid Khan Lesson 10-From Here to There: Remote Installation of the Windows XP Professional Client.
W2K Server Installation It is very important that before you begin to install Windows 2000 Server, you must prepare for the installation by gathering specific.
CN1176 Computer Support Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Deploying Windows 7 Lesson 3. Objectives Understand enterprise deployments Capture an image file Modify an image file Deploy an image file.
Windows XP Professional Features ©Richard L. Goldman February 5, 2003.
Microsoft Solution Accelerator for Business Desktop Deployment Microsoft ® Solution Accelerator for Business Desktop Deployment Training for IT Professionals.
WINDOWS XP PROFESSIONAL AUTOMATING THE WINDOWS XP INSTALLATION Bilal Munir Mughal Chapter-2 1.
Scott Drucker, Systems Engineer Migrating to Microsoft Vista with WinINSTALL.
Module 1: Installing Microsoft Windows XP Professional.
Microsoft Windows XP Professional MCSE Exam
Microsoft® Desktop Deployment Assistance Program 5: USMT Drill Down Thomas Lee Chief Technologist QA plc
Microsoft Solution Accelerator for Business Desktop Deployment Microsoft ® Solution Accelerator for Business Desktop Deployment Training for IT Professionals.
Deploying the image Fritz Ohman Alphageek
Page 1 of 38 Lenovo Confidential Lenovo Confidential Lenovo Confidential Lenovo Confidential Lenovo Confidential Please Note: Information contained in.
How to Deploy Office XP and Windows XP With One Desktop Touch Liz Levitt Desktop Solution Specialist Microsoft Corporation.
John Pritchard | Windows Client | Microsoft. FAQ WDS and what’s happened to RIS? What’s the WIM – driver injection and image management? What’s in automated.
Automating Installations by Using the Microsoft Windows 2000 Setup Manager Create setup scripts simply and easily. Create and modify answer files and UDFs.
Planning Server Deployments Chapter 1. Server Deployment When planning a server deployment for a large enterprise network, the operating system edition.
Windows Vista Configuration MCTS : Installing and Upgrading.
CIS 221 Lesson 2. What is the first phase of the of the Installation of Windows XP? MS-DOS phase Why is the MS-DOS phase needed? the computer required.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
Create setup scripts simply and easily.
Guide to Linux Installation and Administration, 2e
Chapter 5 Objectives Understand How to Plan a Windows 7 Deployment with Answer Files. Capture System Image Using Sysprep and ImageX. Use Deployment Image.
Presentation transcript:

Microsoft® Desktop Deployment Assistance Program 3. Deploying Windows XP Thomas Lee Chief Technologist QA plc

Agenda Windows XP SP2 Setup Improvements Two types of Automated Deployment Scripted Install Image Automation of the Installation process Win PE XP SP2

Setup Agenda Unattended setup WinPE new ImagingRIS Setup Tools

Why not use OEM Build? Breaks the license SysPrep is different Lots of “OEM Stuff” Product Keys

Automated Installations Unattended setup Introduced in NT4 workstation Scripted automated Windows Setup Still supported, not recommend for production deployment Imaging Uses SysPrep and Microsoft (WIM) or 3 rd Party Disk Imaging technology Copies “Master build” to multiple PCs Remote Installation Services Unattended Setup from Server Imaging from Server (SMS OSD or 3 rd party products) Great for that first build Not recommended for Production deployment, due to broadcasts and network boot

Unattended Setup Most flexible deployment option Also slowest Starts and runs Windows XP Setup on each computer individually What you need: Winnt.exe, Winnt32.exe or CD (BIOS must support bootable CD) A distribution share with Setup files or Windows XP CD An answer file (text file) or winnt.sif if running unattended from CD Consider speed and amount of data transfer this involves compared to an image

Unattended Installation Manual Setup Input of information based on boot menu, or missing points from answer file. First boot experience may require some information input. Unattend.txt

Starting Unattended Install From DOS/Windows 3.x: winnt.exe /u: /s: winnt.exe /u: /s: Make sure you have smartdrv.exe loaded From Windows 9x/NT/WinPE: winnt32.exe /unattend: /s: [ /tempdrive: /syspart: ] From CD (computer supports CD boot) - Place winnt.sif file on a floppy disk, boot Setup from CD and insert the floppy when Setup starts Understand the implications this has on time and network bandwidth

Win PE OverviewFeaturesLimitationsScenarios Features for Windows PE Discussion

What is Windows PE? Reduced version of Windows XP Can be created from either an x86 based 32 bit OS SKU X64 or an IA64 bit OS Sku today Windows PE provides full networking, driver injection, WMI support, Ramdisk(SrSP1) Windows PE is used to build, test and deploy OS images Windows PE is a base platform for a variety of 3 rd party support related solutions: Virus scanning and recovery based products Hardware and software test and diagnostic tools OS and utilities based deployment

Windows PE Overview An NTFS-capable boot disk with TCP/IP networking Mass-storage controller support VESA mode video support What is it used for? DeploymentRecoveryTroubleshooting Originally designed to provide cross-architecture deployment platform

Windows PE Overview Release history First release was concurrent with Windows XP in 2001 Windows XP Service Pack 1: Standalone DFS root connectivity New (easier) boot from HDD ability Windows Server 2003 Ability to build Windows PE from Windows Server 2003 products Windows XP Service Pack 2 release called WinPE2004 WMIFirewall Driver injection Updated with Windows Server 2003 Service Pack 1 USB Boot Any PXE Server Boot

Features Works with all systems that Windows XP and Windows Server 2003 support Can be built from Windows XP or Windows Server 2003 Device support: Networking*Mass-storage* VESA video support (single driver) *Includes all built in drivers for this class from the version of Windows it was built from. New drivers of this class can be easily added.

Features VESA support specified by display controller hardware determines resultant color depth and resolution Can connect to standalone DFS roots and other SMB shares Ability to build-out storage, partition, do native FAT or NTFS disk formatting, 32-bit disk imaging, I/O

Features Boot support CD DVD (ISO only) Hard disk PXE (RIS only for WinPE 2004) Supported for deploying Windows 2000 Windows XP Windows Server 2003

Non-Features Windows Explorer shell Audio support DirectX Visual Studio.NET applications ADSI connectivity

Uses For WinPE Deployment (broadest use today) Maintenance/repair/recovery Other utilities ISVs use; Anti-virusDiagnostics File-system repair tools

Non-Uses For WinPE Embedded operating system Reboots every 24 hours Use Windows XP Embedded General use operating system No Explorer Shell No IE Limited Application Support

Building WinPE mkimg.cmd Creates directory structure for CD If required manually tailor the platform Drivers, utilities Optionally customize the default scripts startnet.cmd Optionally create custom shell C/C++ Windows Script Host* HTA (HTML Applications)* *Support can be added using buildoptionalcomponents.vbs

Building WinPE continued OSCDimg.exe Creates ISO CD image of your directory El-torito bootable Same tool to create supported custom CD

Demo Using Setup Manager to build answer filesUsing Setup Manager to build answer files WinPE and Diskpart.exeWinPE and Diskpart.exe

New Licensing Model The new licensing model enables 3 options: Ability to use Windows PE in-house for tools development, testing, and OS deployment (free) IHV/OEM ability to develop support related test and diagnostic tools and ship these BIOS-locked to their hardware (free) IHV/ISV/SI/OEM/ODM ability to create support related products (Virus scan, test and diagnostic, recovery etc) and ship these tools in a retail setting for a profit. (pay royalty when ship) for all queries

Scenario - Scripted Scenario: Deploying new systems, using scripted installation – Windows PE launched via RIS 1. New system arrives and is sent to employee 2. Machine is powered on and PXE boots 3. Boots to Windows PE 4. Disks are partitioned and formatted using diskpart and format 5. Winnt32 is launched with a custom unattend 6. Exit Windows PE when that completes 7. Install applications when setup completes

Scenario - Scripted Task examples: DISKPART Clean SEL DIS 0 CLEAN Partition Creation SEL DIS 0 CRE PAR PRI ACTIVE ASSIGN LETTER=C EXIT

Scenario - Scripted Task examples: Format /Q /Y /FS:NTFS Winnt32 syntax Winnt32 /syspart:C: /tempdrive:C: /makelocalsource /dudisable /unattend:unattend.txt

Scenario – Imaging (SMS OSD?) Scenario: Migrating to XP, using USMT and Windows PE (with imaging tools) 1. USMT migrates files and settings off system 2. CD of Windows PE provided to employee 3. Machine is powered on and CD boots 4. Boots to Windows PE 5. Imaging tool used to apply image from UNC 6. Exit Windows PE when that completes 7. USMT migrates files and settings back

Building An OS Image Clean install OS Ensure same HAL type (ACPI, non-ACPI) Customize installation Install applications Prepare for management infrastructure Generally handled by domain User State Migration Group Policy

Building An OS Image (cont.) Run Sysprep.exe -reseal for end-user boot experience -factory for customizing on reboot Create “image” 3 rd party imaging tools Boot to Windows PE and xcopy to server Maintain “image” Edit Sysprep.inf on image Add files, drivers

Problems with Previous WinPE 1. No support for WMI 2. No support for retrieving SMBIOS info 3. Can only PXE boot from RIS 4. CD swapping is complicated (/INRAM) 5. If Windows PE boots from hard-disk that disk cannot be repartitioned/reformatted

Windows PE 2004 New Features Targeted Windows PE specific changes include: Ability to inject 32/64 bit device drivers easily into Windows PE (Windows XP and Windows Server 2003 drivers) WMI support for hardware based diagnostic tool access Built in firewall support enabled by default Build scripts documented to reduce the size of Windows PE Boot Windows PE in a RAMDisk via PXE, from Hard disk or CD Full support for all architectures Windows supports

Add Device Drivers Change build scripts to support additional hardware device classes and drivers in base Windows PE image Provide ability to add additional 32 drivers outside of “in-box” drivers to existing build of Windows PE using drvinst.cmd Add drivers after Windows PE image is built for test and diagnostic of the latest hardware/drivers avoiding full rebuilds

DRVINST.CMD Source Options [/inf] – path to specific driver [/oscd] – path to OS CD Filter Options [/onlyid] – only install with matching PNP IDs [/ignoreid] - do not install these PNP IDs [/onlyclass] – only install this class of driver [/ignoreclass] – ignore these classes of driver Action Options [/inject] – specifies path to WinPE image (c:\winpe) [/preview] – list drivers that would be installed

WMI Support Add WMI base support to provide access to underlying hardware within Windows PE Support for over 40+ providers and classes. Leverage the ability to load a native driver for hardware validation and query

RAMDisk Boot Ability to boot, load and run Windows PE within a RAMDisk on a PC via network (any PXE server), hard disk, or CD Provides ability to run tests and diagnostics remotely from the server or on local media Allows for CD swapping for deployment/recovery media

Windows PE New Features - Summary Windows XP Service Pack 2 WMI Support w/ 47 providers and 1500 classes Enables IP addresses to be changed on the fly after the WinPE CD has booted. Driver Injection and PnP support Windows Firewall support Set IP for multiple NICs, rather than just first NIC enumerated

Windows PE New Features - Future Windows Server 2003 Service Pack 1 All features listed for XPSP2 plus Major Overhaul release; lots of bug fixes Documentation getting a major clean up RAMDisk boot support for HD, CD and any vendors PXE* Full support for all architectures Windows Server 2003 Service Pack 1 will support MKIMG -- No longer need to maintain separate build directories with ia64/amd64/x86 tools. Correct tools pulled from platform-specific build directories, allowing same modified build scripts across architectures to be used. ADO -- support named-pipe as well as TCPIP transport *Requires minimum of 256MB

Installing Windows XP from Source Windows XP Copy i386 folder from XP CD ROM Windows XP SP2 Run XPSP2.EXE /S:d:\winxp (see support\tools\spdeploy.htm) (see support\tools\deploy.cab for GREAT info) Let SUS/WU add the rest

\i386 \$OEM$ \Textmode \$$ \$1 \<drive_letter> \<drivers_dir> \<drive_letter> Windows XP files Contains all OEM files Maps to %systemdrive%. Contains PnP drivers and infs Maps to a drive on the computer. E.g. E:\ Contains Txtsetup.oem, SCSI and HAL files Maps to %systemroot% Distribution Share/Folder Explanation What do the various directory structures in a Build source look like? Below contains installation files - Windows XP, device drivers, any additional files Structure ($OEM$ can be moved in unattend.txt)

Customising the Build $OEM$ copies files to local disk Cmdlines.txt executes commands at the end of setup Cmdlines.txt is run synchronously Commands in cmdlines.txt execute asynchronously Use start /wait to call a CMD file Use start /wait for each command in the CMD file Cmdlines.txt has no user environment and no network access – useful only for $OEM$ Cmdlines.txt cannot install MSI packages Use GUIRunOnce Use GUIRunOnce for network app installs

Adding support for PnP hardware Drivers must be available during GUI mode setup Place files in $OEM$\$1\Drivers – can make this a more detailed sub structure Create sub-folders (audio, net, etc) or vendor specific Unattend.txt[Unattend] OEMPnPDriversPath=“drivers\audio;drivers\net;drivers\ etc” Setup prepends %systemdrive% to each path

Sysprep = Prepares a reference system duplication SMS OSD 3rd party imaging tools XCopy Similar to RIPrep, used for RIS imaging Requires relatively similar hardware Runs Mini-Setup (or Windows Welcome in Windows XP) rather than full setup System preparation tool

Sysprep 2.0 Support for longer OEMPnPPath strings Increased to 4096 characters Administrator profile copied to Default User Simplifies Default User configuration Factory switch Allows for updated or out of box drivers to be picked up by image at install time when PnP occurs Winbom.ini Allows gathering of files (e.g., drivers, apps) from network or custom scripting/application installs -PnP switch not recommended Enhancements

Sysprep Reference Computer is prepared as desired – Windows and applications 1 Sysprep is run on the Computer, which then powers off 2 Using Windows PE or an imaging tool, the image is stored (here, to a server) 3 Destination Computer is booted using Windows PE or an imaging tool, image is installed. 4 Destination Computer is powered on, mini-setup runs 5 Destination Computer is powered off & ready to redistribute 6 File Server Reference Computer 3 Steps 4-6 repeated as needed for each new Computer desired 7 4 Destination Computer How it works

Sysprep Sysprep.exe Main tool Setupcl.exe used to regenerate security IDs Factory.exe When sysprep is run with the –factory option Sysprep.inf Answer file used by Sysprep Files must be in %systemdrive%\Sysprep folder Components

Unattend And Setup Manager Setup Manager creates and modifies unattended setup answer files UnattendSysprepRISetup Can be found with other deployment tools and guides in Deploy.cab on the product CD Updated versions of tools with XP SP1 and XP SP2

Unattend And Setup Manager Local admin password can be encrypted Setup Manager features Improved user interface Improved.chm file on the product CD for unattended setup and deployment Enhancements

Remote Installation Services Remote Installation Service Allows for network initiated setup Clean scripted install (RISetup) Clean imaged install (RIPrep) Uses PXE network cards to initiate setup with minimal user interaction Boot floppy supports select additional network cards that are not PXE capable RIS

RIS The client requests an IP address 1 The IP address is supplied by a DHCP server The client contacts the RIS server The RIS server checks Active Directory to see if the client has been pre-staged RIS responds or forwards the request to another RIS server 5 The RIS server sends startrom.com to the client – launches OSChoice DHCP Server RIS Server Active Directory DC Client How it works

RIS Support for deploying All retail versions of Windows 2000 (including Server and Advanced Server) Windows XP Professional All Windows Server 2003 products All 64-bit versions of Windows Server 2003* Significant performance increase over RIS in Windows 2000 *RISetup only, not RIPrep-based images Windows 2003 Enhancements

RIS Installation RiPrep RiPrep.sif Mini Setup or Windows Welcome RIS Setup Ristndrd.sif RIS

RIS Server Services BINL (Boot Information Negotiation Layer) The boot server service; interacts with the AD and other boot servers to remote install a client TFTPD (Trivial File Transfer Protocol Daemon) Protocol used to transfer files needed to remote install, maintain and troubleshoot a client machine SIS (Single Instance Storage) Runs on NTFS partition to reduce disk space usage by removing duplicate files from RIS images

Creating RIS OS Install Configure RIS Server as mentioned Creates a default CD-based image Configure client computer names and locations Configure client installation options Modify installation using answer file Set permissions on image - set ACLs on.sif files (or templates folder)

RIS Tips Must have Windows 2000 SP2 on server Must have new RISETUP.EXE See Q Must copy new files from.NET server RIPREP.EXEIMIRROR.DLLSETUPCL.EXERIPREP.INF

© 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.