Add a Registry Key to an Answer File (Standard 7 SP1)
7/8/2014
The following procedure describes how to add a registry subkeys and values to an installation by using the Run Synchronous feature in Image Configuration Editor.
To add a custom command to an answer file
Open Image Configuration Editor.
On the File menu, select Open Answer File. Choose an answer file from the Open dialog box.
On the Insert menu, point to Synchronous Command. Choose a configuration pass from the submenu.
The Create Synchronous Command dialog box opens.
In the Enter command line text box, enter the following command, replacing <regentryfilename> with the name of a registration entries (.reg) file that contains the registry subkeys and values you would like to add:
%windir%\regedit.exe /S "<regentryfilename>"
Note
For more information on how to use a registration entry (.reg) file to add, modify, or delete registry subkeys and values, see this Microsoft web site.
Choose OK.
Note
If the command is not added properly, you might need to add the System Management Utilities package, which contains
regedit.exe
, to your image. For more information on how to find packages to add to your image, see Find a Package in Image Configuration Editor
See Also
Tasks
Configure Settings in an Answer File in Image Configuration Editor
Concepts
Settings and Properties in Windows Embedded Standard 7
Image Configuration Editor User Interface