The Oven

Tool World => Research and questions => Topic started by: JFX on March 10, 2015, 03:07:12 AM

Title: WinNTSetup
Post by: JFX on March 10, 2015, 03:07:12 AM
So to not mess up other topics, you can use this one to post question ideas and what ever about WinNTSetup here.

Always remember partitioning is entirely up to you.
If there is a red cross icon, it will not work, as you have not selected a correct boot drive.

Latest Release Version: WinNTSetup3.rar (http://jfx.cwcodes.net/WinNTSetup/Release/WinNTSetup3.rar)
Title: Re: WinNTSetup
Post by: KYHI on March 10, 2015, 11:55:00 AM
Would you verify for me bcd boot code (when you have time) with two VHD's on usb?

I will try to test again as I think my results are somewhat flawed..

Also..

C/P MS TechNet

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2
A Windows 7 or Windows 8 boot environment is required to natively boot a .vhd

The local disk must have at least two partitions: (already proven false with legacy boot)
a system partition that contains the Windows 8 boot-environment files and Boot Configuration Data (BCD) store,
a partition to store the VHD file.

But you will have to update the system partition to a Windows 8 environment to use the .vhdx file format.
Title: Re: WinNTSetup
Post by: JFX on March 10, 2015, 01:27:06 PM
The BCD you poested looks okay, it should work.

For the Windows 8, your right even the Core edition supports VHD boot.
You can right click on the VHD button and disable the checks made.
Title: Re: WinNTSetup
Post by: Lancelot on March 10, 2015, 02:16:01 PM
Hi JFX,

just came and following slowly,

I will recreate Win7x86 some time tonight, this time with usb3 driver added  :lol:
 I currently can not install usb3 drivers, ends with bsod .... well we will see, in the end it is nice testing WinNTSetup :)

I could not find instruction about how to use "Reg Tweaks",
 should I put .reg files to a folder ? so it will process all .reg file ?
  if so, should I convert .reg files ?

:turtle:

Title: Re: WinNTSetup
Post by: JFX on March 10, 2015, 02:26:43 PM
Yeah, just select a folder with *.reg files in it.
There is no need to convert them, but make sure there standard.

like ControlSet001 becomes CURRENTCONTROLSET

or HKEY_USERS\S-1-5-21-%guid% becomes HKEY_CURRENT_USER
Title: Re: WinNTSetup
Post by: Lancelot on March 10, 2015, 02:48:09 PM
Hi KYHI,

Lance, have you accessed your usb's bcd after using WinNTsetup??

I guess yes,
I plan to add usb drivers from dps tonight to get usb3 support,

besides it was an interesting bcd, msconfig (and bcdedit list) lists 1 entry, but on boot there are 4 entries, so answer might be no,
 I will focus on that later, I am only human  :lol:

+
as you wrote, since WinNTSetup does not format,
 it is easy to add to my usb disk  :smile:

..
I will follow other posts, slowly slowly :turtle:
 
Title: Re: WinNTSetup
Post by: KYHI on March 10, 2015, 03:53:05 PM
[attach=1]

Would entry of (Bootstatuspolicy ignoreallfailures) for wintousb.vhd be the possible cause? For unusual MBR?
[attach=2]

Bcd update correctly with the above options and both vhd's bootable

But even when the selection is MBR - an EFI Folder and Bootntx file seem to have been unnecessarily written to disk? Any reason? I'm thinking ALL switch..
[attach=3]

And a quick question - is it possible to include updated tools and windows 8.1 boot files in the download??

As I assume that bcdboot is using Host OS Boot Files - I did notice that WinNTsetup downloaded some tools - it must reference..

Reason being if Host not win7/win8 VHD not possible to boot, unless using win8 boot environment.
Win8.1 ADK Tools with media from PE is a 12MB 7z download
[attach=4]
Title: Re: WinNTSetup
Post by: JFX on March 11, 2015, 02:30:13 AM
Bootstatuspolicy ignoreallfailures should be only to prevent recovery boot of winre.wim.

Yes, the "ALL" in  combo box on proceed page will create EFI files, in your case too.
There all not necessary but might work with some uEFI boards.

You can update the tools manually, if you want, but it's not necessary.
These ones downloaded are form Win 8.0 and still fully compatible with Win 8.1.
Title: Re: WinNTSetup
Post by: KYHI on March 11, 2015, 07:54:18 AM
First off, This Program is awesome..... (Insert WinNTsetup Link Here)

It proves everything I was let to believe from MS to be BS.. Period..

I was able to boot - VHD - off a USB with only one Non GPT partition...

Windows 8.1 x86 and Windows 8.1 x64 both in Legacy Mode and Windows 8.1 x64 in UEFI mode...

F12 brings up my boot menu options - I have the option to boot USB via Legacy or UEFI

Selecting the UEFI Boot Option the x64 version VHD booted straight up..

Selecting the Legacy Boot Option the boot manager gave me the option to boot x86 VHD or x64 VHD
Selected x86 VHD and boot Windows 8.1 x86 in Legacy mode <> Selecting x64 VHD booted Windows 8.1 x64 in UEFI mode (must of redirected the boot to efi manager)

I actually had to disable UEFI Boot in my firmware settings to boot x64 in legacy mode...

Here is what I found That Works for portable windows to go -

USB Format NTFS -
MBR Boot Partition Selection = USB
Yellow Triangle = Allow Bootsect.exe to update Bootcode (Popup appears after clicking "SETUP") > Not needed if MBR Triangle already Green and saves time
Selected Drive Letter Pre-Assignment  "M" (Found it keeps my current Host OS drive letter assignments) (VHD windows Dir=M)

JFX, I assume that the second scroll box directs to what bootmgr to add the current boot entry??? (None,All,Bios.Uefi)

Anyway on popup after clicking "SETUP" when using x86 version software > I change from ALL to BIOS (when using x64 software I left as ALL)
The result of doing this Added both the x86 VHD and x64 VHD into bootmgr and only added x64 VHD into EFI bootmgr...

This program proves you can boot UEFI without a separate Fat32 Partition and proves you can boot UEFI on non GPT disk.. A Big Portable Windows Plus...  :thumbsup: :thumbsup:

I failed in one respect (as I thought for sure it would not work based on my knowledge outside of this program) I did not test x86 in UEFI mode...

JFX, x86 in UEFI with this program??

I ask because x86 on uefi, failed for Lance, but may have been his host OS lacked "Boot" files on EFI boot partition or USB had GPT partitions
Title: Re: WinNTSetup
Post by: KYHI on March 11, 2015, 08:14:28 AM
Since this program seems to be WAY COOL for Windows 7 and Windows 8 /8.1

For my next test > XP and Vista to VHD and add Boot Entry into current usb bootmgr

I got some time and a mission.. Now I got something to do.. Later
Title: Re: WinNTSetup
Post by: Lancelot on March 11, 2015, 08:30:53 AM
Hi KYHI,

If WinNTSetup can put NT5 to VHD,
 to have GPT disk support, Try with Win2k3 - (XP x86 don't support GPT)
  http://theoven.org/index.php?topic=34.0 ;)

I don't much time, only small time and coming after you  :smile:
:turtle:
Title: Re: WinNTSetup
Post by: JFX on March 11, 2015, 10:07:19 AM
JFX, I assume that the second scroll box directs to what bootmgr to add the current boot entry??? (None,All,Bios.Uefi)
Yes, this option is just the switch that passed to bcdboot.exe.

JFX, x86 in UEFI with this program??
It depends only some newer uEFI support x86. Also it requires a Win 8 x86.

Not sure what you mean with Vista and XP to VHD, that's not possible.
At least it will not be possible to boot cause these systems have no vhd driver.
Title: Re: WinNTSetup
Post by: Lancelot on March 11, 2015, 01:12:34 PM
Hi JFX,

how to fix "Boot Part" which remains X ?


Story behind:
I had test this ufd (removable - emtec)  with gpt.... (maybe with wintousb) and it was around....
 today I convert back to mbr (partitionwizard could do, windows dismanagement and active pm failed)
  WinNTSetup could not fix "Boot Part"
    at boot, for this ufd bios gives 2 options ,
       one with uefi (ufd can not boot, it continues with my host uefi)
       other normal (but can not boot, black screen error ~ can not find device to boot ... )

I will re test with another normal ufd, keeping this emtec around  :wink:


Big Story:
All I am trying to do is install a nice working Win71x86-vhd, ready to be used for some cases,
 but usb3 driver installation failed, and also gpu driver integration does not work (intel)
  I decide to create a vhd on internal disk, booting from a ufd, so I can unplug all devices to install usb3 driver


btw, I remember it was possible with fixed vhd via using winvblock like we do on Gena (the beta one inside plugin)........ !

moving slowly..... :turtle:
Title: Re: WinNTSetup
Post by: JFX on March 11, 2015, 01:30:36 PM
Well, WinNTSetup doesn't not fix boot part, that's up to you, that's why the red X.

You properly just create a FAT32 partition, but not a EFI one.
Actually I not aware of a GUI partition tool other then Bootice, to be able to create one.

(http://i40.tinypic.com/dbnxgp.png)
Title: Re: WinNTSetup
Post by: KYHI on March 11, 2015, 02:25:49 PM
Lance, your external HDD - GPT format? - tell me no..
Title: Re: WinNTSetup
Post by: Lancelot on March 11, 2015, 02:51:56 PM
@JFX,

I figured out, partition was not Active, now Active and all working :)
 maybe WinNTSetup can make active maybe not, your design,
  but it would be nice some routes at hand to follow :)
ex:
    Boot Part Fails : 1) First Check if disk active



At last I could fix usb3 driver installation (by unpluging all), now fighting with intel gpu driver :)

It takes too much time to update etc. I hope this time I can finish and backup all

Title: Re: WinNTSetup
Post by: Lancelot on March 11, 2015, 02:57:23 PM
@KYHI

no :):)

Summary, I have 5 disk devices:
I have 1 internal disk (gpt) and 4 usb devices (All usb devices basic mbr if I am not testing something)
1 usb HDD,
2 ufd usb sticks - Removable
1 ufd usb sandisk extreme that acts like usb HDD - Fixed

I had made gpt tests on these ufd devices,
 when reverting back from gpt to mbr, windows disk management do not let,
  active partition manager could convert mbr fixed disk but not removable one,
  partition wizard could convert removable to mbr
  (both from gena....launch button ;))
   not tested bootice yet but I guess it can do all (it didn't came to my mind at first place)....

Following slowly :turtle:
Title: Re: WinNTSetup
Post by: Lancelot on March 11, 2015, 03:03:40 PM
JFX,

btw, since I tried a lot, everytime chkdsk .... 
 but Win81x64 vhd does not popup chkdsk
  only Win71x86 vhd with all re installations...

I "full shutdown" win8, so there should be no dirty bit around...
 Well without "full shutdown" , boot bypass "ESC", "Del" .. here to bootmanager ... (where one need to shutdown with power button again to stop bootmanager and get "ESC" work again ...)

Here:
ESC - boot selection
Del - bios

 I don't know why, and I don't know if it will break anything, I never let Win71x86 chkdsk to fix anything, and empty reg is safer to me, only informing :)

:turtle:
Title: Re: WinNTSetup
Post by: KYHI on March 11, 2015, 04:05:27 PM
Rufus will format USB MBR and GPT

Put win7x86 VHD on ext hdd and make ext HDD legacy bootable.. Get it off the GPT system disk and off your host bootmgr..

Once on ext HDD - attach VHD - and run > bcdboot V:\Windows /s U: /f BIOS

That command will make your USB HDD - Windows 7 Legacy bootable..

ESC - to change disk boot or set firmware boot1 internal and boot2 external

Menu should show [attach=1]
Title: Re: WinNTSetup
Post by: Lancelot on March 11, 2015, 04:26:57 PM
Thanks KYHI,

I already made my usb-hdd-mbr bootable to vhd with WinNTSetup,
 to me critical missing with WinNTSetup is gpt support, which is currently not important to me.....

:turtle:
Title: Re: WinNTSetup
Post by: JFX on March 12, 2015, 03:42:21 AM
Would do you mean with missing gpt support  :confused:

BTW: For your chkdsk issues, your really should disable quick boot in any Win8 you have.
Title: Re: WinNTSetup
Post by: Lancelot on March 12, 2015, 04:19:46 AM
Hi JFX,

I report that earlier:
 I could not get a WinNTSetup boot an empty gpt-fixeddisk... while other utility did nicely..

For GPT you have to create the 100MB system partition yourself and select this one a boot drive.
  if there is already an esp partition, there is no letter to it and one can not assign,
    see reply 7 second picture http://theoven.org/index.php?topic=1232.msg14476#msg14476
  if there is not an esp partition, I create one to be esp later (assigned letter) but WinNTSetup could not get it work (maybe I had forgotten to active again :))

I guess KYHI reported similar...

I am very newly practicing these stuff, I don't know what I am dealing with much,
 all I like to have Win7x86 at hand as the result of such spending time..

++
I will chkdsk later with Win81SE,

This did not work with RegTweaks
Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"BootExecute"=hex(7):00,00

++
I fixed all my Win71x86 driver stuff,
+ to install usb3 driver, I plug out all devices (vhd on internal disk), and it works now  :thumbsup:
+ intel 4000 gpu could not install solved after reading
https://nctritech.wordpress.com/2012/03/15/code-12-on-windows-7-the-device-cannot-find-enough-free-resources/
solutions there did not help,
I decide not to "integrate any driver" to avoid driver conflicts, it workd  :thumbsup:

4th time installing, sucked all free times in passing days
now time to copy vhd to usb disk, update Win71x86, some settings .... some hours...

:turtle:
Title: Re: WinNTSetup
Post by: JFX on March 12, 2015, 05:51:33 AM
You got the wrong picture.
WinNTSetup does nothing with partitions, besides updating boot sector with bootsect.exe.

The complete partition layout is up the the user to be created.
On start WinNTSetup scans all disk for ESP partitions and assigns them a letter.
Even if this not work, can't image a case, but there still mountvol /s to do it.

About "BootExecute"=hex(7):00,00", yes there is bug with empty strings.
Title: Re: WinNTSetup
Post by: KYHI on March 12, 2015, 05:59:12 AM
Thanks KYHI,

I already made my usb-hdd-mbr bootable to vhd with WinNTSetup,
 to me critical missing with WinNTSetup is gpt support, which is currently not important to me.....

GPT Support is there in WinNTsetup.. Win7_x64 supports GPT disk and when installed to USB with 2 partitions has its own efi bootmgr > Both WinToUsb and WinNTsetup support selecting an EFI partition and Windows partition...

The issue in your case is Win_x86 on GPT partition and EFI bootmgr..

Winx86 and to my surprise Winx64 boot just fine on single partition USB MBR Hard Disk or USB Flash Drive (No need for GPT Drive Format)

Winx86 and Winx64 can boot using two separate partitions (1 Fat32 and 1 NTFS)

UEFI_GPT x64 Partition Creation
Code: [Select]
select disk #
clean
convert gpt

== System Partition uefi ==
create partition efi size=100
format quick fs=fat32 label="SYSTEM"
assign letter="S"

=== Windows Partition ===
create partition primary
format quick fs=ntfs label="WIN_OS"
assign letter="W"

BIOS Partition Creatiton x86 / x64
Code: [Select]
Select disk #

== System Partition ==
create partition primary size=100
format quick fs=fat32 label="SYSTEM" (format quick fs=ntfs label="SYSTEM") either or will work
assign letter="S"
active

== Windows Partition ==
create partition primary
format quick fs=ntfs label="WIN_OS"
assign letter="W"

Notice GPT and Active (I assume one could set EFI partition also as Active) to maybe create a shared x86 and x64 system boot partition
Which just leaves one question > x86 software on GPT partition

JFX, commented you need windows 8 or better to support x86 on GPT (My 8.1 Tablet is x86 on UEFI_GPT)

It depends only some newer uEFI support x86. Also it requires a Win 8 x86.

So once again it comes down to Win7 x86 on UEFI-GPT (or anything prior to windows 8)

Just Better to avoid GPT partition all together - with WinNTsetup the UEFI support comes from within software
Title: Re: WinNTSetup
Post by: Lancelot on March 12, 2015, 06:59:39 AM
I will follow and test gpt notes and other stuff in detail in following days....
with better reports  :thumbsup:

:turtle:

Title: Re: WinNTSetup
Post by: KYHI on March 12, 2015, 07:32:03 AM
I have used this program, because it seems to work very well with adding boot (BCD) entries for iso, vhd, wim
Nice thing is you may be able to add - OS to ram project > sources\boot.wim (WinPE - WinRE) to BCD entry into USB bootmgr
or visa versa - add vhd to project bootmgr

EasyBCD 2.2 (http://cf.cdn.neosmart.net/software/EasyBCD/community/EasyBCD%202.2.exe?response-content-disposition=attachment%3B%20filename%3D%22EasyBCD%202.2.exe%22&response-cache-control=max-age%3D1209600&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDovL2NmLmNkbi5uZW9zbWFydC5uZXQvc29mdHdhcmUvRWFzeUJDRC9jb21tdW5pdHkvRWFzeUJDRCUyMDIuMi5leGU~cmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj1hdHRhY2htZW50JTNCJTIwZmlsZW5hbWUlM0QlMjJFYXN5QkNEJTIwMi4yLmV4ZSUyMiZyZXNwb25zZS1jYWNoZS1jb250cm9sPW1heC1hZ2UlM0QxMjA5NjAwIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNDI2MTY2NjE1fX19XX0_&Signature=uyjjIPDSv802Dq7zf~5l1VsWLOmgMgQ~B31XXAhJhISkqvI8KurEwkiHBxAa2TSBZqr2Ymgrd9xKfvf68Yt-YJklRTODSV4ySOZbI7fVcxvsX9z-VeXKlSZ3xtfucRao~TeVfNY7sOvRdjOmLAtfpdK7N8h-FDcwuRKgXSSFiUf2dNOywxhJSQFDktxDsO4y-TOqujt-UURsdTTDg98vjQeTv7iv7RR9xyQ03kNqitbmO7X3HAY7SJc9WFZBYnUltTm7oulC9S8Bt0tnqpHjEBRNg7gZvgqfdLJh14O8Ntphbl5Mjz4oSSlIsbt1QsZlBgYw43fwhxEaPk-OPKSWtQ__&Key-Pair-Id=APKAIPY5GEV5EHVOFFNQ)
[attach=1]

What would be a good Feature in WinNTsetup would be the ability to ADD or USE an existing VHD instead of just creating one..
Title: Re: WinNTSetup
Post by: JFX on March 12, 2015, 08:57:05 AM
What would be a good Feature in WinNTsetup would be the ability to ADD or USE an existing VHD instead of just creating one..
Just 2 buttons away  :whistling:

"VHD >>>" --> "Attach"
Title: Re: WinNTSetup
Post by: Lancelot on March 12, 2015, 08:59:20 AM
JFX,

I guess KYHI means only adding bootmanager things without creating a new vhd  :wink:

:turtle:
Title: Re: WinNTSetup
Post by: JFX on March 12, 2015, 09:01:11 AM
Oh, well common come on guys, just a line in cmd after attaching

Bcdboot Z:\Windows /s Y:

Z: - your mounted VHD
Y: - your boot partition
Title: Re: WinNTSetup
Post by: Lancelot on March 12, 2015, 09:04:35 AM
:)

as I wrote, I am very new on this nt6x gems :)

currently writing from new vhd win71x86, syncronised with ff (pw ready), and windows updating  :smile

:turtle:
Title: Re: WinNTSetup
Post by: KYHI on March 12, 2015, 09:29:56 AM
What would be a good Feature in WinNTsetup would be the ability to ADD or USE an existing VHD instead of just creating one..
Just 2 buttons away  :whistling:

"VHD >>>" --> "Attach"
:white_flag:
Oh, well common guy, just a line in cmd after attaching

Bcdboot Z:\Windows /s Y:

Z: - your mounted VHD
Y: - your boot partition

commom guy says >> DUH and asks why I gotta type??   :lamp:

Guess we need to read the instructions - wait men don't need or read instructions..  :w00t:

Our wives tells us what to do and how to do it...  :ohmy:
Title: Re: WinNTSetup
Post by: KYHI on March 12, 2015, 10:50:53 AM
Chris got me thinking (bad sign) > How hard would it be to add a partitioning tab or GUI to the current program?

Since I noticed that the program runs a premade diskpart script to create a vhd...

We could add variables to the gui and write a diskpart.txt file that can then run by diskpart as a script to partition a hard disk
Title: Re: WinNTSetup
Post by: JFX on March 12, 2015, 11:21:52 AM
Or you could simply add bootice next to Winntsetup and will get such a tab.

Puh, with all these question you guys have,
I need to rethink all the features I wanted to put in the next major version  :mellow:
Title: Re: WinNTSetup
Post by: KYHI on March 12, 2015, 01:44:12 PM
Not sure that is a good thing or a bad thing JFX..

I believe a script could create a partition script for use with > diskpart /s diskpart_*.txt
Title: Re: WinNTSetup
Post by: KYHI on March 13, 2015, 08:05:18 AM
I was testing this morning this along with the > os to ram > boot.wim
I added sources\boot.wim from project to Win-Usb and added entry with easyBCD
Boot.wim loaded into memory and then fails BCD integrity check written by this program

I can work (still playing with) bootice to get it

SE writes to > windows boot manager > nointegritychecks       Yes
SE writes to > windows boot loader > loadoptions             DISABLE_INTEGRITY_CHECKS

I know NT was not meant for this, BUT the current win-usb BCD was written by NT

NT writes to > both > integrityservices       Enable

The VHD's boot fine as NT has written the BCD -
What I am not sure of is what Option needs to be changed to bypass the checks on boot.wim > just the boot.wim integer or the bootmgr integer or both


Title: Re: WinNTSetup
Post by: Lancelot on March 13, 2015, 10:59:42 AM
I made a summary here
http://theoven.org/index.php?topic=1240

:turtle:
Title: Re: WinNTSetup
Post by: KYHI on March 13, 2015, 11:11:50 AM
Got it boot with > legacy x86 and x64 and Win81SE x64 <> EFI x64 and Win81SE x64 (for which win81se uses legacy boot option from bootmgr.efi)

Could not allow NT to write BCD, due to integrity checks.. Choose NONE

Created a Win81SE os-to-ram project to the win-usb, copied WinNTsetup VHD's to win-usb,
mounted x86 VHD and used cmd > bcdboot VHD:\Windows /s USB: /f BIOS
mounted x64 VHD and used cmd > bcdboot VHD:\Windows /s USB: /f ALL
Booted PC both efi and legacy > both booted VHD - due to No display boot menu option in Win81se bcd
Added displaybootmenu option to both bootmgr and bootmgr.efi > bootice = working Win-Usb w/winse

Tweak to SE project = add displaybootmenu  yes - to win81se project bcd - timeout is already set by project
Tweak to NT project = use command line bcdboot it does not write in integrity checks in bcd

Next test is to (edit) enable standard mode in win81se bcd entry - to see if win81se can boot in legacy and efi

Success - Booting Win81SE boot.wim into legacy and UEFI
Edited this under SE winloader from > bootmenupolicy          Legacy (to Standard)

Tweak 2 for SE project to boot SE in both Legacy Mode and UEFI mode..


A Complete Success!!

Enjoy!!
Kyhi
Title: Re: WinNTSetup
Post by: Lancelot on March 15, 2015, 10:06:19 AM
Hi JFX,

a small idea, to add Tweaks,
Gena\Adjunct\MountedDevices Host

since these vhd would be used on personal pc, it would be nice having same driver letters  :wink:
->
practical usage is, when drive letter changed for vhd, such feature would make host-os driver letter (Generally C:) same,
 which would make symbolic links  work...

just an idea  :thumbsup:

:turtle:
Title: Re: WinNTSetup
Post by: JFX on March 15, 2015, 11:46:38 AM
There is already an option to save driveletters.
Title: Re: WinNTSetup
Post by: Lancelot on March 15, 2015, 12:32:30 PM
Hi JFX,

Can you point which one ?
http://theoven.org/index.php?action=dlattach;topic=1240.0;attach=2446;image

http://theoven.org/index.php?action=dlattach;topic=1240.0;attach=2438;image
Title: Re: WinNTSetup
Post by: KYHI on March 15, 2015, 03:43:05 PM
http://theoven.org/index.php?action=dlattach;topic=1240.0;attach=2446;image

Every time that VHD is booted that drive letter will be V

Leaving Host OS drive letters un-changed
Title: Re: WinNTSetup
Post by: Lancelot on March 15, 2015, 05:05:28 PM
Leaving Host OS drive letters un-changed
well I feel no, windows follows its automatic driver assigning routine, which fits ok if you don't do other drive letter scenarios....

Short story, I accidentally notice this and felt it would be nice feature on WinNTSetup, up to JFX..

In some future, it is good idea to use these .vhd with plugins, where I can use MountedDevices Host plugin too,
 not hard, but requires time, much later  :thumbsup:

:turtle:
Title: Re: WinNTSetup
Post by: KYHI on March 15, 2015, 05:10:36 PM
All my VHD's booted as pre assigned drive letter M

And my host drives stayed as C windows, D data, E backup

Where as without pre drive letter assignment my C windows was assigned F
Title: Re: WinNTSetup
Post by: Lancelot on March 15, 2015, 05:15:17 PM
Than all I can say,
it didn't work here, I asssign my usb-disk S: since the begining,

when vhd booted, and I plugin my usb-disk, it was E: or F:

Anyway, as I say, not much important to me  :thumbsup:

:turtle:
Title: Re: WinNTSetup
Post by: KYHI on March 15, 2015, 05:16:59 PM
USB was E or F
VHD windows S ??

Y tag usb
Title: Re: WinNTSetup
Post by: Lancelot on March 15, 2015, 05:21:00 PM
no,
vhd when booted V: ;)  :great:

usb when first plugged in E: (which is S: on my hostos)

I had written "MountedDevices Host" for that reason in very past (which is a simple plugin), not big deal.

I already changed driver letter from E: to S: on vhd-os, it was a small feature idea for WinNTSetup , that was all  :thumbsup:
Title: Re: WinNTSetup
Post by: JFX on March 16, 2015, 02:57:08 AM
Hmm, yes only logical disk will be saved and of course the new systemdrive.
Well not really worth to add such an option.
Title: Re: WinNTSetup
Post by: Lancelot on March 16, 2015, 05:48:01 AM
 :thumbsup:
Title: Re: WinNTSetup
Post by: KYHI on March 25, 2015, 10:42:15 AM
JFX,

Change Log for 3.77 ??
Title: Re: WinNTSetup
Post by: JFX on March 25, 2015, 10:47:10 AM
http://www.winntsetup.com/news/ (http://www.winntsetup.com/news/)
Title: Re: WinNTSetup
Post by: Lancelot on March 28, 2015, 03:33:59 AM
Hi JFX,

may I ask how WinNTSetup:
Disable System Restore ?


Shorlty:
 Reason Behind:
microsoft.vc80.atl,type="win32",version="8.50727.42",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86"

http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/4cecb2c6-dd5d-440e-8357-8701ac6f302b

:turtle:
Title: Re: WinNTSetup
Post by: JFX on March 28, 2015, 06:44:42 AM
https://msdn.microsoft.com/en-US/library/ff793976(v=winembedded.60).aspx (https://msdn.microsoft.com/en-US/library/ff793976(v=winembedded.60).aspx)

But indeed, Windows seems to ignore the complete key, wonder when that have changed.

For link, it's properly a AV issue.
Title: Re: WinNTSetup
Post by: Lancelot on March 28, 2015, 07:34:23 AM
Here there is no
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows NT\SystemRestore\

DisableSR is at
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore

which was 1
I changed to 0, even take a manual restore point, did not help.

+
the link I gave:
I have same trouble (no AV, defender disabled), after digging down I figured out,
trying to install latest vcredist_x86.exe (2005 sp1) failed
I suspected disabled SystemRestore.... well only left suspect a windows update may cause this  :smile:

hehe, the Win71x86 vhd I learned creating with all updates etc.  now have no use  :smile:
 I created another quick one (Thanks to WinNTSetup), where vcredist work (without any system tweak, doing things manually after setup),
 and application installed to be used nicely  :smile:

lots of things to do, lots of things to learn,
 hopefully digging more later in summer  :thumbsup:

:turtle:
Title: Re: WinNTSetup
Post by: KYHI on March 28, 2015, 09:46:02 AM
JFX,

Pre-Assign Drive Letter " * "

Ex: *:\VHD  > Lets windows assign the drive letter ??

Also, to suppress Windows Format Popup during VHD creation - knew the program HAD that issue, may have been corrected already..

Code: [Select]
TXTAddLine,%vw%,"create vdisk file=%vhd% Maximum=%vp% Type=%Type%",Append
TXTAddLine,%vw%,"attach vdisk",Append
TxtAddline,%vw%,"automount disable",Append
TXTAddLine,%vw%,"create partition primary",Append
TxtAddline,%vw%,"online volume",Append
TXTAddLine,%vw%,"format quick fs=ntfs label=%Volabel%",Append
TxtAddline,%vw%,"automount enable",Append
TXTAddLine,%vw%,"assign letter=%PreAssign%",Append
//TXTAddLine,%vw%,"detach vdisk",Append
TXTAddLine,%vw%,"exit",Append

Title: Re: WinNTSetup
Post by: JFX on March 28, 2015, 02:26:27 PM
Yes, what else would you expect, a "*" drive in windows explorer  :lol:

I never noticed a format dialog, are you sure it was not caused by an other program?
Title: Re: WinNTSetup
Post by: KYHI on March 28, 2015, 02:38:12 PM
Yup, it is your program.. When creating VHD

[attach=1]

I knew a * was wild - just a common guy,  verifying the already known
Title: Re: WinNTSetup
Post by: JFX on March 28, 2015, 03:13:16 PM
What I mean, this is not how diskpart / windows should behave.

Is there any other tool running like "usb drive letter manager" for example?
Title: Re: WinNTSetup
Post by: KYHI on March 28, 2015, 05:37:06 PM
No just your program - as soon as the vhd is created - windows assigns a drive letter and pops up a format windows..
Then your program finishes assign and format.. Even though I pre-assigned N it pops up as Y..

I tested VHD creation many times today with diskpart on Windows 8.1 x64 - my first results where the same as I am reporting to you now..
I was able to over come the issue by using the layout in the codebox..  Formats without windows format popup and assigns my pre-assigned drive letter to the mounted VHD..

I did notice that the BCD "Integrity checks" where removed - But I have to keep adding in "DisplayBootMenu" the "timeout" is already there
And everytime I add a new VHD to the boot drive - I have to re-add DisplayBootMenu, it gets removed or over-written

[attach=1]
Title: Re: WinNTSetup
Post by: Lancelot on March 28, 2015, 06:11:58 PM
Hi,

I want to inform I can reproduce on fresh Win81 (emulator)  :thumbsup:
( my host do not pop up that message anymore , I don't know what changed ! , maybe "Hide empty drives" disabled ! )


@JFX,

on xp, as you know if you do not click drive letter this message do not pop up,
on w7, I don't know,
on w8, when a new vdisk attached (or when primary partition created ..) , pop up message appears (and stupid message do not disappear after format)

++
it also happened on Fakedisk -> SE http://TheOven.org/index.php?topic=1068.msg13746#msg13746 (also check reply 26)
I had used
automount disable
...
automount enable
to avoid, but this maybe not good for hostos !

 well you can easily reproduce on FakeDisk - Win81SE by disabling automount lines  :wink:



***
Overall, no big trouble, only informing  :thumbsup:

:turtle:
Title: Re: WinNTSetup
Post by: KYHI on March 28, 2015, 07:37:28 PM
automount disable
create partition
online volume
format
automount enable
assign letter

Worked on 8.1 Host..

WinNTsetup format popup with Empty drives - hidden or not..
Title: Re: WinNTSetup
Post by: JFX on March 30, 2015, 09:22:16 AM
Ok, could reproduce it  :thumbsup:

It's a win8 thing, on a quality os like Windows 7, this bug does not exist.  :wink:
Title: Re: WinNTSetup
Post by: Lancelot on March 30, 2015, 10:18:24 AM
It's a win8 thing, on a quality os like Windows 7, this bug does not exist.  :wink:

Well it also happens on quality os like Windows 7 (tested on fresh installed on emulator),
 difference is,
  Win7 pop up message asks to format G: , while WinNTSetup already format it and put to Z:  :lol:

ps: maybe me disabling all autoplay option on w8host cause not having popup message ! or maybe a windows update !

Well, not important to me, only informing  :wink:



*
Getting more important to me, since I heard there are some rare devices that needs old xp,
 Can we please have vhd support for 2k3/xp (at least on disk and I am not after "portable" ;)) highly probably by adding winvblock driver...
  hopefully it is easy for you  :cool:

It would be nice to be able to boot 2k3x86 side by side with Win7x86 when needed by a driver/application  :smile:

:turtle:
Title: Re: WinNTSetup
Post by: JFX on March 30, 2015, 10:55:10 AM
Hmm, on win8 is indeed a timing issue.

Well, for XP VHD, no I not planing on adding something like this.
However it's not so difficult to do using wimb's VHD_XP_Setup (http://reboot.pro/topic/18547-vhd-xp-setup-install-xp-in-vhd/)

Only question will be if your EFI is able to chainload Grub4DOS.
Title: Re: WinNTSetup
Post by: Lancelot on March 30, 2015, 11:33:05 AM
Only question will be if your EFI is able to chainload Grub4DOS.
no it can not,
I planned to use with ufd  :wink: and like w7x86 later move vhd to disk....


I tried to follow wimb on w7x86 vmware emulator (to avoid things), but failed with bsod7b,
As far as I can figure out, wimb boot .iso to install to empty vhd first (sysprep step) --> which here result with bsod (WinNTSetup wouldn't need this ;))
and on second boot another grub4dos menu to continue setup (which I may guess integrating winvblock to vhd first !)
and it would continue booting with main grub4dos menu, which Windows would boot fine.

Additionally wimb focus to get a portable xp, and work on things accordingly (to me not priority) ... this complicate things which I feel you avoid,

I feel WinNTSetup can do same easily (without portable, without 3 grub4dos menu ,you already did sysprep step),
 it would only "first boot" to xp, probably with nt6x bootmanager ?
  (like WindowsXPMode_en-us where there is already a vhd ;).... , well 2k3 would be better ;) )


Anyway, something to play with much later in summer with a lot of time  :smile:
Title: Re: WinNTSetup
Post by: JFX on March 31, 2015, 09:01:47 AM
Indeed it could be done without multiple grub menus, by simply injecting the driver instead of using a floppy.

But it can be much easier anyway.
Just install winvblock in virtualbox WinXP and than add the disk image to grub4dos menu.

OK, you will still need to inject sata driver with a tool like driver inject GUI.
Title: Re: WinNTSetup
Post by: Lancelot on March 31, 2015, 05:50:17 PM
Yes, I will work on this with having wide time,

Than I will still ask you add this to WiinNTSetup providing step by step info  :thumbsup:

summer  :wink:

:turtle:
Title: Re: WinNTSetup
Post by: KYHI on April 02, 2015, 11:57:09 AM
Quote
I planned to use with ufd  :wink: and like w7x86 later move vhd to disk....

After a little testing - using an x86 VHD within a Host Windows 8.1 x64 system.
With the x86 VHD residing on an internal Host GPT disk..

I set the USB as the BOOT (so only the Boot files where written to USB) and not Host

Legacy Booting to USB loads the Internal x86 VHD

bcdboot VHD:\windows /s USB: /f bios

= legacy boot files on USB and x86 VHD on internal GPT disk

Also tested EFI boot with Legacy Option for x86 VHD = Can not Boot x86 from EFI Boot Manager or EFI Boot Menu > even with bootia32.efi..
Title: Re: WinNTSetup
Post by: Lancelot on April 10, 2015, 02:10:29 PM
Hi JFX,

Still same story,
 today I tried to install w7x86 sadly professional to vhd, and could not with warning ;)
  reason behind was since univercity have license to it .... and I was introducing winntsetup to a friend, and failed  :wink:

instead preventing install to vhd, is it possible to add an option with a warning icon saying "vhd boot not naturally supported"
or a checkbox "install unsupported souce to vhd" or whatever ..... so installing to vhd is possible with unsupported sources,
so we may add winvblock with winvblock.inf and .sys with add driver option,


or much much much better add winvblock to unsupported sources (xp, w7 pro etc) automatically,
 life would be much much easier to everyone :wink:


very sorry, I have very limited time to participate with direct info (how to) around....

:turtle:
Title: Re: WinNTSetup
Post by: JFX on April 10, 2015, 02:31:47 PM
Right click on VHD button and disable all VHD checks.
I'll will not add winvblock  :tongue:

Title: Re: WinNTSetup
Post by: Lancelot on April 10, 2015, 03:01:14 PM
Right click on VHD button and disable all VHD checks.
Great I didn't know it was there  :smile: :smile: :smile:
Why didn't you write that before  :lol:

I'll will not add winvblock  :tongue:
I guess !!!! now no problem, adding WinVBlk.INF WVBlk32.sys WVBlk64.sys to add drivers
should work theorically now ?????
for Win7x86
and 2k3 ?????

:turtle:

Edit:
naaah, it seems I need to work harder, summer .... ;)
Title: Re: WinNTSetup
Post by: JFX on April 11, 2015, 03:08:07 AM
Seams dism accepts the driver an integrate it.
But for NT5 MSSTMake.exe is used and this one rejects the inf.
Title: Re: WinNTSetup
Post by: Lancelot on April 12, 2015, 10:57:31 AM
and other things
-need a fix for pro license on vhd boot warning, or trials with other bootmanagers,.....
-need to test things for 2k3
etc. etc....

life keep me very busy, summer or later :turtle:
Title: Re: WinNTSetup
Post by: JFX on April 25, 2015, 03:02:08 AM
New version out, that should fix your VHD format problem.
Title: Re: WinNTSetup
Post by: Lancelot on April 29, 2015, 03:13:57 PM
Thanks JFX,

summer  :thumbsup:
Title: Re: WinNTSetup
Post by: KYHI on July 20, 2015, 08:57:07 AM
JFX,
Noticed 3.8 states Wimgapi 3.6.9600

Have you tested the new one.. Seems to work ok for me when I embedded the new ADK files??

[attach=1]
Title: Re: WinNTSetup
Post by: JFX on July 20, 2015, 01:23:30 PM
Yes, this is a bug that only occurs on Windows 8.

Until now with the new ADK release, the OS version of wimgapi.dll was usually the most up to date one.
So WinNTSetup will always prefer the one in system32 directory.
Title: Re: WinNTSetup
Post by: Lancelot on October 18, 2015, 02:16:33 PM
Hi JFX,

Host Win8.1 En ;)
Win10 x64:
10240.16384.150709-1700.TH1_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO

Creating VHD with WinNTSetup_x64.exe v3.8.5.3 gives error:

Quote
Error creating VHD

0x80070057 - The parameter is incorrect.


I tested 2 times
Fixed size (Recommended)
Fixed size (Instant Creation)
both same error...

vhd mounted and seen on Disk Management,
 drive letter not assigned which I guess problem is ;).

well, sorry for none quality os  :smile:


+
WinNTSetup_x64.exe v3.7.7 work ok on creating VHD, no trouble  :thumbsup:


***
Anyway, I mounted VHD manually and continue WinNTSetup v3.8.5.3 , Win10x64 :)
vhd at my hard disk
D:\VHDs\Win10x64\Win10x64.vhd
using a mini ufd for this cases ;) (to me, perfect simple solution to avoid troubles ;) )
https://www.sandisk.com/home/usb-flash/cruzer-fit
(single partition formatted ntfs)

+
thing I noticed,
I feel WinNTSetup tried to add Efi to ufd,
As you mentioned earlier, since WinNTSetup do not format Efi ready,
Boot Part remained "red cross"

I don't know how , but it boots to Win10x64.vhd nicely here :)
(Asus -> Esc to get boot menu, I select ufd ;) )

Shortly I am happy with the result, thanks again for WinNTSetup,
All things on this post is to support  :thumbsup:

++
Idea:
If Win10x64 (or other WinXXx64) can be bootable on none-efi pc (I feel it should be),
 maybe you can provide option to create none-efi boot drive entries ;)
   which would be fine after setting things on efi pc  :wink:
   and would work on other none-efi pc ....

++
Having Tweak for Automatic Updates "Notify Only" would be nice,
Win10 very quickly start downloading and updating,
 I feel It downloads and updates one by one
 (different than usual download all and start updating)
   This make OS "after boot" verrrrrry slow ;)
   (downloading updating hunderds of MB, installing updates including new drivers etc...)

Besides, Since Win98 I guess, I always set "Notify Only" ;),
 Its position changed at Win10 - now under Settings  :wink:
http://www.howtogeek.com/224471/how-to-prevent-windows-10-from-automatically-downloading-updates/
here is something you may be interested
http://www.thewindowsclub.com/make-windows-10-notify-you-before-downloading-or-installing-windows-updates


+++****
And can you include Download link on current first post  :cool:

******

I hope above helps WinNTSetup development...
 :xmas-beer:
Title: Re: WinNTSetup
Post by: KYHI on October 19, 2015, 12:36:57 AM
Windows Updates are a constant complaint with Win10 - very little detail and no real control over what, when and how..
Title: Re: WinNTSetup
Post by: JFX on October 19, 2015, 11:39:46 AM
Hi Lancelot,

thanks for the report, i fixed VHD bug, at least i think.
No version change this time.

For your efi, I don't know, I only pass firmware option to bcdboot.exe.
By default it creates all boot file types.

I don't want to break languages files again, so "Notify Only" tweak will be added with next major release.
For now you can use the custom regtweaks option.
Title: Re: WinNTSetup
Post by: Atari800xl on October 19, 2015, 01:30:11 PM
Lancelot, Kyhi, others,
you might also be interested in this:
Windows Update PowerShell Module
https://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc

I now have normal update turned off in W10, and use only this powershell module (also in audit mode), it allows for selective update install.
Seems a lot of people are using it for W10 now.

On some systems I also had to turn off automatic hardware updates, for this I use WinNTSetup with the -regtweaks option, and this reg:

Code: [Select]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DriverSearching]
"SearchOrderConfig"=dword:00000000
Title: Re: WinNTSetup
Post by: Lancelot on October 20, 2015, 04:48:09 PM
thanks for the report, i fixed VHD bug, at least i think.
No version change this time.
Just tested,
works nicely now  :great:


I don't want to break languages files again, so "Notify Only" tweak will be added with next major release.
For now you can use the custom regtweaks option.
I feel to open another topic "WinNTSetup Extra Tweaks"
http://theoven.org/index.php?topic=1477.0
This would hopefully help maintaining WinNTSetup,
 with not over expanding "WinNTSetup-->Tweaks"  :smile:

:turtle:
Title: Re: WinNTSetup
Post by: freesoft00 on September 23, 2017, 01:48:57 AM
1.
Winntsetup mount Partition should have a judgment mechanism.
The current version of Winntsetup will automatically mount partitions in the BIOS environment. This is wrong.
As shown in the following figure, the BIOS environment loads a hidden partition of a USB stick

2.
The ESP partition is repeatedly loaded and the ESP partition has been loaded as a Z-disk after the WinPE boot, but after running Winntsetup the ESP partition is repeatedly loaded with a W disk.
Title: Re: WinNTSetup
Post by: freesoft00 on September 23, 2017, 01:52:33 AM
GIF image upload Forum into a static diagram.

Dynamic picture here:
http://bbs.wuyou.net/forum.php?mod=redirect&goto=findpost&ptid=397942&pid=3440328&fromuid=1345
Title: Re: WinNTSetup
Post by: freesoft00 on September 23, 2017, 01:57:22 AM
1.
Winntsetup mount Partition should have a judgment mechanism.
The current version of Winntsetup will automatically mount partitions in the BIOS environment. This is wrong.
As shown in the following figure, the BIOS environment loads a hidden partition of a USB stick

2.
The ESP partition is repeatedly loaded and the ESP partition has been loaded as a Z disk after the WinPE boot, but after running Winntsetup the ESP partition is repeatedly loaded with a W disk.
Title: Re: WinNTSetup
Post by: JFX on September 23, 2017, 06:16:30 AM
I take it that you have mounted the boot partitions previously with DG?

This a known problem DiskGenius mount the partition a bit different, so WinNTSetup does not recognize them.
Title: Re: WinNTSetup
Post by: freesoft00 on September 24, 2017, 08:12:46 AM
GPT partitions are created by Diskgenius
Partitions created by Diskgenius and DiskPart are not significantly different
The ESP partition created by Diskgenius is the FAT format, and the ESP partition created by DiskPart is FAT32 format
Also, the user simply created the FAT partition, without the ESP partition, which can start the system as normal in the UEFI environment. The user's disk partitioning situation is inherently complex.
Winntsetup should be improved in fault tolerance. Determine if the partition is loaded and not be loaded again after loading.

Add a judgment:
UEFI environment, do not load any partitions without GPT disks. There are GPT disks that are loaded by hidden partitions and do not load repeatedly.
BIOS environment, do not automatically load any partitions.

Now there is a situation. Starting from the U disk, Winntsetup will repeatedly load the visible partition of the U disk. Occurs in both the UEFI environment and the BIOS environment.
U disk Boot disk use the program here:
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=349965&extra=page%3D1
is created with a 3 partition boot disk with a hidden partition.
Feedback screenshot here:
http://bbs.wuyou.net/forum.php?mod=redirect&goto=findpost&ptid=397942&pid=3440635&fromuid=1345
Title: Re: WinNTSetup
Post by: JFX on September 27, 2017, 11:35:21 AM
You now can disable the mounting with an ini file option.

Code: [Select]
[Options]
NoBootMount=1
Title: Re: WinNTSetup
Post by: freesoft00 on September 27, 2017, 10:31:11 PM
All right. That's it.
The problem is only circumvented. Doesn't actually solve the bug that's automatically loaded.
Thank you!
Title: Re: WinNTSetup
Post by: freesoft00 on September 28, 2017, 12:38:28 AM
Tested the INI parameter.

Running Winntsetup will still automatically load the hidden letter to test the ambient BIOS. There are hidden partitions, which are 300MB boot partitions.

It is not known whether Winntsetup automatically unloads the loaded hidden partition when exiting. I use Diskgenius to find that the z disk is still there, but running the mountvol command did not find the z disk?
Title: Re: WinNTSetup
Post by: freesoft00 on September 28, 2017, 01:42:34 AM
Running the winntsetup388b3 matching INI file is no longer automatically loading hidden partitions.
But there is one problem. The boot part on the Winntsetup interface displays red. UEFI Environment, the EFI part shows red.
This does not install the system properly. Because the Winntsetup Installation Wizard must specify a boot partition. However, you cannot specify the correct boot partition without loading the hidden boot partition. This installs the error.
You can actually use DISM or ImageX to install without specifying a boot partition. For example:
imagex /apply w:\sources\install.wim 1 c:\
bcdboot c:\windows /l zh-cn
After the partition is created, the BCDboot command automatically adds the required files to the hidden boot partition.
Title: Re: WinNTSetup
Post by: freesoft00 on September 28, 2017, 01:50:46 AM
The result command of the Setup Wizard is not clear, do you know which of the following commands?
Title: Re: WinNTSetup
Post by: freesoft00 on September 28, 2017, 01:53:19 AM
The BCDboot command is identified, right?
Title: Re: WinNTSetup
Post by: freesoft00 on September 28, 2017, 03:47:48 AM
Is the final content of the help document duplicated?
In addition, help content feel a bit messy layout, not neat.
Title: Re: WinNTSetup
Post by: JFX on September 28, 2017, 11:35:32 AM
Take it as it is, I'm not going to change this.
WinNTSetup will require drive letter for both boot and install drive.
It could be done with out letter, but then you would have problems using it in batch files.
Title: Re: WinNTSetup
Post by: freesoft00 on September 29, 2017, 01:06:02 AM

Ok.
Automatic loading of hidden boot partitions is ok. However, you need to fix bugs that automatically load visible partitions of U disk
Title: Re: WinNTSetup
Post by: bob.omb on October 09, 2017, 11:55:45 PM
Is there any way to add a command line option for a basic interface?, for simple windows installs to hard drives?(mbr?)

Kind of like WinNTSetup_x64.exe /legacyinstalliso  (See below)

It is a super powerful program and I can appreciate the need for every feature, but a sleeker mode enabled from command line for quick installs to hard disks would be an awesome feature.

If you scripted in something like this:
Code: [Select]
@ECHO OFF
CLS
ECHO Prepare Hard Disk for WinNTSetup_X64.exe
ECHO ----------------------------------------
ECHO list disk > list.txt
diskpart /s list.txt
DEL list.txt>nul
ECHO.
SET /p disk="Which disk number would you like to prepare? (e.g. 0): "
ECHO.
ECHO --WARNING-- This will FORMAT the selected disk and ERASE ALL DATA
ECHO.
ECHO You selected disk ---^> %disk%
ECHO.
CHOICE /C YN /M "Is this correct "
IF %ERRORLEVEL% == 1 GOTO INIT
CLS
ECHO Preperation Aborted, No changes have been made...
ECHO.
PAUSE
EXIT
:INIT
ECHO sel dis %disk% > init.txt
ECHO clean >>init.txt
ECHO convert mbr >> init.txt
ECHO cre par pri >> init.txt
ECHO for quick fs=ntfs label="Windows" >> init.txt
ECHO assign letter C >> init.txt
ECHO active >> init.txt
ECHO exit >> init.txt
:RUN
CLS
diskpart /s init.txt
DEL init.txt >nul
ECHO.
ECHO This drive is now prepared for WinNTSetup_X64.exe
ECHO.
PAUSE
EXIT

Then after it runs that (or a simple gui version to run those diskpart commands) it would prompt user for ISO and select edition only, then gooo? because with above script install and boot are always C: 100% of the time and always works for MBR install.

Would allow for super simple legacy installs. More people would be able to use.  I can use so its not for me but it took me a while to realize what I had and I'd love to put this in peoples hand and make it easier for them to understand what it can do.
Title: Re: WinNTSetup
Post by: JFX on October 11, 2017, 03:17:03 AM
I think it's easy enough. You can of course create a wrapper and call it by commandline:

Code: [Select]
WinNTSetup_x64 NT6 -source:I:\sources\install.wim -wimindex:1 -syspart:C: -tempdrive:C: -setup
Title: Re: WinNTSetup
Post by: bob.omb on October 11, 2017, 11:32:40 PM
If I make something to do this, is "-wimindex:1" where it gets edition? index:2home, index:3pro etc?

Can command line WinNTSetup use iso or does it have to be mounted first?

I am not trying to hide WinNTSetup if possible I want people to see it.  I currently have written instructions already prepared for new people, I was trying to simplify for them. If I make wrapper I will show you and get your approval before I do anything with it..
Title: Re: WinNTSetup
Post by: Atari800xl on October 11, 2017, 11:53:39 PM
...
Title: Re: WinNTSetup
Post by: JFX on October 12, 2017, 02:06:23 AM
If I make something to do this, is "-wimindex:1" where it gets edition? index:2home, index:3pro etc?

Can command line WinNTSetup use iso or does it have to be mounted first?

Yes, can use an ISO with the command line and wimindex is usually a 1-based index.
But you can also pass it's name:

Code: [Select]
WinNTSetup_x64.exe NT6 -source:J:\16299.15.170928-1534.RS3_RELEASE_CLIENTCONSUMER_OEMRET_X64FRE_DE-DE.ISO -wimindex:"Windows 10 Pro"
Title: Re: WinNTSetup
Post by: bob.omb on October 12, 2017, 08:33:29 PM
How are you getting the available editions to populate your dropdown after selecting the ISO? I can hardcode "Windows 10 Pro" and other valid names to the wimindex drop section of the wrapper (Basic MBR Install mode) in the dropdown, but if someone downloads an ISO that doesn't have that edition it will error out I'm pretty sure, and very sure it wont work even if it doesn't produce an error.  Is it easy to explain where it can be read from?

*** EDIT

Nevermind I found it here: https://winaero.com/blog/how-to-see-which-build-and-edition-of-windows-10-the-iso-file-contains/ (https://winaero.com/blog/how-to-see-which-build-and-edition-of-windows-10-the-iso-file-contains/)

But what are you doing do mount the iso? DISM would take a long time, is there a simpler way you use? I appreciate any guidance and will try to keep the questions to a minimum and simple.
Title: Re: WinNTSetup
Post by: Atari800xl on October 12, 2017, 10:26:29 PM
...
Title: Re: WinNTSetup
Post by: bob.omb on October 13, 2017, 03:20:13 AM
I missed that! Didn't see  :grin:

Thank you! Will update soon

just wanted to show some of WinNTSetup's power!!!

I know it is pretty sweet!
Title: Re: WinNTSetup
Post by: freesoft00 on October 13, 2017, 10:18:29 AM
If I make something to do this, is "-wimindex:1" where it gets edition? index:2home, index:3pro etc?

Can command line WinNTSetup use iso or does it have to be mounted first?

Yes, can use an ISO with the command line and wimindex is usually a 1-based index.
But you can also pass it's name:

Code: [Select]
WinNTSetup_x64.exe NT6 -source:J:\16299.15.170928-1534.RS3_RELEASE_CLIENTCONSUMER_OEMRET_X64FRE_DE-DE.ISO -wimindex:"Windows 10 Pro"

WinNtsetup3.8.8
Installs the Win7 64-bit system in the WIN10 X64 PE environment. Winntsetup prompts for memory errors during installation and exits.
The win7 system ISO file is WIN10, and the system WIM file is converted to ESD format.
Same environment, same system file, WinNtsetup3.8.7 normal.

Title: Re: WinNTSetup
Post by: JFX on October 13, 2017, 10:34:38 AM
I need more information on how to reproduce this.

Does it only happens with ESD files?
Is there a difference wimgapi or wimlib?
Title: Re: WinNTSetup
Post by: freesoft00 on October 20, 2017, 08:55:09 AM
Does the Offreg.dll and WOFADK.SYS replace to the latest version to see if the winntsetup is working correctly?
Title: Re: WinNTSetup
Post by: JFX on October 20, 2017, 09:10:20 AM
No, you should not update these files. :ph34r:

The offreg.dll v.6.3,9600,17029 is the last one working under WinXP.
Wofadk.sys v.10.0,14393,0 is the last working one that exists currently. Newer ones causes BSoD.
Title: Re: WinNTSetup
Post by: freesoft00 on October 23, 2017, 07:19:27 AM
Wimgapi V6.2.9200.16384
Winntsetup 3.8.8 in winpe2003 Environment, install WIM and ESD error.
Winntsetup 3.8.7 in winpe2003 Environment, install WIM and ESD normal.
In Win8pe, Win10pe Winntsetup 3.8.8 is normal.

Winntsetup 3.8.8 in winpe2003 Environment, change to use wimlib also normal.
But sometimes there are mistakes:
wimlib_extract_image 0x2: the WIM contains invalid compressed data.
Title: Re: WinNTSetup
Post by: JFX on October 23, 2017, 12:50:55 PM
Seems the old wimgapi.dll doesn't ignore the new flag. Will be fixed in next version.

For wimlib error, I don't think it's a WinNTSetup problem. The API is very simple and good documented.
Title: Re: WinNTSetup
Post by: freesoft00 on October 23, 2017, 09:08:48 PM
Fixed version what can be published?
Network access OneDrive in China is difficult
Title: Re: WinNTSetup
Post by: JFX on October 26, 2017, 08:26:29 AM
Don't have much time, so here you have an unofficial build.

Title: Re: WinNTSetup
Post by: freesoft00 on October 27, 2017, 01:12:16 AM
Thanks a lot!
Excuse me, is this a formal version or a beta version?
I have forwarded. If there is any problem feedback.
Title: Re: WinNTSetup
Post by: JFX on October 27, 2017, 07:46:05 AM
Excuse me, is this a formal version or a beta version?
Neither, it's just not tested on all systems.
I don't have any XP/2003 or Vista VM anymore, so can makes sure everything is fine under these systems.
Title: Re: WinNTSetup
Post by: freesoft00 on October 28, 2017, 07:10:34 AM
Preliminary test. There is no problem in the 2003 environment.
Title: Re: WinNTSetup
Post by: bob.omb on November 18, 2017, 11:07:30 PM
So now that awareness for MBR2GPT has been raised.... Will WinNTSetup now add this functionality post setup to support GPT?

http://theoven.org/index.php?topic=2288.0 (http://theoven.org/index.php?topic=2288.0)
Title: Re: WinNTSetup
Post by: freesoft00 on November 19, 2017, 12:53:30 AM
In WIM format XP Click to start installation will prompt error, Windows source is invalid, need to close prompt, click to start install again to install, and after the desktop will automatically add Microsoft Pinyin, Zheng Code, full spell, intelligent ABC Four Input method

Title: Re: WinNTSetup
Post by: JFX on November 19, 2017, 02:37:42 AM
Found the bug for the error prompt on first click.
But I have no idea about the IME menu.
Title: Re: WinNTSetup
Post by: freesoft00 on November 22, 2017, 02:55:57 AM
Feedback:

3.8.7 installing ISO is not a problem.

3.8.8 start, select ISO, match WIM file, install will report error prompt.
Title: Re: WinNTSetup
Post by: JFX on November 22, 2017, 07:48:42 AM
No problem here with iso.
Title: Re: WinNTSetup
Post by: nttwqz on November 22, 2017, 08:20:23 AM
This is the new Chinese language file.
Title: Re: WinNTSetup
Post by: nttwqz on November 22, 2017, 08:29:56 AM
- /forceunsigned       - (only for installing Windows 7) will let the driver integration accept unsigned drives

Is this correct? I think the following is right?

- /forceunsigned       - (only for installing Windows 7) will let the driver integration accept unsigned drivers
Title: Re: WinNTSetup
Post by: JFX on November 22, 2017, 09:25:48 AM
Hi nttwqz,

thanks for the updated language file  :thumbsup:

You are right the is a missing 'r'.
Title: Re: WinNTSetup
Post by: freesoft00 on November 22, 2017, 10:41:17 AM
thank you
Title: Re: WinNTSetup
Post by: nttwqz on December 08, 2017, 07:46:00 AM
This is the new Chinese language file.

Add the following line
- /noapply         - does not apply the Wim image.

Title: Re: WinNTSetup
Post by: JFX on December 11, 2017, 08:54:52 AM
Thanks,

I'm having much less time currently than I hoped I would.
But please continue posting bug reports and translation updates.