Wednesday, 15 August 2018

Bugfix in WinNTSetup v3.9.1

JFX's WinNTSetup.exe Windows utility can be used to install Windows directly from a Windows Install .ISO or .WIM or .ESD file.

You can format existing partitions first using the 'F' button, but if you want to delete\make partitions, you had to run Diskpart manually first.



WinNTSetup does also support command line switches too, so you could use it to automate a Windows install using a diskpart script and then run WiNNTSetup.exe with some command line parameters.

One advantage of using WinNTSetup instead of Windows Setup is that you can install a UEFI-enabled version of Windows from an MBR boot, you can also install a 64-bit UEFI version of Windows onto the target hard disk even if you are booting from a 32-bit MBR system, e.g.

1. Boot to WinPE 32-bit (I use a Windows 10 install ISO on E2B and hit ENTER to run it in 'Repair' mode). You can also boot to WindowsToGo or some other WinPE instead.
2. Press SHIFT+F10 to get a command console window open (after selecting Country\Language)
3. Use Diskpart to wipe\partition the target system
4. Run WinNTSetup (32-bit version) from the E2B USB drive, select any ISO from the E2B drive (from any folder or partition), select the Windows Edition and target disk volumes and then install Windows. You can instruct WinNTSetup to install for UEFI or MBR booting or both (or ask it not to install any bootmgr boot code).

Note: You can also specify an XML file (e.g. SDI_CHOCO XML file) and tweak some Windows settings using WinNTSetup, but note that if you use an XML file, the Edition that is installed (Home, Pro, etc.) is determined by the setting in WinNTSetup and NOT the XML file - so make sure you set the Edition that you want to install in WinNTSetup's 'Edition' drop-down list before you click on the 'Setup' button!

Secret WinNTSetup feature!

Since around v3.8.4 there was a secret feature. If the file .\Tools\diskpart\enabled=1 exists, then the secret keychord Ctrl+Shift+D allows you to pick and run a diskpart script which can be used to wipe, format and re-partition your target drive quickly.

Ctrl+Shift+D allows you to run a diskpart script.

Unfortunately, due to a small bug, the Ctrl+Shift+D keychord did not always work when you ran WinNTSetup for the first time under WinPE. If however, you quit WinNTSetup and then run it again, Ctrl+Shift+D then works.

WinNTSetup v3.9.1 now fixes this issue.

You can add WinNTSetup.exe to your E2B USB drive - details are on the E2B website here.