Jump to content











Photo
* * * * * 1 votes

Install Windows 10 from USB after booting with WIM or VHD

usb ssd windows 10 wim vhdx win10pe winntsetup bootice portable

Best Answer wimb , 06 January 2020 - 11:04 AM

How to Boot from USB with WIM or VHD file located on Portable SSD
 
Make USB - Partition Portable SSD 500 GB
- 1st partition 20 GB FAT32 Set Active used for Boot Manager and Grub4dos Boot files
- 2nd partition NTFS used for VHD + WIM System files
1. In Disk Management remove existing exFat Volume and Create new  partitions
2. MBR partitioning with 1st partition 20 GB FAT32 Set Active used as Boot Drive and 2nd partition NTFS System Drive
- Instead of step 3 and 4 using UEFI_MULTI will Set Active the USB FAT32 Boot Drive
3. In admin command window run DiskPart
4. In DiskPart type list volume and select volume <FAT32 volume nr> and active and exit
BIOS mode booting requires Active partition with BOOTMGR bootsector
UEFI mode booting requires FAT32 partition with x64 file efi\boot\bootx64.efi Or x86 file efi\boot\bootia32.efi
 
Downloads: UEFI_MULTI and WinNTSetup and Windows 10 x64 ISO from TechBench Or using Windows-ISO-Downloader Tool
More Info: UEFI_MULTI topic and Forums MSFN and Reboot.pro and VHD_WIMBOOT and BOOTICE 1.3.3.2 and System_Info
 
At MSFN there is topic USB Format Tool and UEFI_MULTI
All my projects are now available for Download as Releases at wimb GitHub

Download: USB_FORMAT and UEFI_MULTI and VHD_WIMBOOT and System_Info and MBR_Backup
 
Manual:

 

- Use UEFI_MULTI to Add WIM file to make Portable SSD booting from RAMDISK - filename = Win10XPE.wim
- Use UEFI_MULTI to Add VHD file to make Portable SSD booting with FILEDISK - filename = W10x64_1909_F.vhd
- Add ISO x64 file to NTFS System Drive used by WinNTSetup for Installing Win10x64 in VHD or partition of SSD harddisk
- Boot from USB - After beep use F8 menu - Select Win10XPE-WIM or W10x64_1909_F.vhd in Boot Manager Menu
- Use WinNTSetup x64 and ISO file for Installation of Windows 10 x64 in VHD or partition located on internal SSD harddisk
- Swith off Defender - In WinNTSetup use R-mouse menu - Local Windows Installations and Capture Wim to make Backup WIM file
 
== 
 
==  == == 
 
How to make Win10XPE WIM file for booting from RAMDISK
 
Download: Win10XPE Builder - More Info: see Manual 
Download Win10_1909_English_x64.iso from TechBench Or using Windows-ISO-Downloader Tool
Mount ISO with double-click and Copy the Content of the ISO to Folder Win10_1909_English_x64 on your Harddisk
 
In WinBuilder > Build Core > Select Run ALL Programs From RAM to get WIM file with all Programs integrated 
In WinBuilder > Apps > System Tools DeSelect XPE Startup (when Selected build fails) 
In WinBuilder Select the Folder Win10_1909_English_x64 on your Harddisk and Start building with Play button 
 
Use Win10XPE\ISO\sources\boot.wim and Win10XPE\ISO\Boot\boot.sdi for booting WIM file from RAMDISK
First copy both files to folder Win10XPE located on NTFS System Drive of Portable SSD
Then use UEFI_MULTI to make Boot Manager entry for WIM Boot Image file

 

Go to the full post


  • Please log in to reply
17 replies to this topic

#1 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 08 November 2018 - 04:33 PM

Install Windows 10 from USB after booting with WIM or VHD
 
MediaCreationTool makes USB stick 32 GB for Installing Win10x64 and Win10x86
- Add WIM file for USB boot from RAMDISK - filename = w10x64A.wim
- Add VHD file to Portable SSD 250 GB for booting with FILEDISK filename = W10x64.vhd
- Add ISO file used by WinNTSetup for Installing Win10x64 in VHDX or hard disk
Update BCD files in folders boot and efi using reserved BCD copies to add WIM and VHD to USB Boot Menu
- Or BOOTICE 1.3.3.2 x64 is used to add New WIM or VHD entry to BCD files in boot and efi folders on USB
- Keep BCD files in boot and efi folders as copy for future USB Boot Repair
 
Download  and Add Explorer++ and WinNTSetup and BOOTICE 1.3.3.2
 
DownloadsUEFI_MULTI and WinNTSetup and Windows 10 x64 ISO from TechBench Or using Windows-ISO-Downloader Tool
More InfoUEFI_MULTI topic and Win10_Inst in Forums MSFN and Reboot.pro and VHD_WIMBOOT
 
At MSFN there is topic USB Format Tool and UEFI_MULTI
All my projects are now available for Download as Releases at wimb GitHub

Download: USB_FORMAT and UEFI_MULTI and VHD_WIMBOOT and System_Info and MBR_Backup
 

Manual:

 

  PE  RAMDISK   ==   FILEDISK 50 GB VHD Win10 x64

Win10XPE-2019-11-25_102142.png == WinToGo-2019-12-11_141811.png

 

===============================================================================
 
A. Microsoft Method - also needed for New hard disk - via option New the EFI Partition is created
 
1. Download MediaCreationTool
2. Make USB-stick 32 GB for Installing Win10x64 and Win10x86 (choose option both)
3. Boot from USB after beep via F8 menu and choose from menu: Windows 10 Setup (64 bits) to Install
 
Shift F10 gives Command Window for Repair with  bcdedit and bcdboot
Cmd Window run notepad - File Open - All files - R-mouse Run as admin on file WinNTSetup x64 - allows method B.
In WinNTSetup select in USB folder x64\sources file install.wim or install.esd or install.swm and use Setup
 
Update of Windows 10 with preservation of Programs and User Data
- After starting up Windows 10 then setup.exe from USB will allow Update
 

===============================================================================

 
B. WinNTSetup Method - Boot from USB with WIM or VHDX file and use WinNTSetup and ISO file
 
This method gives more control to existing hard disk and you can simply install Windows 10 in VHDX
 
1. Download MediaCreationTool and Create Win10x64.iso for Installing Win10x64
    First create the ISO file on an internal hard disk and then copy the ISO file to USB
2. Boot from USB after beep via F8 menu and with WIM from RAMDISK or with VHDX as FILEDISK
3. Use WinNTSetup x64 and ISO file for Install of Windows 10 x64 in VHDX or hard disk
 
More Info : Forum and WinNTSetup and Boot from USB and VHDX and Native Boot
 

More Info: DiskPart and UEFI/GPT-based hard drive partitions and BIOS/MBR-based hard drive partitions

 

More Info: WinCmd and bcdedit and bcdboot

More Info: bootsect and DiskPart and DISM

 
===============================================================================
 
 
 

How to use WinNTSetup with Microsoft USB Boot Media when Win10PE file w10x64A.wim is not available ....

 

Attached File  Media2_VHDX.png   295.6KB   2 downloads == Attached File  Media3_VHDX.png   378.9KB   0 downloads == Attached File  Media4_ShowHidden.png   365.73KB   1 downloads

 

ShowHidden.reg can be used with double click in Explorer++ after booting with Microsoft USB Media

Windows Registry Editor Version 5.00

; Show all hidden files
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"SuperHidden"=dword:00000001
"WebViewBarricade"=dword:00000001
"Hidden"=dword:00000001
"ShowSuperHidden"=dword:00000001

; Show all file extentions
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"HideFileExt"=dword:00000000

Attached File  ShowHidden_reg.txt   824bytes   13 downloads

 

:cheers:


  • devdevadev likes this

#2 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 16 November 2018 - 11:11 AM

DiskPart script to make UEFI/GPT-based hard drive partitions for Install of Windows 10
rem ==
rem == CreaPartGPT-SSD-Disk0.txt ==
rem ==
rem == These commands are used in Win10PE with DiskPart to create 3 GPT partitions
rem == for Install of Win10 on a UEFI/GPT-based computer SSD harddisk
rem == In DiskPart use list disk to find disk number and adjust partition sizes and label as necessary.
rem ==
list disk
select disk 0
clean
convert gpt
rem == 1. EFI Boot partition FAT32 300 MB ==========================
create partition efi size=300
format quick fs=fat32 label="0_EFI"
assign
rem == 2. Microsoft Reserved (MSR) partition =======
create partition msr size=16
rem == 3. Windows 10 partition NTFS ========================
create partition primary
format quick fs=ntfs label="0_W10"
assign
list volume
exit
rem ==
rem == Info https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions
rem == Info https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-biosmbr-based-hard-drive-partitions
rem ==
rem == In admin command window use: DiskPart /s G:\DiskPart\CreaPartGPT-SSD-Disk0.txt
rem ==
 
DiskPart script to make UEFI/MBR-based portable SSD or USB-harddisk for UEFI / BIOS booting with WIM or VHDX
rem ==
rem == CreaPartMBR-USB-Disk5.txt ==
rem ==
rem == These commands are used with DiskPart to create two partitions
rem == for a UEFI/MBR-based portable SSD or USB-harddisk
rem == In DiskPart use list disk to find disk number and adjust partition sizes and label as necessary
rem ==
list disk
select disk 5
clean
rem == 1. Boot partition FAT32 20 GB - WinPE 8/10 x64 WIM files UEFI /BIOS booting ===========
create partition primary size=20480
format quick fs=fat32 label="U-BOOT"
assign
active
rem == 2. Data partition NTFS - UEFI 8/10 x64 VHD files - BIOS XP/7/8/10 VHD ==================
rem == partition contains also  7/8/10 ISO files for Install with WinNTSetup ==================
create partition primary
format quick fs=ntfs label="U-DATA"
assign
list volume
exit
rem ==
rem == Info https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions
rem == Info https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/configure-biosmbr-based-hard-drive-partitions
rem ==
rem == In admin command window use: DiskPart /s G:\DiskPart\CreaPartMBR-USB-Disk5.txt
rem ==

More Info: WinCmd and DiskPart and UEFI/GPT-based hard drive partitions and BIOS/MBR-based hard drive partitions

 

Attached File  CreaPartGPT-SSD-Disk0.txt   1.09KB   13 downloads and Attached File  CreaPartMBR-USB-Disk5.txt   1.14KB   14 downloads

 

:cheers:



#3 Rootman

Rootman

    Frequent Member

  • Advanced user
  • 365 posts
  • Location:USA

Posted 18 November 2018 - 01:19 AM

I use Easy2Boot on various USB drives, thumb and HDDs.  I created a .imgPTN from it using MPI Toolpack.  I use the same drives to install Windows 7 and WIndows 10, as well as boot to a variety of live ISO files, from Linux distros to Macrium Rescue media to several different Win PE ISO files.  

 

I boot to it in legacy mode, select the Windows install .imgPTN file I want, reboot to EFI and then install Windows.  It works great with no editing or changing of any files or boot menu files. 


  • devdevadev likes this

#4 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 18 November 2018 - 08:04 AM

VHDX booting from portable SSD has the full power of Windows 10 x64.

That means it has the drivers for all hardware and it allows to use all Windows programs.

 

The Boot Menu for the VHDX is made only once with BOOTICE and reserved copies of BCD files can be used on other devices.

Updating the portable SSD for Install of new versions of Windows requires only to add new Windows setup ISO file.

There is no 4GB size limit for the ISO and you don't need to Integrate the ISO with any Toolpack and there is no need to Switch partitions.

 

The present approach is an easy to make all in one transparent solution for booting fast on any hardware in BIOS or UEFI secure mode

and allows then to Install any version of Windows by using WinNTSetup and any Windows setup ISO file.

 

There is no need to boot first in Legacy mode. With VHDX you can boot straight into UEFI Secure Boot mode.



#5 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 03 December 2018 - 09:31 AM

Make Portable SSD booting from USB with AIO Boot Linux
 
Booting with Windows BootManager Menu in BIOS mode and in UEFI Secure mode
 
Description is given in

 

The content of AIOBoot-v0.9.8.17.7z is copied to USB FAT32 Boot drive.

Do not auto install new Bootloader, but keep Windows BootManager as Bootloader.

 

Linux Mint files bootx64.efi and grubx64.efi are used in EFI\BOOT folder for support of UEFI Secure booting.


grubx64.efi expects for UEFI booting grub.cfg in folder boot\grub

The grub folder of AIO is copied  to boot folder made by Microsoft MediaCreationTool.
 

In file Main.cfg of folder boot\grub make new boot entry for UEFI booting of Windows BootManager

menuentry "[b] Windows 10 x64 EFI USB BootManager" --hotkey=b {
  chainloader /efi/microsoft/boot/bootmgfw.efi
} 

BOOTICE is used to add Grub2 entry to boot\bcd Windows BootManager

for BIOS booting support with Boot file \AIO\grub\grub2win

 

AIOCreator.exe is used to Integrate Linux ISO files.

 

In case UEFI Grub2 is not available as Boot option in your F8 Boot Menu for your Portable SSD 
then you need to use BOOTICE to Add UEFI entry.
Unneeded for USB-Stick, but UEFI Grub2 boot entry is easily lost in case of Portable SSD.
Select as UEFI Boot entry on USB the Linux Mint Grub2 file \EFI\Boot\BOOTx64.EFI
 
Linux Mint - Knoppix Live - Ubuntu - Porteus - All booting in UEFI Secure mode using Grub2 EFI Manager of Linux Mint.

 

YouTube Video: USB AIO Linux

 

W10_AIO-7.png == W10_AIO-8.png == W10_AIO-9.png == W10_AIO-5.png == W10_AIO-6.png

 

:cheers:



#6 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 14 December 2018 - 08:15 AM

How to make USB Drive booting with various Linux versions in BIOS and in UEFI Secure mode
 
1. Make FAT32 USB Drive (Max = 32 GB) booting with Microsoft Boot Manager Menu
    Microsoft Media Creation Tool (Architecture both 32 and 64 bits) Or Other Format Tool can be used
2. Download and Unpack AIOBoot-v0.9.8.17.7z - Don't use Extractor and Don't Overwrite existing Microsoft files
    Unpack and Copy content of folder AIOBoot-v0.9.8.17 to FAT32 USB Drive, but keep existing Microsoft Boot files
3. Use UEFI_MULTI to Add Grub2 EFI Manager of Linux Mint, which fixes AIO Boot for booting in BIOS and UEFI Secure mode
4. On USB run  AIOCreator.exe - Select Integration Linux OS and your Linux ISO linuxmint-19-cinnamon-64bit-v2.iso - preferred
5. Boot from USB after beep via F8 menu in UEFI or in BIOS mode with Grub2 menu and Select your Linux OS
 
- AIO Boot is supported in BIOS mode by adding Grub4dos and Grub2 entry to Boot Manager Menu
- AIO Boot is supported in UEFI Secure mode by booting with Grub2 EFI Manager of Linux Mint
- Update Grub4dos to version grub4dos-0.4.6a-2018-09-19 for booting in BIOS mode
 
:cheers:
 
UEFI_MULTI-86 has been improved so that the extraction of Linux ISO by AIO Boot is not needed anymore.
We can simply add various Linux ISO files to folder images on USB.
 
- Add VHDX to Boot Manager Menu for BIOS and UEFI Secure booting with Windows 10 x64 VHDX as FILEDISK
- Add WIM to Boot Manager Menu for BIOS and UEFI Secure booting with Windows 10 x64 WIM from RAMDISK
- Add Grub2 of Linux Mint to boot various Linux ISO files in BIOS and UEFI Secure mode
- Linux ISO files are supported when copied to folder images on USB
- Grub4dos entries are present in menu.lst for booting in BIOS mode various Linux ISO files
- Grub2 entries are present in grub.cfg for booting in UEFI Secure mode various Linux ISO files
=
Download : UEFI_MULTI  -  password for UEFI_MULTI is bootwimb88
 
How to make USB Drive booting with various Linux ISO versions in BIOS and in UEFI Secure mode
 
1. Make FAT32 USB Drive (Max = 32 GB) booting with Microsoft Boot Manager Menu
    Microsoft Media Creation Tool (Architecture both 32 and 64 bits) Or Other Format Tool can be used
2. Use UEFI_MULTI to Add Grub4dos for booting in BIOS mode and Grub2 EFI Manager of Linux Mint for booting in UEFI Secure mode
3. In USB folder images Add your Linux ISO file - preferred is linuxmint-19-cinnamon-64bit-v2.iso
4. Boot from USB after beep via F8 menu in BIOS mode with  Grub4dos menu Or in UEFI Secure mode with Grub2 menu and Select your Linux OS
 
In case UEFI Grub2 is not available as Boot option in your F8 Boot Menu for your Portable SSD 
then you need to use BOOTICE to Add UEFI entry.
Unneeded for USB-Stick, but UEFI Grub2 boot entry is easily lost in case of Portable SSD.
Select as UEFI Boot entry on USB the Linux Mint Grub2 file \EFI\Boot\BOOTx64.EFI
 
 
More Info - Linux Mint - Knoppix Live - Ubuntu - Porteus - All booting in UEFI Secure mode using Grub2 EFI Manager of Linux Mint
 
More Info :   - UEFI_MULTI
 
 
:cheers:


#7 Camiel

Camiel

    Member

  • Members
  • 41 posts

Posted 31 July 2019 - 07:00 AM

Any chance this working with win7 ?



#8 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 31 July 2019 - 10:21 AM

Any chance this working with win7 ?

 

Yes, everything is about the same but use VHD instead of VHDX

 

For Install of Windows 7 use WinNTSetup to Create Fixed VHD 25GB and use ISO downloaded from TechBench



#9 Camiel

Camiel

    Member

  • Members
  • 41 posts

Posted 31 July 2019 - 11:08 AM

I am very sorry. Wrong thread.

I meant to ask for this http://reboot.pro/to...-for-os-in-vhd/

Is this working for win7 ?



#10 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 31 July 2019 - 12:20 PM

I am very sorry. Wrong thread.

I meant to ask for this http://reboot.pro/to...-for-os-in-vhd/

Is this working for win7 ?

 

Windows 7 does not have the wof.sys driver present in Windows 8/10 and needed for WIMBOOT.

In case of Windows 7 we can make use of the wofadk.sys driver present in WinNTSetup3\Tools\x64\DISM folder.

For Install of Windows 7 in VHD you must use WinNTSetup in WIMBOOT Mode so that wofadk.sys driver is installed.

 

Also bootmgr of Windows 7 cannot be used as described  here

bootmgr in boot folder on Boot Drive must be replaced by Windows 10 version.

 

VHD WIMBOOT working for Windows 7 see here

 

Yes it does not have the wof.sys driver but WinNTSetup installs on Win7 the Wofadk.sys driver (from 10 ADK) during Wimboot or Compress mode installs (the driver is located on WinNTSetup\Tools\x64 or x86\DISM folder).

 

25 GB VHD FILEDISK and 4 GB VHD RAMDISK

 

W7x64NL_WimBoot_2019-04-26_081652.png == W7x64-RAM-2019-04-26_134049.png


#11 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 02 August 2019 - 12:21 PM

Install Windows 10 Unattended using WinNTSetup
 
Using an unattend.xml file saves time and you don't need to answer all kind of questions during Install of Windows 10.
 
In WinNTSetup you can select an unattend.xml file that you can edit using right-click on the checkbox.
 
The unattend.xml files provided in the Attachment are modified versions as originally given by alacran
 
- Replace ASUS-PC with your ComputerName
- Replace TimeZone value with your TimeZone
- Replace InputLocale 0409:00020409 of VS International Keyboard with your Language and Keyboard code
- Replace 4x en-US with your Language code
 
=========================================================================
A. Unattended with Local Account - use unattend_local_account.xml
- Replace Vx64W in Username and Name with your UserName for Local Account
- Password = admin
  This method is completely unattended. After Install of Windows 10 you can switch to MS Account.
  After Install you can switch Settings > Privacy > Diagnostic Feedback to Basic for reduced Telemetry
 
  After auto Install of all drivers then use Settings >  Update > Windows Update to Search and Install Updates
  This method is working best for Install in VHD to be used for booting from USB Portable SSD on various equipment
 
=========================================================================
B. Unattended with Microsoft Account - use unattend_ms_account.xml
 
  During Install give MS Account with e-mailadres and password
  You need to answer 4 questions: PIN code for Logon, Synchronization, Phone, OneDrive
  After Install you can switch Settings > Privacy > Diagnostic Feedback to Basic for reduced Telemetry
 
  After auto Install of all drivers then use Settings >  Update > Windows Update to Search and Install Updates
  This method is working best in my experience for Install on your own PC - VHD WIMBOOT is preferred by me
 
=========================================================================
 
How does it work ?
In WinNTSetup you select an unattend.xml file e.g. unattend_local_account.xml or unattend_ms_account.xml
WinNTSetup will copy that file as unattend.xml in folder Windows\Panther on the installation drive.
During Install of Windows 10 then file Windows\Panther\unattend.xml  is used to give answers ....
 
More Info: Windows Unattended Setup Reference - Download PDF
 
Telemetry is minimized by using the CEIPEnabled = 0 and ProtectYourPC = 3 settiings.
Telemetry is maximized by using the CEIPEnabled = 1 and ProtectYourPC = 1 settiings.
 
Attached File  Unattended_Eng.zip   3.69KB   17 downloads
 
Attached File  Unattended-2019-08-02_115327.png   357.02KB   0 downloads == Attached File  Unattended-2019-08-05_081740.png   407.33KB   2 downloads


#12 steve6375

steve6375

    Platinum Member

  • Developer
  • 7318 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 02 August 2019 - 12:39 PM

FYI

There is a WAFG website where you can easily make your own XML files using the provided forms.

I also wrote XMLtoE2B.exe which converts/modifies a WAFG-generated XML file into a more automated form for E2B.

See here for link and details.



#13 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 06 January 2020 - 11:04 AM   Best Answer

How to Boot from USB with WIM or VHD file located on Portable SSD
 
Make USB - Partition Portable SSD 500 GB
- 1st partition 20 GB FAT32 Set Active used for Boot Manager and Grub4dos Boot files
- 2nd partition NTFS used for VHD + WIM System files
1. In Disk Management remove existing exFat Volume and Create new  partitions
2. MBR partitioning with 1st partition 20 GB FAT32 Set Active used as Boot Drive and 2nd partition NTFS System Drive
- Instead of step 3 and 4 using UEFI_MULTI will Set Active the USB FAT32 Boot Drive
3. In admin command window run DiskPart
4. In DiskPart type list volume and select volume <FAT32 volume nr> and active and exit
BIOS mode booting requires Active partition with BOOTMGR bootsector
UEFI mode booting requires FAT32 partition with x64 file efi\boot\bootx64.efi Or x86 file efi\boot\bootia32.efi
 
Downloads: UEFI_MULTI and WinNTSetup and Windows 10 x64 ISO from TechBench Or using Windows-ISO-Downloader Tool
More Info: UEFI_MULTI topic and Forums MSFN and Reboot.pro and VHD_WIMBOOT and BOOTICE 1.3.3.2 and System_Info
 
At MSFN there is topic USB Format Tool and UEFI_MULTI
All my projects are now available for Download as Releases at wimb GitHub

Download: USB_FORMAT and UEFI_MULTI and VHD_WIMBOOT and System_Info and MBR_Backup
 
Manual:

 

- Use UEFI_MULTI to Add WIM file to make Portable SSD booting from RAMDISK - filename = Win10XPE.wim
- Use UEFI_MULTI to Add VHD file to make Portable SSD booting with FILEDISK - filename = W10x64_1909_F.vhd
- Add ISO x64 file to NTFS System Drive used by WinNTSetup for Installing Win10x64 in VHD or partition of SSD harddisk
- Boot from USB - After beep use F8 menu - Select Win10XPE-WIM or W10x64_1909_F.vhd in Boot Manager Menu
- Use WinNTSetup x64 and ISO file for Installation of Windows 10 x64 in VHD or partition located on internal SSD harddisk
- Swith off Defender - In WinNTSetup use R-mouse menu - Local Windows Installations and Capture Wim to make Backup WIM file
 
Attached File  W10XPE_WIM-2020-01-06_085014.png   10.94KB   0 downloads == Attached File  W10x64_VHD-2020-01-06_085307.png   11.57KB   0 downloads
 
Attached File  W10XPE-2020-01-06_090453.png   385.88KB   0 downloads == Attached File  W10x64_VHD-2020-01-06_091336.png   505.55KB   0 downloads == Attached File  WinNTSetup4-2020-01-12_150444.png   426.77KB   0 downloads == Attached File  Capture-2020-01-12_152454.png   19.12KB   0 downloads
 
How to make Win10XPE WIM file for booting from RAMDISK
 
Download: Win10XPE Builder - More Info: see Manual 
Download Win10_1909_English_x64.iso from TechBench Or using Windows-ISO-Downloader Tool
Mount ISO with double-click and Copy the Content of the ISO to Folder Win10_1909_English_x64 on your Harddisk
 
In WinBuilder > Build Core > Select Run ALL Programs From RAM to get WIM file with all Programs integrated 
In WinBuilder > Apps > System Tools DeSelect XPE Startup (when Selected build fails) 
In WinBuilder Select the Folder Win10_1909_English_x64 on your Harddisk and Start building with Play button 
 
Use Win10XPE\ISO\sources\boot.wim and Win10XPE\ISO\Boot\boot.sdi for booting WIM file from RAMDISK
First copy both files to folder Win10XPE located on NTFS System Drive of Portable SSD
Then use UEFI_MULTI to make Boot Manager entry for WIM Boot Image file

 


  • r0manas likes this

#14 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 08 January 2020 - 06:01 PM

If you don't want that your Windows 10 Home Password Expires e.g. for local account User Name="Vx64W"

then you can Open Admin Command Window and use

wmic UserAccount where Name='Vx64W' set PasswordExpires=False 

Typical Output in Command Window is given as 

Microsoft Windows [Version 10.0.18363.535]
(c) 2019 Microsoft Corporation. Alle rechten voorbehouden.

C:\Windows\system32>wmic UserAccount where Name='Vx64W'
AccountType  Caption      Description  Disabled  Domain  FullName  InstallDate  LocalAccount  Lockout  Name   PasswordChangeable  PasswordExpires  PasswordRequired  SID                                            SIDType  Status
512          MY-PC\Vx64W               FALSE     MY-PC                          TRUE          FALSE    Vx64W  TRUE                TRUE             TRUE              S-1-5-21-2849263761-2370679174-386205288-1000  1        OK


C:\Windows\system32>wmic UserAccount where Name='Vx64W' set PasswordExpires=False
Updating property(s) of '\\MY-PC\ROOT\CIMV2:Win32_UserAccount.Domain="MY-PC",Name="Vx64W"'
Property(s) update successful.

C:\Windows\system32>wmic UserAccount where Name='Vx64W'
AccountType  Caption      Description  Disabled  Domain  FullName  InstallDate  LocalAccount  Lockout  Name   PasswordChangeable  PasswordExpires  PasswordRequired  SID                                            SIDType  Status
512          MY-PC\Vx64W               FALSE     MY-PC                          TRUE          FALSE    Vx64W  TRUE                FALSE            TRUE              S-1-5-21-2849263761-2370679174-386205288-1000  1        OK

More Info is here.

 

Default the local account Password Expires in 42 days which is often undesirable e.g. in case of Windows 10 in VHD booting from USB.

 

In Windows 10 Home the wmic command is working OK, whereas the other 3 methods given require Windows 10 Pro.



#15 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15527 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 08 January 2020 - 06:30 PM

With all due respect :) , I would suggest:

wmic UserAccount where Name='Vx64W' get Name, PasswordExpires

as you don't need any other info.

 

:duff:

Wonko



#16 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 09 January 2020 - 08:14 AM

With all due respect :) , I would suggest:

wmic UserAccount where Name='Vx64W' get Name, PasswordExpires

as you don't need any other info.

 

 

Thanks, that is indeed more convenient to get the Status of PasswordExpires.

 

After setting PasswordExpires=FALSE then the result of the Status check is given by

C:\Windows\system32>wmic UserAccount where Name='Vx64W' get Name, PasswordExpires
Name   PasswordExpires
Vx64W  FALSE

:cheers:



#17 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 20 January 2020 - 04:58 PM

How to Inject Win10 VHD System to Fix Computer
 
In case of computer troubles it is often desired to have a quick fix available without disturbing existing configuration.
We can decide to Inject from USB in 10 minutes a 50 GB VHD with New Windows 10 x64 System for local account.
Windows 10 in VHD has the advantage that the VHD can be copied to any location.
Windows 10 is Universal and will automatically adjust the drivers needed for the hardware in use.
After Injection, the VHD System is personalised by  Switching to Microsoft Account and Changing User Data Locations.
 

- Prepare Portable SSD Bootable from USB with PE WIM and VHD file as described in this document

 

Manual: 

 

- Disconnect Internet LAN Ethernet cable
- Boot from USB - after beep use F8 menu - Select in Boot Manager Menu Win10XPE WIM file located on Portable SSD
- Copy 50 GB VHD with New System for local account and located on USB Portable SSD to your  internal SSD Drive C:
- UEFI_MULTI is used to Add VHD in Boot Manager Menu for booting from internal SSD
- BOOTICE use tab BCD and Z:\efi\microsoft\boot\BCD Or Z:\Boot\BCD in Prof Mode to Set as Default the Added VHD
- Option - For existing System Drive C: use Malware Removal Tool like McAfee Stinger
- Option - Restore Registry use Registry Backup Portable - Copy folders from RegBackup\MY-PC\datetime\C to Drive C:
- Reboot from internal SSD by selecting in Boot Manager menu the Injected VHD with New Windows 10 x64 System
- On Data partition Create 5x empty folder for Documents, Pictures, Downloads, Music and Videos
  My Computer - R-mouse on icon > Properties > tab Location > Move ... Select folder to change the User Data location
- Swith to your Microsoft Account via Config > Accounts and Reboot 
- Option - Restore Backup of User Data made with SyncBack Free on external USB and kept safely offline
- Connect Internet LAN Ethernet cable
 
Alternatively you can use:
 
How to Fix Booting of Windows 10 using bcdboot
Use bcdboot to Fix on the hidden FAT32 drive the EFI\Microsoft\Boot\BCD entry Or Boot\BCD entry 
- Boot from USB - after beep use F8 menu - In Win10XPE use R-mouse menu to Open Admin Command Window
- Use bcdboot to make BCD in hidden FAT32 drive mounted by WinNTSetup x64 as Drive Z:
   
bcdboot C:\Windows /s Z: /f ALL
 
How to ReInstall Windows 10
If you want to ReInstall Windows 10 x64 while completely disturbing existing configuration then
- Boot with Win10XPE from USB - after beep use F8 menu - In Win10XPE then
- Backup to external USB drive your User Data from C:\Users\YourName
- In WinNTSetup x64 use as Windows Installation file your Capture Wim file Or use Win10x64 ISO file from TechBench
- Select as Installation drive your Attached VHD mounted as Drive Y: Or your internal SSD drive C: and Use NTFS Format
- Select Setup and Legacy Boot Menu Style and OK to Install Win10x64 in VHD or partition of internal SSD and Reboot
 
:cheers:


#18 wimb

wimb

    Platinum Member

  • Developer
  • 3045 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 18 February 2020 - 12:29 PM

How to Backup your Computer
 
A. System Backup
- Swith off Defender - WinNTSetup - R-mouse menu - Local Windows Inst. - Capture Wim to make Backup WIM file - Time = 5 min
  The Captured WIM file of your System can be used for fast Re-Install of Win10 including all Programs and Settings
- Registry Backup Portable can make a Backup in folder C:\RegBackup of the Windows Registry useful for System Restore - Time = 5 sec
- MBR Backup can make Backup of Partition Table and Bootsectors of all Local Harddisks Fixed + Removable - Time = 10 sec
  Use TinyHexer to study and Restore Bootsectors - Hopefully Never Needed
 
B. Data Backup
- SyncBack Free - Make Backup of User Data on external USB kept safely Offline - Backup Time = initially few hours - update in 10 min
- Backup using File History - available in Windows 10 - More Info - Time = initially few hours - autoupdate running in the background
- Backup your Data in OneDrive in the Cloud - Backup kept safely on Remote Location - Time = initially few hours - autoupdate
 
 

 

 





Also tagged with one or more of these keywords: usb, ssd, windows 10, wim, vhdx, win10pe, winntsetup, bootice, portable

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users