May
17th
Files under Quick Tips, Windows Vista |
Posted by MixedSoup |
Vista’s new image-based Windows Image (WIM) file format lets you do some cool things. For example, you can edit the registry of a Vista image you’ve already captured from a reference computer. Here’s how you do this:
- Mount the image using a command something like this:
- imagex /mountrw install.wim 1 c:\mount
- Load the registry hive you want to edit using a command something like this (which loads the HKLM\software hive):
- reg load HKLM\temphive c:\mount\windows\system32\config\software
- Open regedit.exe and edit the keys and values in HKLM\temphive as desired.
- Unload the hive you previously loaded using a command like this:
- reg unload HKLM\temphive
- Unmount the .wim file and commit the changes using a command like this:
- imagex /unmount /commit c:\mount











































