SAB tires to start ImmersiveShellController before sending Local\ShellStartupEvent, this can't work in a WinPE.
It's ok with a tiny twinui.pcshell.dll, but maybe SAB could ignore this check if:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\MiniNT key exists.
WinNTSetup has an option to save drive letter assignment.
If this not works for you, than manually backup the registry value of your Z: under
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices.
Yes, seems there got something wrong with the rar creation.
WinNTSetup 5.4.1
- added missing LANG folder
- bootice language files prefer MUI names
- disabled multicore apply for x86 version.
- removed system menu integration
WinNTSetup 5.4
- support for Windows 24H2 and Server 2025
- added arm64 and x86 versions
- language files prefer MUI names
- support for RTL languages
- use only one DISM session
- fixed Windows 7 ESP drive mounting
- updated Windows 7 USB3 drivers instructions
- new disable defender tweak includes Windows Malicious Software Removal Tool
The NTFS permissions comes from the WIM file.
MinWin apply only changes the admin rights (MinWin\Default\Options.ini --> AdminAccess = 1)
EDIT: I'll disable AdminAccess in next version, it's useful to test and modify MinWin installation, but should not be default.
Did you make any progress on this?
Sounds like the USB disk becomes inaccessible during boot.
Did you tried different hardware to boot the USB disk?
Is there any difference with official Windows To Go setup?
Mountpoints are calculated, but if you want to do it manually
Look up the data of the new partition under HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
and add it to the offline systems registry \DosDevices\C: value.
I doubt that. VHDs are unique, you need to updated the BCD for every new VHD.
@ibay770 WinNTSetup has reach EOL status.
You could use it's command line options to automate these steps.
@hhui Access denied error is very common with wimgapi or Dism, WinNTSetup already use Trusted Installer rights to overcome some of them.
You could try wimlib (top right window icon --> WIM API --> wimlib) for apply instead.