Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 597
  • Last Modified:

add registry entry in answer file

I have a win7 ghost ss 2.5 image and have forgotten a simple reg key in the image, don't want to retake image. it maybe needs applying in the answer file sysprep.XML, where in the answer file can I add this and to which pass?
it could be a reg add "hklm\software\etc..." command line?

maybe a simpler idea? I cant use gpo, too late in boot process.
1 Solution
You can actually edit the registry of a ghost file to save doing a re-image
Open the .gho file in Ghost Explorer and navigate to C:\windows\system32\config
Extract the relevant file for the registry part you need to edit (default,sam,security,software,system)
Now use regedit and load the hive you just extracted
Make your changes, unload the hive and insert back into your Ghost image using Ghost Explorer again.

NOTE: Once you have extracted the file, keep an original copy of it somewhere, as sometimes the file gets corrupted when re-inserting (which although doesn't affect your image, stops you editing it a second time) - I found this a problem in Ghost explorer a couple of years ago, not sure if they've ficed it yet

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Tackle projects and never again get stuck behind a technical roadblock.
Join Now