Jamie Glendinning [email protected] ENGL Imaging Toolkit 6 Windows XP unattended install...
-
Upload
diane-turner -
Category
Documents
-
view
218 -
download
0
Transcript of Jamie Glendinning [email protected] ENGL Imaging Toolkit 6 Windows XP unattended install...
Jamie [email protected]
ENGL Imaging Toolkit™ 6Windows XP unattended install using bootable USB
Copyright © Expert Networking Group Limited2
Agenda
Introduction
Overview
Requirements
Project settings
Deployment Wizard
Scenarios
Copyright © Expert Networking Group Limited3
Introduction
Copyright © Expert Networking Group Limited4
Introduction
Level Intermediate
Duration 30 minutes
AssumptionsAn understanding of the ENGL build process
Copyright © Expert Networking Group Limited5
Overview
Copyright © Expert Networking Group Limited6
OverviewInstalling Windows XP
There are two main methods of creating a Windows XP base image using ENGL Imaging Toolkit.
•Create a Windows PE ISO image with unattended install files included. Boot from ISO/DVD and Windows XP will install.
•Create unattended install files. Then use Windows PE to boot to access media containing unattend files.
It is important that we can use a repeatable process to create the base image as that reduces the chance of image corruption
Copyright © Expert Networking Group Limited7
OverviewInstalling Windows XP
Hardware sometimes comes without a CD-ROM/DVD drive and as such it is not always possible to use a bootcd to install Windows XP onto the device in order to create a base image.
It is possible to take the Windows PE files and copy them to a USB device then use that media to boot and install Windows XP
Note: There is normally a suitable workstation or laptop that does have an appropriate CD-ROM/DVD drive somewhere in the organisation
Copyright © Expert Networking Group Limited8
OverviewAdvantages
Advantages to using a USB device:
•DVD writer not required
•DVD drive not required on machine where base image is being created
•If configuration changes are required the OS source files are accessible without recreating ISO image
Note: ENGL TID 2010014 https://englnet.engl.co.uk/kb/tid-2010014.htm covers “Updating boot media created by ENGL Imaging Toolkit 6” if or when changes are required
Copyright © Expert Networking Group Limited9
Requirements
Copyright © Expert Networking Group Limited10
RequirementsWindows XP Unattend
File Library
Windows XP SP3 Media
Mass Storage Drivers
Microsoft .NET Framework 3.5 Service Pack 1 (Full package)
USB device
•Minimum 2Gb USB device
Copyright © Expert Networking Group Limited11
File Library
Copyright © Expert Networking Group Limited12
File LibraryWindows XP Media
Import the appropriate Windows XP media for your environment into Build Console
Copyright © Expert Networking Group Limited13
File LibraryMass Storage Drivers
Import the appropriate Mass Storage Drivers (MSD) for your environment into Build Console
Most environments require multiple Mass Storage Drivers to be loaded to ensure all hardware types are supported with Windows XP
Note: If the appropriate MSD driver for a hardware device is not built into the base image then when the image is restored you will see a Windows Stop 7B error (BSOD)
Copyright © Expert Networking Group Limited14
File LibraryMass Storage Drivers
When adding MSD drivers to the file library ensure all appropriate versions are included, e.g.
iaStor/iaAHCI - 10.5.0.1026 (or newer)
iaStor/iaAHCI - 9.6.0.1014 (or newer)
iaStor/iaAHCI - 8.9.0.1023 (or newer)
iaStor/iaAHCI - 7.8.0.1012 (or newer)
Vmscsi - 1.2.0.4
Copyright © Expert Networking Group Limited15
File LibraryMass Storage Drivers
Prior to importing the MSD it can be useful to pre-configure the folder structure within the file library.
Copyright © Expert Networking Group Limited16
File LibraryMass Storage Drivers
When importing – start with the newest file – deselect copy source files to File Library as the files are already in the file library
Then repeat until all MSD drivers have been imported.
Copyright © Expert Networking Group Limited17
File Library.Net Framework
Import the appropriate Microsoft .NET Framework file into the file library.
•.NET Framework 2.0 Service Pack 1 is required for ZCM 10.x base images
•Microsoft .NET Framework 3.5 Service Pack 1 is required for ZCM 11 base images
Copyright © Expert Networking Group Limited18
USB Device
Copyright © Expert Networking Group Limited19
USB Device
Format USB device before use
Minimum drive size:
500Mb as a PE boot device
2Gb as a PE boot device with unattended Windows XP install files
Copyright © Expert Networking Group Limited20
Project settings
Copyright © Expert Networking Group Limited21
Project Settings
There are no specific configuration settings required to run an unattended installation from USB media.
Ensure that the Project settings are validated and that the correct Windows Product Key is configured.
Copyright © Expert Networking Group Limited22
Deployment wizard
Copyright © Expert Networking Group Limited23
Deployment WizardBase image creation
Scenario 1 – USB device containing Unattended installation files
Scenario 2 – USB Device connects to network share. Unattended installation runs from network
Copyright © Expert Networking Group Limited24
Scenario 1
Copyright © Expert Networking Group Limited25
Base image creationScenario 1
Open Windows XP Project within Build Console
From the Tools menu select Deployment Wizard then click Next
From the Task Selection page, select Base image preparation then click Next
From the Boot Media options page select Include unattended installation files in the ISO image and Automatically start unattended installation process, then click Next
Copyright © Expert Networking Group Limited26
Base image creationScenario 1
Select appropriate Mass storage Drivers.
Note: Only tick add to unattend column for a driver if that driver is required by the hardware that is being used to create the base image.
Click Next
When prompted click Next to start the Deployment Wizard
Once the Deployment Wizard has completed, check the Open project folder option and click Finish
Copyright © Expert Networking Group Limited27
Base image creationScenario 1
Copy contents of <project folder>\WinPE\ISO\ to the root of the USB device
Insert USB device into appropriate hardware and on Boot select USB device
Windows PE will load then will prompt with a message: “This batch file will remove all partitions from this disk and begin the Windows Unattended installation Only press Y if you are certain you wish to do this!”
Press Y to start the process
Windows XP will now install unattended from the USB device
Copyright © Expert Networking Group Limited28
Scenario 1Demonstration
Copyright © Expert Networking Group Limited29
Base image creationScenario 1
Copyright © Expert Networking Group Limited30
Base image creationScenario 1
Copy files from <project folder>\WinPE\ISO\ to USB Drive
Copyright © Expert Networking Group Limited31
Base image creationScenario 1
Insert USB device into machine and then boot from the USB device
Copyright © Expert Networking Group Limited32
Copyright © Expert Networking Group Limited33
Base image creationScenario 1
Create the base image
Shut down the machine then PXE boot the machine into the ZCM imaging environment
From Zim, select the Maintenance menu then select the Development menu
Select the Make an image option and name the image winxp-sp3-x86-postsp.zmg then press OK
The base image has now been created successfully
Copyright © Expert Networking Group Limited34
Scenario 2
Copyright © Expert Networking Group Limited35
Base image creationScenario 2
Open Windows XP Project within Build Console
From the Tools menu select Deployment Wizard then click Next
From the Task Selection page, select Base image preparation then click Next
From the Boot Media options page select Create Windows Preinstallation Environment installation ISO de-select Include unattended installation files in the ISO image and Automatically start unattended installation process, then click Next
Copyright © Expert Networking Group Limited36
Base image creationScenario 2
Select appropriate Mass storage Drivers.
Note: Only tick add to unattend column for a driver if that driver is required by the hardware that is being used to create the base image.
Click Next
When prompted click Next to start the Deployment Wizard
Once the Deployment Wizard has completed, check the Open project folder option and click Finish
Copyright © Expert Networking Group Limited37
Base image creationScenario 2
On the Build Console machine create a Windows share of the <project folder>\unattend\folder
Assign appropriate access rights to this share
Copy contents of <project folder>\WinPE\ISO\ to the root of the USB device
Copyright © Expert Networking Group Limited38
Base image creationScenario 2
Insert USB device into appropriate hardware and on Boot select USB device
Windows PE will load and display a command prompt
Connect to network share created earlier
net use k: \\<buildconsole ip address>\<share name> /user:<user name> <user password>
Change to k: drive
K:
Copyright © Expert Networking Group Limited39
Base image creationScenario 2
Launch diskpart script to partition local disk
Diskpart –s diskpart.txt
Launch unattend.bat to start unattended installation of Windows XP
Unattend.bat
Copyright © Expert Networking Group Limited40
Scenario 2Demonstration
Copyright © Expert Networking Group Limited41
Copyright © Expert Networking Group Limited42
Base image creationScenario 2
Copy files from <project folder>\WinPE\ISO\ to USB Drive
Copyright © Expert Networking Group Limited43
Base image creationScenario 2
Insert USB device into machine – then boot from the USB device
Copyright © Expert Networking Group Limited44
Copyright © Expert Networking Group Limited45
Base image creationScenario 2
Copyright © Expert Networking Group Limited46
Base image creationScenario 2
Create the base image
Shut down the machine then PXE boot the machine into the ZCM imaging environment
From Zim, select the Maintenance menu then select the Development menu
Select the Make an image option and name the image winxp-sp3-x86-postsp.zmg then press OK
The base image has now been created successfully
Copyright © Expert Networking Group Limited47
Summary
Copyright © Expert Networking Group Limited48
Summary
It is possible, by following the steps in this TechBite, to create your base image using USB boot media
Copyright © Expert Networking Group Limited49
Issues
Copyright © Expert Networking Group Limited50
Issues
If you have any issues with the procedures detailed in this TechBite let us know!
•Log an incident on englnet
https://englnet.engl.co.uk/nps
•Report an issue via support forum - engl.support.imagingtoolkit6.buildprocess
•Email [email protected]
Copyright © Expert Networking Group Limited51
More information
Copyright © Expert Networking Group Limited52
More Information
Useful links Product information and Downloads
www.engl.co.uk/products/imagingtoolkit
Success Stories
www.engl.co.uk/company/success
Partners
www.engl.co.uk/partners
Copyright © Expert Networking Group Limited53
More Information
Future Events Tech Bite sessions
Brainshare
www.engl.co.uk/events
www.engl.co.uk