Logo
PREGNANCY
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows 7

Automating the Windows 7 Installation : Deploying Unattended Installations (part 2) - Using Windows System Image Manager to Create Answer Files

7/4/2011 7:02:57 PM

4. Using Windows System Image Manager to Create Answer Files

Answer files are automated installation scripts used to answer the questions that appear during a normal Windows 7 installation. You can use answer files with Windows 7 unattended installations, disk image installations, or WDS installations. Setting up answer files allows you to easily deploy Windows 7 to computers that may not be configured in the same manner, with little or no user intervention. Because answer files are associated with image files, you can validate the settings within an answer file against the image file.

You can create answer files by using the Windows System Image Manager (SIM) utility. There are several advantages to using Windows SIM to create answer files:

  • You can easily create and edit answer files through a graphical interface, which reduces syntax errors.

  • It simplifies the addition of user-specific or computer-specific configuration information.

  • You can validate existing answer files against newly created images.

  • You can include additional application and device drivers in the answer file.

In the following sections, you will learn about options that can be configured through Windows SIM, how to create answer files with Windows SIM, how to format an answer file, and how to manually edit answer files.

4.1. Configuring Components Through Windows System Image Manager (SIM)

You can use Windows SIM to configure a wide variety of installation options. The following list defines what components can be configured through Windows SIM and gives a short description of each component:

auditSystem Adds additional device drivers, specifies firewall settings, and applies a name to the system when the image is booted into audit mode. Audit mode is initiated by using the sysprep /audit command.

auditUser Executes RunSynchronous or RunAsynchronous commands when the image is booted into audit mode. Audit mode is initiated by using the sysprep /audit command.

generalize Removes system-specific information from an image so that the image can be used as a reference image. The settings specified in the generalize component will only be applied if the sysprep /generalize command is used.

offlineServicing Specifies the language packs and packages to apply to an image prior to the image being extracted to the hard disk.

oobeSystem Specifies the settings to apply to the computer the first time the computer is booted into the Windows Welcome screen, which is also known as the Out-Of-Box Experience (OOBE). To boot to the Welcome screen, the sysprep /oobe command should be used.

specialize Configures the specific settings for the target computer, such as network settings and domain information. This configuration pass is used in conjunction with the generalize configuration pass.

Windows PE Sets the Windows PE-specific configuration settings, as well as several Windows Setup settings, such as partitioning and for matting the hard disk, selecting an image, and applying a product key.

4.2. Creating Answer Files with Windows System Image Manager

To create an answer file with the Windows System Image Manager, the first thing you must do is install the Windows Automated Installation Kit (WAIK), In Exercise 4, you will download and install the WAIK, which is a free download from Microsoft's website.

Exercise 4: Downloading and Installing the WAIK

  1. Download the WAIK. iso file from Microsoft's website.

  2. You must transfer the .iso file to a DVD.

  3. Insert the DVD into your Windows 7 machine.

  4. When Autoplay starts, click Run StartCD.exe. If Autorun does not start, open Windows Explorer and click StartCD.exe under the DVD drive.

  5. At the User Account Control screen, click the Yes button.

  6. The Welcome To Windows Automated Installation Kit screen appears. Click the Windows AIK Setup link.



  7. The Welcome screen to the wizard appears. Click Next.

  8. At the License Terms screen, click the I Agree radio button and click Next.

  9. At the Select Installation Folder screen, choose where you want to install the WAIK files. You can also choose who has the rights to use the WAIK. In this example, the Everyone radio button is selected. Click Next.



  10. At the Confirmation screen, verify your settings and click Next.

  11. At the Installation Complete screen, verify that there are no errors and click Close.

  12. Close the WAIK installation screen.


After you have installed the WAIK, you can run the Windows SIM utility to create a new answer file or edit existing answer files. Exercise 5 describes how to create a new answer file using Windows SIM.

Exercise 5: Using the Windows SIM Utility

  1. Select Start => All Programs => Microsoft Windows AIK, and click Windows System Image Manager.

  2. Windows System Image Manager displays an empty screen with five panes: a pane for selecting distribution shares, a pane for selecting Windows image files, the answer file pane, a properties pane, and 3 pane for displaying validation messages.



  3. Select the Windows 7 image file for which a new answer file should be created by clicking the File => Select Windows Image or catalog file option or by right-clicking the Windows Image pane in Windows SIM and clicking Select Windows Image, and then choosing the image you created in Exercise 2.



  4. Select File => New Answer File or right-click the Answer File pane and select New Answer File from the context menu to generate the structure of the new answer file.

  5. Right-click each component as desired to modify the configuration pass options that are specific to the new environment. You can drill down within a component to provide specific customizations, or you can modify parent-level components.

  6. When you have finished customizing the answer file for the desired environment, choose File => Save Answer File to save the answer file.


You can use an answer file to provide automated answers for a DVD-based installation. Simply create a new answer file named Unattend.xml and copy it to the root of the DVD. Insert the Windows 7 DVD and set the BIOS to hoot from the DVD drive. As the installation begins, Windows Setup will implicitly search for answer files in a number of locations, including the root of removable media drives.

Other -----------------
- Microsoft Visio 2010 : Understanding Organization Charts & Building an Organization Chart by Hand
- Microsoft Visio 2010 : Creating Swimlane Diagrams
- Microsoft Excel 2010 : Editing Chart Data
- Microsoft Excel 2010 : Changing the Chart Background & Enhancing a Chart
- Microsoft Excel 2010 : Formatting Chart Text & Formatting Line and Bar Charts
- Visual Studio 2010 : Building the Windows Container (part 3) - Creating a Multiple Document Interface
- Visual Studio 2010 : Building the Windows Container (part 2) - Adding menus and toolbars
- Visual Studio 2010 : Building the Windows Container (part 1) - Setting common form properties & Creating dialog boxes
- Microsoft Visio 2010 : Adding Labels to Flowcharts & Understanding Swimlane Diagrams
- Microsoft Visio 2010 : Selecting a Flowchart Type & Creating Flowcharts
- Automating the Windows 7 Installation : Choosing Automated Deployment Options (part 3) - An Overview of the System Preparation Tool and Disk Imaging
- Automating the Windows 7 Installation : Choosing Automated Deployment Options (part 2)
- Automating the Windows 7 Installation : Choosing Automated Deployment Options (part 1) - An Overview of the Microsoft Deployment Toolkit 2010
- Advanced .NET Framework with VB 2010 : Coding Attributes - Reflecting Attributes
- Advanced .NET Framework with VB 2010 : Coding Attributes - Coding Custom Attributes
- Advanced .NET Framework with VB 2010 : Coding Attributes - Applying Attributes
- Microsoft Visio 2010 : Adding Sophistication to Your Drawings - Working with Background Pages and Borders
- Microsoft Visio 2010 : Adding Sophistication to Your Drawings - Managing Pages and Page Setup
- Microsoft Visio 2010 : Adding Sophistication to Your Drawings - Understanding Layers
- Installing Windows 7 (part 4) - Using Windows Update & Installing Windows Service Packs
 
 
Most view of day
- Microsoft Word 2010 : Proofing a Document - Finding and Replacing Text
- Microsoft Visio 2010 : Sharing and Publishing Diagrams - Customizing Diagrams Saved as Websites
- System Center Configuration Manager 2007 : ConfigMgr Classic Reports Versus SQL Reporting Services
- Maintaining Desktop Health : Understanding Windows Eventing (part 1) - Windows Eventing Capabilities
- Using the Windows 7 Libraries : USING THE EXPLORER BROWSER CONTROL (part 2)
- Monitoring Windows Small Business Server 2011 : Using Event Viewer
- QuarkXPress 8 : Checking spelling (part 1) - Running a spell check, Creating custom spelling dictionaries
- Microsoft Excel 2010 : Inserting Blank Rows (part 1) - Separating Subtotaled Rows for Print
- SharePoint 2010 : Farm Governance - Restricting web part access in the farm
- Windows Server 2012 : Configuring IPv6/IPv4 interoperability (part 4) - IPv6 address assignment - Manual address assignment
Top 10
- Windows Phone 8 : Configuring Mailbox Settings (part 5) - Configuring Automatic Replies
- Windows Phone 8 : Configuring Mailbox Settings (part 4) - Lightening the Display,Changing the Mailbox Sync Settings
- Windows Phone 8 : Configuring Mailbox Settings (part 3) - Message Signatures, Blind CCing Yourself
- Windows Phone 8 : Configuring Mailbox Settings (part 2) - Unlinking Mailboxes, Conversation View
- Windows Phone 8 : Configuring Mailbox Settings (part 1) - Linking Mailboxes
- Managing Windows Server 2012 Systems : Configuring Roles, Role Services, and Features (part 6) - Tracking installed roles, role services, and features
- Managing Windows Server 2012 Systems : Configuring Roles, Role Services, and Features (part 5) - Installing components at the prompt
- Managing Windows Server 2012 Systems : Configuring Roles, Role Services, and Features (part 4) - Managing server binaries
- Managing Windows Server 2012 Systems : Configuring Roles, Role Services, and Features (part 3) - Adding server roles and features
- Managing Windows Server 2012 Systems : Configuring Roles, Role Services, and Features (part 2) - Installing components with Server Manager - Viewing configured roles and role services
 
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro