How to Edit Registry Hives of Offline Wim Image

Create Folder with Name Mount at root of C Drive

Copy *.wim to root of C Drive

Open Command Prompt with admin rights :

Enter Commands as listed:

Dism /Mount-Wim /WimFile:C:\boot.wim /index:1 /MountDir:C:\Mount

reg load HKLM\OFFLINE C:\Mount\Windows\System32\Config\Software

Open Registry Editor (regedit) on host, you will notice it now contains temporary hive HKLM\OFFLINE:
Change Registry Hives as according to your Needs.

reg unload HKLM\OFFLINE

Dism /Unmount-Image /MountDir:C:\mount /Commit

Voila Done .

You Can Add Drivers to Wim Image via this way too i will explain it in next Blog Post.

Leave a Reply