April 29, 2013

Building A Simple Answer File for Automate the Installation using System Image Manage

4:42 pm - By blogger 0

Posted By : Uppal 2 Tech

A simple answer file includes basic Windows Setup configuration and minimum Windows Welcome customizations. This example does not import any special drivers, applications, or packages. At the end of this walkthrough, you can run Windows Setup with this answer file to create an unattended installation.
Step 1: To complete this walkthrough, you need the following:
  • Windows System Image Manager (Windows SIM) installed on a computer. (Windows AIK Feature)
  • An authorized copy of the Windows Vista/7 product DVD.
  • Removable media, such as a floppy disk or a USB flash drive (UFD).
  1. On your technician computer, insert the Windows Vista product DVD into the local DVD-ROM drive.
  2. On the desktop of the technician computer, navigate to the \Sources directory on your DVD-ROM drive. Copy the Install.wim file from the Windows product DVD to a location on the computer.
  3. Open Windows SIM. On the desktop of the computer, click Start, point to Programs, point to Microsoft Windows OPK (or Windows AIK), and then clickWindows System Image Manager.
  4. On the File menu, click Select Windows Image.
  5. In the Select a Windows Image dialog box, navigate to the location where you saved the Install.wim file, and then click Open.
  6. On the File menu, click New Answer File.
Step:2 In this step, you define basic disk configuration and Windows Welcome settings.
  1. In the Windows Image pane of Windows SIM, expand the Components node to display available settings.
  2. On the expanded list of components, add the following components to your answer file by right-clicking the component and then by selecting the appropriate configuration pass. This action will add the component to your answer file in the specified configuration pass. A configuration pass is a phase of Windows installation. Different parts of the Windows Vista operating system are installed in different configuration passes. You can specify settings to be applied in one or more configuration passes.
ComponentConfiguration Pass
Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\ CreatePartitionwindowsPE
Microsoft-Windows-Setup\DiskConfiguration\Disk\ModifyPartitions\ ModifyPartitionwindowsPE
Microsoft-Windows-Setup\ImageInstall\OSImage\InstallTowindowsPE
Microsoft-Windows-Setup \UserDatawindowsPE
Microsoft-Windows-International-Core-WinPEwindowsPE
Microsoft-Windows-International-Core-WinPE\SetupUILanguagewindowsPE
Microsoft-Windows-Shell-Setup \OEMInformationspecialize
Microsoft-Windows-Shell-Setup \OOBEoobeSystem
Microsoft-Windows-Deployment\ResealoobeSystem
Microsoft-Windows-Shell-Setup\AutologonauditSystem
All the settings you added must appear in the Answer File pane.

Select and configure each setting as specified below.
ComponentValue
Microsoft-Windows-International-Core-WinPEInputLocale = <Input Locale>SystemLocale = <System Locale>UILanguage = <UI Language>
UserLocale = <User Locale>
Microsoft-Windows-International-Core-WinPE\SetupUILanguageUILanguage = <UI Language>
Microsoft-Windows-Setup\DiskConfigurationWillShowUI = OnError
Microsoft-Windows-Setup\DiskConfiguration\DiskDiskID = 0WillWipeDisk = true
Microsoft-Windows-Setup\DiskConfiguration\Disk\CreatePartitions\CreatePartitionExtend = falseOrder = 1Size = 15000 (Note: you can adjust Size accordingly; this example uses 15 gigabytes.
Type = Primary
Microsoft-Windows-Setup \DiskConfiguration\Disk\ModifyPartitions\ModifyPartitionActive = trueExtend = falseFormat = NTFS
Label = OS_Install
Letter = C
Order = 1
PartitionID = 1
Microsoft-Windows-Setup\ImageInstall\OSImage\WillShowUI = OnError
Microsoft-Windows-Setup\ImageInstall\OSImage\InstallToDiskID = 0PartitionID = 1
Microsoft-Windows-Setup \UserDataAcceptEula = true
Microsoft-Windows-Setup \UserData\ProductKeyKey = <product key>WillShowUI = OnError
Microsoft-Windows-Shell-Setup \OEMInformationManufacturer = <company name>HelpCustomized = falseSupportPhone = <support number>
SupportURL = <support URL>
SupportHours = <support hours>
Microsoft-Windows-Shell-Setup\OOBEProtectYourPC = 1NetworkLocation = Work
Microsoft-Windows-Deployment\ResealForceShutdownNow = falseMode = Audit
Microsoft-Windows-Shell-Setup\AutoLogonEnabled = trueLogonCount = 5Username = Administrator

 Validate the answer file

In this step, you validate the settings in your answer file and then save them to a file.
  1. In Windows SIM, click Tools, and then click Validate Answer File.
    The setting values in the answer file are compared with the available settings in the Windows image.
  2. If the answer file validates successfully, a “success” message appears in the Messages pane. Otherwise, error messages appear in the same location.
  3. If an error occurs, double-click the error in the Messages pane to navigate to the incorrect setting. Change the setting to fix the error, and then revalidate.
  4. On the File menu, click Save Answer File. Save the answer file as Autounattend.xml.
  5. Copy Autounattend.xml to the root of a floppy disk or UFD.

About the Author

Bally Uppal is a Fouder Of Uppal 2 Tech. He is a Web Desiner, SEO, Digital marketing Expert, Pro Blogger and Social Media enthusiastic. Follow me Uppal2Tech
View all posts by admin →

You might also like:

Get Updates

to our e-mail newsletter to receive updates.

Share This Post

0 comments: