Partilhar via


Create or Open an Answer File

Applies To: Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2012, Windows Server 2012 R2

The following procedure describes how to create a new answer file or open an existing answer file by using Windows® System Image Manager (Windows SIM).

After you create or open an answer file, you can add settings and packages to it. For more information, see Configure Components and Settings in an Answer File and Add a Package to an Answer File.

To create a new answer file

  1. Open Windows SIM.

  2. Open a Windows image. For more information, see Open a Windows Image or Catalog File.

  3. In the Answer File pane, select the top node, and then right-click to select New Answer File.

To open an existing answer file

  1. Open Windows SIM.

  2. Right-click the Answer File pane, and then click Open Answer File.

    The Open dialog box appears.

  3. Browse to the existing answer file, and then click Open.

    The answer file appears in the Answer File pane.

Note

The Windows image file that generated the answer file also opens if it is still in its original location.

In some cases, Windows SIM might display validation errors when opening an existing answer file. If this happens, try the following options:

  • Problems with individual settings in an answer file appear in the Messages pane. Use this information to identify and address the problem.

  • If the answer file opens, but all the settings are listed as “does not exist” in the Messages pane, then the file you’re using might be for the wrong PC architecture – for instance, your original answer file might be based on x86, and your Windows catalog file is amd64. To fix this, you can find and replace processorArchitecture="x86" for processorArchitecture="amd64" and re-open the file.

  • If Windows SIM can’t open the file at all, this often means there’s some malformed XML in the answer file. You can often narrow down the problem by cutting out sections of the answer file, one large block at a time, and trying again to re-open the file.

See Also

Tasks

Configure Components and Settings in an Answer File
Validate an Answer File
Hide Sensitive Data in an Answer File
Add a Device Driver Path to an Answer File
Add a Package to an Answer File
Add a Custom Command to an Answer File
Find a Component, Setting, or Package in Windows SIM

Other Resources

Windows SIM How-to Topics