Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

imaging

winlogo

Tested on Windows 7, 8.1 and 10




Creating an Answer File for Windows Unattended Setup

Computer Imaging is an important part of Life Cycle Management. Creating and deploying Windows images requires running the System Preparation (Sysprep) tool. Sysprep removes system-specific data from Windows ensuring a successful restoration of the image, and creates a "generalized" Windows installation that will then be ready for configuration at next bootup. This article is a step-by-step guide on creating an answer file for Sysprep to completely automate the Windows 7 setup.



Creating a Sysprep unattended answer file

At this point you can either

  • Use the Filewave Answer File Generator
  • Use a 3rd party creation tool
  • Manually create the answer file
  • Skip this and have no answer file or an empty answer file (not recommended)



Installing the Windows Automated Installation Kit for Windows 

First we'll need to install the Windows Automated Installation Kit (Win AIK) on your technician machine 

waik1


waik2


waik3


waik4



Manually Create Answer File


Now we will Launch Windows System Image Manager and begin creating our answer file. 
waik5
Insert your Windows 7 DVD into your machine. In Windows System Image Manager, right click on “Select a Windows image or catalog file” under Windows Image and click “Select Windows image” . Navigate to the Source directory in the Windows 7 DVD, and highlight “install.wim” and click open.
waik6

Right click on “Create or open an answer file” under Answer File and click “New Answer File…”

waik7

First we will configure the language settings to disable this screen: 

In the Windows Image pane, select the component x86_Microsoft-Windows-International-Core_6.1.7601.17514_neutral, right-click and choose Add Setting to Pass 7 oobeSystem.

waik8
Using the Answer File Properties and Settings panes and configure the following settings: 

InputLocale = en-US 
SystemLocale = en-US 
UILanguage = en-US 
UserLocale = en-US 


waik9

Next we will configure a local account and the computer name to disable these screens during setup:


In the Windows Image pane, select the component x86_Microsoft-Windows-Shell-Setup_6.1.7601.17514_neutral, right-click on UserAccounts/LocalAccounts/LocalAccount and choose Add Setting to Pass 7 oobeSystem.

waik10


Using the Answer File Properties and Settings panes, configure the following settings:

  • Description
  • DisplayName
  • Group
  • Name
  • Password


waik11 waik12 waik13 
In the Windows Image pane, select the component x86_Microsoft-Windows-Shell-Setup_6.1.7601.17514_neutral, right-click and choose Add Setting to Pass 4 specialize.

waik14

Using the Answer File Properties and Settings panes, configure the following settings: 


waik15 Now we will configure settings to bypass the EULA, Protect Computer dialog, and Computer location dialogs screens:




In the Windows Image pane, select the component x86_Microsoft-Windows-Shell-Setup_6.1.7601.17514_neutral, right-click on OOBE and choose Add Setting to Pass 7 oobeSystem.

waik16 
Using the Answer File Properties and Settings panes, configure the following settings:

  • HideEULAPage
  • HideWirelessSetupInOOBE (If applicable)
  • NetworkLocation
  • ProtectYourPC

waik17 
All done! Save your answer file and you are ready to Sysprep your master image.

waik20  

It is recommended that you save this file. You can use it later for other images that need prepared



Check Disk


Please make sure that before you Sysprep your Image, that you check the disk. A reboot will be required.

chkdsk /R 
shutdown -r -t 0


Use a administrator command prompt to run the commands and reboot
waik21 chkdsk2

System Prepare with Sysprep


Once  chkdsk  has completed and the machine is back in Windows, run a command prompt as administrator and type the following command to Sysprep your machine: 

C:\Windows\System32\Sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:PATH TO SYSPREP ANSWER FILE XML


waik21
waik22
waik23

Sysyprep will prepare the machine to be copied and shutdown.

You are now ready to upload your Master Image to the FileWave Imaging Appliance.

To continue this workflow and capture this as a Master Image see... Windows Network Imaging - PXE



  • No labels