there is a line in WinNTSetup.Drivers.log :
2021-04-24 20:29:30, Info DISM DISM Driver Manager: PID=26656 TID=29716 Driver E:\install\Driver injection\...\iaStorVD.inf is boot-critical. - CDriverPackage::FillInPackageDetails
then select only *.inf boot-critical to re-apply to winre.wim , easy to write but to you to code
would be nice if critical driver injection can be done in Windows\system32\Recovery\WinRE.wim !
just installed an hp laptop intel 11th gen wich need driver injection of "intel rst vmd" because win10 out of the box doesn't detect disk ...
driver integration ok , but "reset this pc" fails at reboot.
is it possible to RemoveBootMountsOnExit to remove letter of the efi boot letter selected in winntsetup after successful applied image ?
this prevent windows to display the letter of the efi partition in explorer even with disk is unplugged. this bug doesn't exist with MBR boot part.
edit: my problem is my diskpart script mount the EFI part letter before WinNTSetup, but after thinking myself, i can skip this step in my diskpart script !
thanks , it seems first line of diskpart / detail disk .
for my case, my two NVMe disk has name :
HD2: NVMe Samsung SSD 970
HD3: NVMe Samsung SSD 970
but the first is a 970 Pro and the second is a 970 Evo :-(
can be Disk ID supported for BootExclude ?
Thanks for improvements !
an example ?
is BootMountExclude support GUID disk ID ? edit: tried guid disk : or serial number from get-disk powershell : not supported
StartOverride is recreted automatically if deleted
value of the "0" (in this case dword 0) of the StartOverride will override "Start" value of storahci
so StartOverride is needed for Win8+
Reboot once in SafeMode is ok too , SafeMode re-enable ahci needed, not in Normal, Microsoft' logic ...
edit: i don't think enabling old ide driver is needed, machines using these are abandoned
i need sometime to re-enable ahci support after winntsetup because previous captured system was raid or ide or exotic controller ...
perhaps a direct option to enable / restore ahci would be nice ?
;Win8 to Win10
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\StartOverride]
"0"=dword:00000000
;Win7 + Vista
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\msahci]
"Start"=dword:00000000
I "Map" virtual disk of a VM under VmWare Workstation (v15.5.1) , format vmdk or vhd, same issue.
I open winntsetup, not needed to open iso or select drive, just open then close , then virtual drive mounted by VmWare gets disconnected.
thanks for update. no problems yet using "capture wim" from local installations.
is there a log of the "capture" process ? in case of failures , to know more details (at which file was the error to skip it on next backup) , or in case of sucess to check exclusions.
just discovered wimgapi (gimagex/winntsetup/dism) can support 54 non empty lines in [ExclusionList]
WimLib doesn't have this limitation.
is possible to add "None" compression to capture ? for large windows + data backup it's faster.
thanks for clarification ! Combox Box is after "Do Not Update ..." I though was related.
perhaps ComboxBox can be below, in a new line "Boot files" ...
"Use classic legacy boot menu" can't be done if "Do not update the boot code" selected , isn't it ?
( because it's "bcdedit /set {default} bootmenupolicy legacy" , no ? )
... sorry for my english ...
in "Setup" dialog, these options sould be greyed when "Do not update the boot code" , isn't it ?
Button [ ALL/BIOS/UEFI ]
Find and add Windows version already installed on this PC
Use classic "legacy" boot menu
ok for cpu , I was thinking about wrong hyper threading detection ...
I've just tried the restore system of a Microsoft Surface 3 (Win10 v1511) 4 files with format *.swm ; directly downloader from Microsoft.
WinNTSetup seems apply first swm then error -> Error : Applying System image failed! 0x6: Descripteur non valide
even with wimlib.dll
If i apply with dism or WinNTSetup3.9.4 , there isn't error.