automated vista installation
Download
Skip this Video
Download Presentation
Automated Vista Installation

Loading in 2 Seconds...

play fullscreen
1 / 32

Automated Vista Installation - PowerPoint PPT Presentation


  • 89 Views
  • Uploaded on

Automated Vista Installation. John Alger James Madison University [email protected] Background. Student population (18000+) 1 fulltime and 10 student staff Call Volume: 2036+ calls Recommended Standard: Dell Business Laptop (Latitude series) Apple Laptop

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Automated Vista Installation' - waylon


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
automated vista installation

Automated Vista Installation

John Alger

James Madison University

[email protected]

background
Background
  • Student population (18000+)
  • 1 fulltime and 10 student staff
  • Call Volume: 2036+ calls
  • Recommended Standard:
    • Dell Business Laptop (Latitude series)
    • Apple Laptop
  • Reality: Any make/model/OS version
  • Drop off Service via authorization
environment
Environment
  • Restricted Gigabit network segment
  • Space for 35 laptops
  • 2 TB NAS in Raid 10 (effective 1 TB)
  • Images, user files, drivers and applications
  • Primary DHCP and DNS
  • PXE Client restricted
install scenarios
Install Scenarios
  • Hard drive failure (~20%)
    • Under Dell warranty
    • OS refresh / Office if discs provided
    • Data recovery of old drive
  • Malware Infection (~5%)
    • Repair efforts unsuccessful
    • Last resort (requires approval)
needs
Needs
  • Minimal image library
  • Hardware independent
  • Fast Install
  • Consistent Deployment
  • Drivers installed
  • Applications installed
  • Minimal expense
solution
Solution
  • technet.microsoft.com
  • appdeploy.com
  • Microsoft WIM deployment
  • USB boot (WinPE 2.0)
  • Gigabit network
  • NAS (TeraStation Pro II)
  • Free Microsoft Imaging tools via WAIK
overview
Overview

S

Image Creation

Image Maintenance

Application Configuration

Validate Installation

Gather Drivers

Install Applications

Image Installation

Install Drivers

imaging resources
Imaging Resources

Installation

Maintenance

Image Creation

?

  • WAIK – Windows Automated Installation Kit
    • WSIM – Windows System Image Manager
    • Imagex – offline image manipulation
    • WINPE 2.0 – move CD to USB boot
  • OEM DVD for each OS version
    • install.wim from sources directory
    • Used to create initial system build
  • Target System
    • Sysprep – C:\Windows\system32\sysprep\
    • Future image maintenance
create system snapshot
Create System Snapshot

Installation

Maintenance

Image Creation

?

  • Bios (Legacy ATA operation)
  • Driverless as possible
  • Install from OEM DVD source
  • Fix settings applicable to all models
  • Install any necessary applications
  • OS and application patches
  • Turn off OS updates and remove temp files
  • Capture partition snapshot
create answer file
Create Answer File

Installation

Maintenance

Image Creation

?

  • Install WAIK
  • Start Windows System Image Manager
  • Copy install.wim from DVD sources directory
  • Select Windows Image … option
  • Configure Components
  • Save answer file
  • Test … Test … Test
wsim demo
WSIM Demo

Installation

Maintenance

Image Creation

?

setup phases
Setup Phases

Installation

Maintenance

Image Creation

?

  • windowsPE
    • Used with DVD install
    • Product Key determines Vista version
  • specialize
    • Computer name
    • Product Key
  • generalize
    • Remove SID
    • Other hardware specifics
setup phases cont
Setup Phases (cont.)

Installation

Maintenance

Image Creation

?

  • auditSystem
    • Set DriversPath
    • Install drivers
  • auditUser
    • Enables Administrator
    • Install applications
  • oobeSystem
    • Local Accounts and passwords
    • Reseal system
sysprep answer file
Sysprep Answer File

Installation

Maintenance

Image Creation

?

<settings pass="auditSystem">

<component name="Microsoft-Windows-PnpCustomizationsNonWinPE"processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<DriverPaths>

<PathAndCredentialswcm:action="add" wcm:keyValue="1">

<Path>c:\sysdeploy</Path>

</PathAndCredentials>

</DriverPaths>

</component>

</settings>

image prep
Image Prep

Installation

Maintenance

Image Creation

?

  • Boot snapshot image
  • Place the sysprep answer file
  • CMD (Run As Administrator)
  • Invoke sysprep
    • /audit
    • /generalize
    • /shutdown
    • /unattend:sysprep.xml
  • Lots of testing 
image capture
Image Capture

Installation

Maintenance

Image Creation

?

  • Boot WinPE
  • Map to the NAS
  • Imagex
    • /capture (Vista Ultimate image first )
    • /append (other Vista versions)
    • C: vista32.wim “Ultimate 32bit”
  • Archive previous images
  • Move vista32.wim into place on NAS
image file layout
Image File Layout

Installation

Maintenance

Image Creation

?

  • Three images
    • Volume 1 – Vista Ultimate (largest)
  • Single File Instance Storage
  • Maximum compression
  • Offline file based maintenance
  • Non-destructive installation

Vista Ultimate

Business

Home

Premium

vista32.wim image file

application deployment
Application Deployment

Installation

Maintenance

Image Creation

?

  • AppAdmin.exe
    • Saves Application Installation settings
    • Creates AppDeploy.ini
  • AppDeploy.exe
    • Reads in selected application to deploy
    • Installation Order
  • Sysprep file entries (alternate)
    • RunSynchronously
    • RunAsynchronously
appadmin gui
AppAdmin GUI

Installation

Maintenance

Image Creation

?

  • Configure application install settings
  • Silent installation switches
  • Not included in base image
  • Order of installation
  • Global and model specific
  • appdeploy.com
appdeploy ini
AppDeploy.ini

Installation

Maintenance

Image Creation

?

[Firefox]

description=Mozilla Firefox 3.0.10

executable=Firefox Setup 3.0.10.exe

switches=-ms

source=c:\sysdeploy\app\firefox

installOrder=d10a

installAlways=Yes

drivers
Drivers

Installation

Maintenance

Image Creation

?

  • NAS Structure
    • \osinstall\vista32bit\drivers
      • \Dell
        • \Latitude
          • D630
  • Model directory
    • app – model specific applications
    • audio , storage, security, network, modem …
    • drivers are in uncompressed form
vistainstaller gui
VistaInstaller GUI

Installation

Maintenance

Image Creation

?

  • Configure user account
  • Select OS version
  • Provide product key
  • Select applications
  • Media Direct (future)
vista installer process
Vista Installer Process

Installation

Maintenance

Image Creation

?

  • Prepares internal drive
  • Archives user files (if drive not formatted)
  • Removes previous Windows footprint
  • Applies selected image
  • Modifies the unattend.xml
  • Moves apps and drivers into c:\sysdeploy
  • Logs activity
image deployment
Image Deployment

Installation

Maintenance

Image Creation

?

  • Boot target system from USB
  • WinPE 2.0, execute VistaInstaller
  • WMI Libraries (System information)
  • Diskpart – internal disk configuration
  • Imagex /apply vista32.wim 1 c:
  • Copy apps and model specific drivers
  • Reboot
installation phases
Installation Phases

Installation

Maintenance

Image Creation

?

  • WindowsPE
    • DVD install only
    • cdinstallsysprep file
  • Specialize phase
    • Product key
    • Computer name
    • Time zone
  • Audit phase
    • Administrator active (no UAC)
    • Driver path and driver installation
    • AppDeploy.exe
    • Application deployment (silent installs)
    • OOBE initialized
oobe phase
OOBE Phase

Installation

Maintenance

Image Creation

?

  • Administrator disabled (default)
  • User account created
  • User password set
  • System ready for inspection
  • Quality Control
  • Drivers via app install
wmi queries
WMI Queries

Installation

Maintenance

Image Creation

?

  • Install PowerShell from Windows Update
  • Download WMIExplorer.ps1
  • Run PowerShell
  • Execute WMIExplorer.ps1
  • Example
    • Select * from Win32_DiskPartition
    • Iterate through the result set
licensing
Licensing

Installation

Maintenance

Image Creation

?

  • Slmgr.vbs
    • upk
    • ipk <Product Key>
    • ato
  • Product Keys (scope)
    • Factory install (one to many)
    • DVD install (one to multiple)
    • COA (one only)
image maintenance
Image Maintenance

Installation

Maintenance

Image Creation

?

  • Done as needed
    • OS updates
    • Application updates (part of image)
  • Process (each OS version):
    • Update System Snapshot
    • Sysprep image
    • Capture WIM
    • Test … Test … Test …
    • Replace previous vista32.wim
image maintenance1
Image Maintenance

Installation

Maintenance

Image Creation

?

  • External Applications
    • AppAdmin
    • AppDeploy.ini
    • Move apps to the NAS
  • New system models
    • Drivers copied to the NAS
    • AppAdmin (model specific)
  • Test some more 
image maintenance2
Image Maintenance

Installation

Maintenance

Image Creation

?

  • 64bit architecture
    • Separate image file
    • Same Deployment method
    • WMI Query
  • Windows 7
    • Same processes
    • WinPE 3.0
    • Unknown issues
questions
Questions?

EVAL: resnetsymposium.org/rspm/evaluation/

  • Resource Links:
    • WAIK source technet.microsoft.com
    • WMI Explorer
      • http://thepowershellguy.com
    • WinPE 2.0
      • Part of WAIK or …
      • Use Winbuilder - http://winbuilder.net
    • AutoIt v3
      • http://www.autoitscript.com/autoit3
    • Application Deployment
      • http://appdeploy.com
ad