Edit the registry of a WIM without having to recapture

From The IT Community
Jump to: navigation, search

Here is how to edit the registry of a WIM without having to recapture:

  • Mount the WIM file with ImageX:
imagex /mountrw myOS.wim 1 c:\mount 

  • Load the desired registry hive (in this example it is Software):
reg load HKLM\mykey c:\mount\windows\system32\config\software 

  • Open regedit and make the changes.

  • Unload the registry:
reg unload HKLM\mykey 

  • Commit the changes back to the WIM file:
imagex /unmount /commit c:\mount

If you found this article helpful please share it, comment and help others by writing your own article.

Translate this page:

Articles found in the same category:
(max. 20 shown)