using wimlib apply wim file cannot boot

Comments, questions, bug reports, etc.
JFX
Posts: 29
Joined: Tue Aug 18, 2015 3:59 pm

Re: using wimlib apply wim file cannot boot

Post by JFX »

Yes, DISM++ does update the MountedDevices key in the applied Os.
Tokener
Posts: 14
Joined: Mon Sep 10, 2018 11:18 pm

Re: using wimlib apply wim file cannot boot

Post by Tokener »

JFX wrote: Wed Jan 18, 2023 8:55 pm Yes, DISM++ does update the MountedDevices key in the applied Os.
Thank you JFX

Best regards T.
lvw
Posts: 6
Joined: Wed Jan 04, 2023 8:46 am

Re: using wimlib apply wim file cannot boot

Post by lvw »

Thanks JFX & Tokener,

I would try:

1. copy files from Tokener mentioned,
(
but I have copy the whole c's config from C: to D: before;
if you are talking about copy from dism++ applied drive, it might be the JFX's solution?
)
2. update the mount device key

could you share more information about how to update the registry?
JFX
Posts: 29
Joined: Tue Aug 18, 2015 3:59 pm

Re: using wimlib apply wim file cannot boot

Post by JFX »

\DosDevices\C: tells Windows which partition should be mounted as C:
If you apply your OS to a different partition, it will still point to the old one.

So after apply do load offline registry and swap the mountpoints

Code: Select all

reg load D:\Windows\System32\config\system HKLM\sys
and with Regedit.exe change HKLM\sys\MountedDevices, \DosDevices\C: with the value from HKLM\System\MountedDevices, \DosDevices\D:
and the same for HKLM\sys\MountedDevices, \DosDevices\D: and HKLM\System\MountedDevices, \DosDevices\C:

then unload offline hive with:

Code: Select all

reg unload HKLM\sys
lvw
Posts: 6
Joined: Wed Jan 04, 2023 8:46 am

Re: using wimlib apply wim file cannot boot

Post by lvw »

Hi JFX,

I would try reg load/unload to edit mounted devices,

and access that with regedit.exe GUI first.


Thanks for sharing info.
Post Reply