Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


devdevadev

How to Install Window 10 into VHD in WIMBoot mode using WinNTSetup batch file ?

Recommended Posts

Posted (edited)

Hi JFX...

@JFX @jaclaz @wimb @alacran 

FOR VHD INSTALL-

"%wpath%\WinNTSetup%pp%.exe" VHD-CREATE -file:"%FREEDRIVE%\WIMBOOT\Win10x64-WB.vhd" -size:15GB -type:expandable -label:"Win10x64-WB" set e=%errorlevel% set "ALPHABET=_ABCDEFGHIJKLMNOPQRSTUVWZYZ" call set VHD_DRIVE=%%ALPHABET:~%e%,1%% if "%VHD_DRIVE%"=="" echo ERROR! if "%VHD_DRIVE%"=="_" echo ERROR! echo Win10x64-WB.vhd is mounted as %VHD_DRIVE% "%wpath%\WinNTSetup%pp%.exe" NT6 -source:"%isopath%" -wimindex:"2" -syspart:%SYSPART% -tempdrive:%VHD_DRIVE% -unattend:"%XML%" -drivers:"%E2BDRIVE%\SVBus" -Sysletter:C -RunAfter:"COPY_VHD_WIMBOOT_FILES.cmd %E2BDRIVE% %VHD_DRIVE% %OSPART%" -setup -reboot -testSigning

 

FOR VHD CAPTURE-

I use following command to Capture Win10x64-WB.vhd to Win10x64-WB.wim in WIMBOOT mode.

wimlib-imagex.exe capture %VHD_DRIVE% C:\WIMBOOT\W10x64-WB.wim    --config=%E2BDRIVE%\VHD_WIMBOOT\WimBootCompress-2019-03-31.ini --include-integrity  --wimboot  --compress=LZX --threads=4

 

Applying WIM to VHD in WIMBoot mode-

Currently I use following command to Apply WIMBooted Win10x64-WB.wim to 1.5 GB Win10x64-WB.vhd in WIMBOOT mode.

wimlib-imagex.exe apply C:\WIMBOOT\W10x64-WB.wim %VHD_DRIVE% --wimboot

What exactly WinNTSetup command I should use that will be equivalent to above wimlib-images apply command in WIMBOOT mode ?

Regards....

 

Edited by devdevadev

Share this post


Link to post
Share on other sites

17 hours ago, devdevadev said:

wimlib-imagex.exe apply C:\WIMBOOT\W10x64-WB.wim %VHD_DRIVE% --wimboot

What exactly WinNTSetup command I should use that will be equivalent to above wimlib-images apply command in WIMBOOT mode ?

WinNTSetup_x64.exe NT6 -source:C:\WIMBOOT\W10x64-WB.wim -syspart:%VHD_DRIVE% -tempdrive:%VHD_DRIVE% -wimboot -nobootsect -bcd:none -setup

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...