Professional Documents
Culture Documents
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Table of Contents
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation
Kit ......................................................................................................................................... 1
Exercise 1 Create an Answer File ...................................................................................................................................2
Exercise 2 Distribution Share .........................................................................................................................................3
Exercise 3 Add and Configure Welcome Settings ..........................................................................................................6
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Scenario
Estimated Time to
Complete This Lab
Computer used in this
Lab
45 Minutes
SEA-DC-01
The password for the Administrator account on the computer in this lab is:
P@ssword
Page 1 of 11
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Exercise 1
Create an Answer File
Scenario
In this step, you will create a new answer file. For this step, a Windows 7 catalog is provided. A catalog file (.clg) is
a binary file that contains the state of all the unattended setup settings and the packages in a Windows image. If
you do not have a catalog file, you can generate one from a valid install.wim file.
Tasks
Detailed Steps
SEA-DC-01
1.
Generate a new
answer file
Page 2 of 11
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Exercise 2
Distribution Share
Scenario
To support this exercise, a sample distribution share was created on your local hard drive.
Tasks
Detailed Steps
SEA-DC-01
1.
Review the
Distribution share
2.
Configuration Pass
Microsoft-Windows-
oobeSystem
Deployment\Reseal
Microsoft-Windows-International-
windowsPE
Core-WinPE
Microsoft-WindowsSetup\DiskConfiguration\Disk\Create
Page 3 of 11
windowsPE
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Tasks
Detailed Steps
Partitions\ CreatePartition
Microsoft-Windows-
windowsPE
Setup\DiskConfiguration\Disk\Modify
Partitions\ ModifyPartition
Microsoft-Windows-
windowsPE
Setup\ImageInstall\OSImage\InstallTo
Microsoft-Windows-Setup\UserData
windowsPE
Microsoft-Windows-Shell-
auditSystem
Setup\Autologon
d. All the settings that you added appear in the Answer File pane. Select and
configure each setting as specified below.
Component
Value
Microsoft-Windows-International-
InputLocale = en-US
Core-WinPE
SystemLocale = en-US
UILanguage = en-US
UserLocale = en-US
Microsoft-Windows-International-
UILanguage = en-US
Core-WinPE\SetupUILanguage
Microsoft-Windows-
WillShowUI = OnError
Setup\DiskConfiguration
Microsoft-Windows-
DiskID = 0
Setup\DiskConfiguration\Disk
WillWipeDisk = true
Microsoft-Windows-
Extend = true
Setup\DiskConfiguration\Disk\Create
Order = 1
Partitions\CreatePartition
Type = Primary
Microsoft-Windows-Setup
Active = true
\DiskConfiguration\Disk\ModifyPartiti
Format = NTFS
ons\ModifyPartition
Label = WIN7_OS
Letter = C
Order = 1
Page 4 of 11
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Tasks
Detailed Steps
PartitionID = 1
Microsoft-Windows-
WillShowUI = OnError
Setup\ImageInstall\OSImage\
Microsoft-Windows-
DiskID = 0
Setup\ImageInstall\OSImage\InstallTo
PartitionID = 1
Microsoft-Windows-Setup \UserData
AcceptEula = true
Microsoft-Windows-Shell-
Enabled = true
Setup\AutoLogon
LogonCount = 5
Username = Administrator
Microsoft-Windows-Shell-
Value = P@ssword
Setup\AutoLogon\Password
Microsoft-Windows-
ForceShutdownNow = false
Deployment\Reseal
Mode = Audit
Page 5 of 11
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Exercise 3
Add and Configure Welcome Settings
Scenario
In this exercise, you define answer file settings to automatically configure user interface (UI) pages in Windows
Welcome. In addition, you must create a custom content file called oobe.xml. The customizations include:
Tasks
Detailed Steps
SEA-DC-01
1.
Add additional
settings
Component
Configuration Pass
Microsoft-Windows-IE-
Specialize
InternetExplorer\FavoritesList\FavoriteItem
Microsoft-Windows-IE-
Specialize
InternetExplorer\SearchScopes\Scope
Microsoft-Windows-IE-
Specialize
InternetExplorer\StartPages\StartPage
Microsoft-Windows-
oobeSystem
PerfCenterCPL\WindowsExperienceIndexOemInfo
Microsoft-Windows-Shell-Setup\OEMInformation
Specialize
Microsoft-Windows-Shell-
Specialize
Setup\OEMWelcomeCenter
Page 6 of 11
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Tasks
Detailed Steps
c. Right-click StartPages and click Insert New StartPage.
d. All the settings that you added must appear in the Answer File pane. Select and
configure each setting as specified below.
Component
Value
Microsoft-Windows-IE-
FavID = Favorite1
InternetExplorer\FavoritesList\F
avoriteItem
FavURL = http://www.woodgrovebank.com
Microsoft-Windows-IE-
ScopeDisplayName = Wikipedia
InternetExplorer\SearchScopes\
ScopeKey = Scope1
Scope
ScopeURL =
http://en.wikipedia.org/wiki/Special:Search?
search={searchTerms}
Microsoft-Windows-IE-
InternetExplorer\StartPages\Star
StartPageURL =
tPage
http://www.woodgrovebank.com
Microsoft-Windows-IE-
InternetExplorer\StartPages\Star
StartPageURL = http://www.wikipedia.com
tPage
Microsoft-Windows-Shell-Setup
HelpCustomized = false
\OEMInformation
Microsoft-Windows-Shell-Setup
Link=C:\WoodgroveBank\Welcome\Welcome
\OEMWelcomeCenter
.lnk
Microsoft-Windows-
HardwareUpgradeURL =
http://support.woodgrovebank.com
PerfCenterCPL\WindowsExperie
Logo =
nceIndexOemInfo
c:\Windows\System32\OOBE\Info\WGB_ico
n.bmp
Page 7 of 11
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Tasks
Detailed Steps
2.
Note: In this step you will review an Oobe.xml file. Oobe.xml is a content file that you
can use to collect text, images, and settings for customizing Windows Welcome, the
out-of-box experience for Windows 7. The Oobe.xml file can also be used to define
custom specified images for the first user tile and for the desktop background. Using a
text editor, like Notepad, create a file called Oobe.xml.
Page 8 of 11
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Exercise 4
Add a language pack
Scenario
In this step, you will enable support for multiple languages by adding language packs to your reference installation.
During deployment, you can set the default user interface (UI) display language, remove unwanted language packs
or leave the language packs and allow the end user to choose. In this lab, English (en-US) is your base language.
This lab provides the following language packs: German (de-DE), Spanish (es-ES).
Tasks
Detailed Steps
SEA-DC-01
1.
Include Language
Packs
2.
Add drivers
a. In Windows SIM, on the Insert menu, click Driver Path, and then click Pass 1
windowsPE.
b. The Browse for Folder dialog box appears.
Note: You can also add drivers non-boot-critical drivers to the auditSystem pass
which will be processed during Audit mode only. For information about using audit
mode, see the Customize Windows in Audit Mode topic in the WAIK.chm.
c. Navigate to D:\LabSource\Drivers\IntelDrivers and click Open.
Note The driver path that you selected is added to the answer file under the
configuration pass that you selected. Depending on the configuration pass that you
selected, the driver path is included as a list item to one of the following components:
Microsoft-Windows-PnpCustomizationsWinPE for windowsPE
Microsoft-Windows-PnpCustomizationsNonWinPE for auditSystem
Only .inf files are added to the driver store during installation. To run an .exe or .msi
driver package, you must add a custom command to install the driver package. For
more information, see the Add a Custom Command to an Answer File topic in the
WAIK.chm.
d. In the Answer File pane, navigate to the Credentials node under
DriversPaths\PathAndCreentials and complete the settings with the following
Page 9 of 11
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Tasks
Detailed Steps
values:
Domain
Password
WoodgroveBank
P@ssword
Username Administrator
3.
Add an application
Note: In this step, you can optionally add an application to your distribution share
and add a custom command to your answer file to install the application after the
operating system is installed.
a. Open Command Prompt and execute the following command:
md "D:\LabSource\WAIK_Distribution\$OEM$ Folders\$1\Program
Files\WGB\Welcome"
b. Open Windows Explorer and navigate to D:\LabSource\Samples\Start_Menu.
c. Copy the Welcome.exe application into the application folder you just created
(D:\LabSource\WAIK_Distribution\$OEM$ Folders\$1\Program
Files\WGB\Welcome).
d. Switch to Windows SIM.
e. On the Insert menu, point to Synchronous Command, and then click Pass 6
auditUser. The Create Synchronous Command dialog box opens.
f. In the Enter command line text box, type D:\WAIK_Distribution\$OEM$
Folders\$1\Program Files\WGB\Welcome\Welcome.exe.
Note: Welcome.exe can be replaced by your applications setup program. Be sure to
include any required arguments.
If you have more than one command to run, enter a number in the Order field to
specify in what order multiple commands will run. Enter 1 for the first command, 2 for
the second command, and so forth.
g. Click OK. The command is added to the answer file in the selected configuration
pass.
Note: Driver applications (.exe) should be treated as applications and added using
Synchronous Command or in Audit Mode.
h. Expand 6 auditUser | x86_Microsoft-Windows-Deployment-neutral |
RunSynchronousCommand | Credentials.
i. Complete the Credentials values with the following:
Domain
Password
WoodgroveBank
P@ssword
Username Administrator
Page 10 of 11
Windows 7: Introduction to Deploying Windows 7 Using the Windows Automated Installation Kit
Tasks
Detailed Steps
4.
a. In Windows SIM, click Tools, and then click Validate Answer File.
Note: The setting values in the answer file are compared with the available settings in
the Windows image.
b. The answer file validates successfully, with a single warning message appearing in
the Messages pane.
Note: Any error messages appear in the same location.
c. Double-click the warning in the Messages pane to navigate to the empty
ProductKey setting.
Note: The warning concerns a setting that you have defined but you have not
changed. You can easily delete any unchanged settings in the answer file.
d. In the Answer File pane, right-click ProductKey and click Delete.
Note that the ProductKey subkey can be deleted while the changes we made to the
UserData node remain unchanged.
e. Click Tools, and then click Validate Answer File. The Messages pane will now
show no warnings or errors.
f. On the File menu, click Save Answer File. Navigate to D:\ and save the answer file
as LabAnswerFile.xml.
Note: When you create a configuration set in the next step, the answer file you saved
will be copied and resaved as autounattend.xml.
5.
Collect files in a
single location
Note: In this step, you create a configuration set that will gather all the resource files
that you specified in your answer file into one location. You will need to copy all
custom resource files to your distribution share before creating a configuration set.
a. In Windows SIM, on the Tools menu, select Create Configuration Set. The Create
Configuration Set window opens.
b. In the Select the target folder for the configuration set box, click the ellipsis ().
c. Navigate to D:\, create a new folder named ConfigSet, select the folder and click
Open.
d. In the Select the folder that you want to copy to $OEM$ (optional) box, click the
ellipsis ().
e. Select $OEM$ Folders and click Open.
f. Click OK.
g. Click OK at the success dialog.
h. In Windows Explorer, browse to D:\ConfigSet and review the files located there.
Page 11 of 11