Jump to content

devdevadev

Member
  • Posts

    48
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

Everything posted by devdevadev

  1. Hi JFX... How we can detect if Disk n is a bootable Disk using command prompt in boot.wim WinPE environment . I have seen that WinNTSetup have following indicators in the UI. GPT / MBR BOOTMGR PBR EFI PART / BOOT PART How exactly WinNTSetup get above three parameters. How we can do the same using .cmd batch for detecting if Disk 1 is bootable or not ? Please help...
  2. WinNTSetup_x64.exe CAPTURE-CLI J:\ "D:\Wimboot\" "MinWin-10x64-LZX.wim" "MinWin-10x64-LZX_220803_044206" "MinWin LZX WIMBOOT IMAGE" -compress lzx -config WimScript.ini Is above WinNTSetup_x64.exe CAPTURE-CLI command is equivalent to following 'wimlib capture in wimboot mode' command ? " Path to wimlib_x64 folder\wimlib-imagex.exe" capture J:\ "D:\Wimboot\MinWin-10x64-LZX.wim" "MinWin-10x64-LZX_220803_044206" "J:/ ==wimboot" --include-integrity --wimboot --compress=LZX ~~~ Commandline Switches for CAPTURE and CAPTURE-CLI : image_path image_file "image_name" ["description"] - /compress [xpress|lzx|lzms] - set the compress type - /config WimScript.ini - Enables use of a configuration file for exclusion and compression options. There is no switch for wimboot capture in CAPTURE-CLI ? There is a confusion between image path and image file . Can you please a bit describe what to use here ? Where I should use Volume Drive Letter in CAPTURE-CLI command ? Thanks & Regards...
  3. Hi....JFX MBR-BIOS >> - /mbr - Creates 1 active primary NTFS partition in MBR drive layout GPT-UEFI >> - /gpt - Creates 1 NTFS and 1 hidden ESP partition in GPT drive layout MBR-BIOS/UEFI >> - /mbresp - Creates 1 NTFS and 1 hidden ESP partition in MBR drive layout WinNTSetup_x64.exe VHD-CREATE -file:C:\WIMBOOT.vhd -size:2GB -type:fixedfast -label:VHD_WIMBOOT -mbresp -fat32:100 What switch I should use for MBR -BIOS/UEFI option so it will Creates 1 NTFS and 1 hidden ESP partition in MBR drive layout ? [vhd] # set the size of the hidden boot partition in MB # size limit is 50 MB minimum, 1000 maximum bootpartsize=320 - /fat32:{size} - sepcify the FAT32 boot partition size (50 - 1000 MB) Create boot files Select as boot Drive Assign drive letter Currently only FAT32 Part size setting/switch is available. How I can define remaining three settings using command prompt / .ini settings ? WinNTSetup_x64.exe NT6 -source:%source% -tempDrive:Z: -sysPart: HDD-1:2 - ESP (FAT32, 94.0 MB) This command does not work. What switch I should use to select ESP FAT32 Part of VHD as boot drive ? If VHD Drive Z: is Installation drive, then why not it auto select ESP FAT32 Part as boot drive ? Will WinNTSetup create boot files within ESP FAT32 Part if installing Windows into VHD using command promt ? Do you use any variables for ESP Partitions ? Please help... Thanks & Regards....
  4. Hi JFX, Thanks for the new MinWin feature. Please also provide command line support for 'MinWin' and 'WimBoot' Windows Installation using WinNTSetup Command Line so we can perform fully unattended 'MinWin' and 'WimBoot' Installation. Thanks & Regards...
  5. 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....
  6. Thanks a lots for this very useful feature....AFAIU we will use this feature in command line as follows - "%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 Is this correct use of this feature ? Any better IDEA please ? When we use WinNTSetup tool then- syspart: is automatically detected and assigned. Is there any way in WinNTSetup command line so that we can also get -syspart: as any variable/errorlevel ? @JFX @jaclaz Can anybody please help regarding this issue ?
  7. 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 What exactly WinNTSetup command I should use that will be equivalent to following wimlib-images apply command in WIMBOOT mode ? wimlib-imagex.exe apply C:\WIMBOOT\W10x64-WB.wim %VHD_DRIVE% --wimboot
  8. You are right Sir...I am running command within from a batch in 'boot.wim' environment but I want to inject VHD_WIMBOOT.cmd file within "%VHD_DRIVE%\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp" folder which will be created after the Copying Phase of WinNTSetup Installation. It's why I need to use /Runafter so that I can inject .cmd files within VHD just before reboot ? Is there any better way which I should use here ? Are you talking about using following approach ? -RunAfter:"COPY_VHD_WIMBOOT_FILES.cmd %E2BDRIVE% %VHD_DRIVE% %OSPART%" COPY_VHD_WIMBOOT_FILES.cmd - ========================== @echo off copy "%1\VHD_WIMBOOT\SWITCH_DEFAULT_OS.cmd" "%2\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp" copy "%1\VHD_WIMBOOT\VHD_WIMBOOT.cmd" "%3\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp"
  9. -RunAfter:"copy "%E2BDRIVE%\VHD_WIMBOOT\SWITCH_DEFAULT_OS.cmd" "%VHD_DRIVE%\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp" & copy "%E2BDRIVE%\VHD_WIMBOOT\VHD_WIMBOOT.cmd" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp" " Can I use two commands within -RunAfter switch as above ? Is it valid ?
  10. Sorry to disturb you Sir...I could not understood the meaning of exitcode actually...Thanks for your kind help and support....BTW, I just loved the new Dark Theme mode in WinNTSetup.
  11. When we create VHD using WinNTSetup Tool then it automatically attach VHD and use a random free Drive Letter to mount VHD and automatically set that drive letter of VHD as installation drive. Is there any specific protocol that decide what Drive Letter will be used for mounting VHD ? "%path%\WinNTSetup%pp%.exe" VHD-CREATE -file:"%FREEDRIVE%\WIMBOOT\Win10x64-WB.vhd" -size:1536MB -type:expandable -label:"Win10x64-WB" It will be nice if VHD-CREATE provide an option to use desired Drive Letter for attaching created VHD. OR you can set a variable VHD_,DRIVE containing the drive letter of attached VHD. So that we can use %VHD_DRIVE% as Installation drive.
  12. Hi JFX.... "%path%\WinNTSetup%pp%.exe" VHD-CREATE -file:"%FREEDRIVE%\WIMBOOT\Win10x64-WB.vhd" -size:1536MB -type:expandable -label:"Win10x64-WB" "%path%\WinNTSetup%pp%.exe" VHD-ATTACH -file:"%FREEDRIVE%\WIMBOOT\Win10x64-WB.vhd" How I can get Drive Letter of just mounted VHD so that use as %VHD_DRIVE% in following command to install Windows in VHD using WinNTSetup command line. "%path%\WinNTSetup%pp%.exe" NT6 -source:"%FREEDRIVE%\WIMBOOT\Win10x64-WB.wim" -wimindex:"1" -syspart:%SYSPART% -tempdrive:%VHD_DRIVE% -Sysletter:C -WIMBoot -compact:lzx -wimlib -wbc:wimbootcompressed.ini -setup -reboot -testSigning Regards
  13. Thanks JFX for providing your precious time... t's looking WinPE already assign drive letter to Boot Partition (System Reserved). So how I can automatically detect and get Drive Letter of 'Boot Partition' (System Reserved) using cmd in exactly the same way WinNTSetup do ? Please help me to automatically get Drive Letter of 'Boot Partition' (System Reserved) using cmd with WinNTSetup approach if possible... Thanks & Regards...
  14. Should I use following code in order to make automatic Dual boot of Win 7 and Win 10 ? :DualBoot_Win_7_10 set XML=%PTN2%\_ISO\WINDOWS\INSTALLS\CONFIGS\SMART_CHOCO.xml if exist %SYSPART% format %SYSPART% /Q /Y /V:"Windows 7" %WinNTSetup% NT6 -source:%PTN2%\sources\install.esd -WimIndex:2 -syspart:%SYSPART% -tempdrive:%SYSPART% -unattend:"%XML%"-ForceUnsigned -drivers:"%PTN2%\driver_Win7x86" -Sysletter:C -RunAfter:"set_7_usb_boot.cmd C:\windows" -OEM:%PTN2%\sources -setup -reboot if exist %SYSPART1% format %SYSPART1% /Q /Y /V:"Windows 10" %WinNTSetup% NT6 -source:%PTN2%\sources\install.esd -WimIndex:6 -syspart:%SYSPART% -tempdrive:%SYSPART1% -unattend:"%XML%"-Sysletter:C -OEM:%PTN2%\sources -setup -reboot goto :EOF I think after restart 'Win 10' will continue remaining installation phases till preparing the desktop. After reaching at the desktop of 'Win 10', I will have to auto boot to 'Win 7' entry in order to complete remaining installation phases of 'Win 7'. So how I can set to auto boot to a particular BCD *(Win 7) entry after auto-restart of 'Win 10' ? Is there any command line way to auto boot to a BCD entry after restart ? bcdedit /default {Windows 7 identifier} OR May be after reaching at the desktop of 'Win 10', I should set 'Win 7' boot entry as default OS using command line and then just restart to auto continue remaining installation phases of 'Win 7' ?Suppose I have Dual boot of 'Win 7' and 'Win 10'. And I am booted to 'Win 10' desktop. So how can I automatically get 'Windows 7 identifier' using command line ? So that I can make 'Windows 7' as default OS. And then just restart to continue remaining installation phases of 'Win 7'...?? How 'WinNTSetup' automatically detect 'syspart' drive if exist and assign BootDest=Z: (while in Disk Mgmt there is no drive letter set for 'System Reserved'partition ?). I also want to set BootDest=Z: if 'System Reserved' partition exist otherwise I will use BootDest=%OSPart1% How 'Search...' button dialog box is different from normal File Explorer ? How WinNTSetup can see 'System Reserved' partition as Z: while normal File Explorer and Disk Mgmt have not assigned any drive letter to 'System Reserved' partition ? What is secret trick you have used here ? Please help me to understood this concept ...
  15. Hi...JFX I want to run a 'WinNTSetup' script within from WinPE10 which will install 'Win 7' to %SYSPART% partition and 'Win 10' to %SYSPART1% one after another without booting to WinPE again. I mean I want to autorun 'AutoDualBoot.cmd' so that it will make complete Dual Boot of 'Windows 7' and 'Windows 10' without any furthe user action !!! Is it possible using WinNTSetup command line ? Does 'WinNTSetup' support installing two OSes in two different partitions of a Disk one after another without booting to WinPE again ? Can I make automatic Dual Boot of 'Win 7' and 'Win 10' using 'WinNTSetup' based batch file ? Regards..
  16. Hi JFX.. Out of five compression modes which one is best in term of Space Saving and Performance ? Can anybody please differentiate among all five modes ? Thanks & Regards...
  17. I will prefer 29 to have giveaway of rocking SIB++..............:lol Can I expect.........Plz Thanks in Advance
  18. OMG, It was Univeral Watermark Disabler which causes crashing.........Thanks for Tip...Now It's works perfectly.... Can you please allow us to enable Bottom Left Corner to open 'Start Screen'. I think there should be an alternatively of 'Ctrl+Win Key' for Mouse/TouchPad users similar to SIB+. Thanks & Regards...
  19. I am using Win 10 Build 10162. I tried both Beta 2 and Beta 3 but both crash the Desktop and Taskbar badly.........Is there any issue ?
  20. First Million of Thanks and Regards for 'StartIsBack++' and your Hard Work..... It will be better if you also allow us to choose between 'StartScreenIsBack' and 'Win 10 Start Menu' along side your 'StartIsBack++'. By this way we can enjoy best of all Start Menus with the help of your awesome tool. And we can use either of following combination according to our mood. 1- 'StartIsBack++' and 'StartScreenIsBack' 2- 'StartIsBack++' and 'Win 10 Start Menu' Thanks in Advance
  21. Hi.. I had successfully tested both 'WTG + VHDX' and 'WTG + WIMBoot + VHDX' configuration of 'Win 8.1 U1' by using 'WinNTSetup'. It works perfectly. But I could not test it for 'Win 8.1 U3' till now. Can anybody plz also confirm both 'WTG + VHDX' and 'WTG + WIMBoot + VHDX' configuration for 'Win 8.1 U3' ? But It's looking that either of the above configuration is not working for 'Windows 10' till now........? Regards....
  22. Hi 'JFX' I have downloaded '9860.0.141008-2044.fbl_release_clientpro_ret_x86fre_en-us_4268ed97873110ab801beb19b3f5016090623c7c.esd' from MS Server and then Decrypted with esd-decrypter-v4c. After that create Complete ISO with boot.wim and complete 2,5gb install.wim file. It's looking that something is wrong with 'WinNTSetup v.3.7.2' because it does not allow me to create 'WIMBoot' of 'Windows 10 Build 9860' while It successfully work if I install 'Windows 10 Build 9860' to either Hard Disk or Virtual Hard Disk (VHD). But when I choose 'WIMBoot' option then every time It give following error while 'WIMBoot' was working perfect in 'Windows 10 Build 9841' . Error Code: 0xc0000001 Please help me....Why I got above error whenever I choose 'WIMBoot' ? Regards....
  23. OK...'JFX' Sorry for disturbing you too much.......... As you said earlier that 'Hibernate' does not work if booting from 'Microsoft Native VHD'. But what if we boot Windows within from 'Raw Hard Disk Image' or 'Raw Partition Image' either via 'EasyBCD NeoSmart Bootloader' or 'Grub4dos' ? Can you please tell me how to create 'Raw Hard Disk Image' and 'Raw Partition Image'. I don't know about how to create these Raw Images. Actually till now I was using either your 'WinNTSetup v3.7' or 'Bootice v1.33' in order to create VHD Images but none of them allow to create Raw Images........ So please suggest me a good tool/method in order to create 'Raw Hard Disk Image' and 'Raw Partition Image'. Sorry once again for my stupid questions...... Thanks in Advance....
  24. http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_7/A_8951-Boot-from-VHD.html Following Point is described in above Site under Tips, Gotchas, and FYIs- ------------------------------------------------------------------------------------------------------------------------------------------------------ In case of VHD booting Hibernation is disabled, so you cannot hibernate your laptop. However, if you expect to be in one given install regularly, you may be able to hibernate by placing that installation directly on the hard drive and putting subsequent alternate installations in VHDs. ------------------------------------------------------------------------------------------------------------------------------------------------------ I could not properly understand exact meaning of above para. Can you please explain above para in more simple way.... Could above point may be useful in my case ? Regards..
×
×
  • Create New...