Jump to content











Photo
- - - - -

Make your own updated (x86+x64) esd(s), to install OS(s) from USB

win7 win8.1 win10 usb install

  • Please log in to reply
7 replies to this topic

#1 alacran

alacran

    Silver Member

  • .script developer
  • 644 posts
  •  
    Mexico

Posted 29 September 2018 - 08:09 AM

This is my collection of tools I use to offline update the install.wim files, and latter make multi-architecture (x86 and x64) install.esd files for each OS (7, 8.1 and 10), to let all them fit on a 16 GB FAT32 USB (2.0 or 3.0) stick and even have some extra GBs free.

 

Of course you must have required original Isos to make use of this.
 

My tools:

 I use some programs and batch files to update the .wim files as:

 

I strongly suggest to download all required files/folders and read authors instructions before start doing anything.

1 - WHDownloader from Alphawaves to download Updates directly from MS servers:

 


 

You need to extract WHDownloader on a folder on your PC (preferable on the root of a partition and do not use spaces on folder name).

See first OPTIONAL note No.8 at the end for additional info before downloading update lists.

 

Latter just run the program and download all Updates you previously selected (read carefully the info for each one, some are problematic like those to forced update to Win10).

 

2 - Also to install updates offline on .wim or on actual running OS, from abbodi1406 batch scripts you need: Windows 10 Updates Installer, WHD-Windows8.1-Updates-Installer,  WHD-Windows7-Updates-Installer 4.5, but for Win7 I prefer Symplix Pack from Symplix.  All this uses DISM to mount .wim and update indexes, and rebuild .wim

 

Spoiler

 

You need to extract the required abbodi1406 Updater(s) into WHDownloader folder located on your PC.

Just copy/move the install.wim to same folder before running the Updater batches, You may also modify them to select your prefered location for the install.wim if you want too.

 

3 - Optionaly if you want to remove/add something from/to .wim files as removing Apps, One Drive Desktop, Skype,
etc or adding Windows Data Deduplication, Direct X9c, enable Photoviewer, etc.. I use MSMG ToolKit from MSMG this uses DISM and wimlib-imagex

 

 

You need to extract MSMG ToolKit on a folder on your PC (preferable on the root of a partition and do not use spaces on folder name).

 

4 - Then to make a multi architecture install.esd you need to rename in x64 install.wim file all indexes adding x64 at the end of name/description, and latter export all or selected indexe(s) to an install.esd file to do this on a graphical environment (GUI) I use wimlib-clc from ReTokener a GUI for wimlib-imagex from Synchronicity

 

 

You need to extract wimlib-clc on a folder on your PC (preferable on the root of a partition and do not use spaces on folder name), open the folder an create a subfolder x86 or x64 (or both as required) and add libwim-15.dll and wimlib-imagex.exe (x86 or x64 versions) to the respective folder, I recommend download version 1.13 Beta 5 (the latest)

 

5 - BootIce v1.34 from Pauly

 

Spoiler

 

6 - RMPrepUSB from steve6375 to prepare the USB stick:

 

Spoiler

 

7 - Then before start, just read carefully all readme files contained on each download and follow instuctions from the authors, all instructions are very clear and easy to follow.

 

8 - OPTIONAL: If you as me prefer to do not install updates after December 2017 (on January started all the messed updates for MeltDown and Spectre), Do not update the Updates lists on WHDownloader, fortunately I keept a copy of December 2017 Updates list:

 

Spoiler

 

Just extract the 7z content on WHDownloader folder.

 

9 -Use WinNTSetup  from JFX to install OSs:

 

 

You need to expand it on a folder on your PC and run it at least once to let it download some files/folders from MS servers, latter just copy it to your USB where you have your WinPEs and all .esd files on a folder for each one.

 

NOTE: For using majority of this tools it is better to disable AV and right click and run all of them as Administrator, what I do is create shortcuts on desktop and modify them to run as Administrator to do not forget it, also have all of them togeter and easy available.

Also as some Update tools and create a install.esd require high CPU and RAM usage I strongly recommend do not run any other program (including internet browser) when they are running.

 

IMPORTANT: When using MSMG ToolKit, at the time you will apply all changes and dismount the .wim image it is better DO NOT have any other window or program running, DISM is very prone to create troubles if you do not follow this instruction, the batch has code to prevent this issue every time you quit and run it, but it is better to be on the safe side.

 

I hope this info about this great tools for update OSs offline and latter install them may be useful for you.

 

The other forum (MDL) requires to make an accout to view some posts/links, I put all links to source to give proper credit to all authors of this GREAT tools, but there are links available for dowloads on the post for your convenience.

 

Best Regards

 

alacran


  • ReTokener likes this

#2 alacran

alacran

    Silver Member

  • .script developer
  • 644 posts
  •  
    Mexico

Posted 29 September 2018 - 09:03 AM

There are available tree diferent approaches to make almost automatically a multiboot USB:

 

1 - WinSetupFromUSB (sorry but I can't find author name on new page, but on MSFN there is an old thread from ilko_t), this was the first in doing this, it started as a batch file and finaly got a GUI, I haven't used it since long time ago, but AFAIR it used to extract the content of the install Isos on a subfolder and run the install from it. This approach is not useful for our actual procedure, but it deserves to be listed here as it was the first tool to install OSs from USB, actual site is: http://www.winsetupfromusb.com/
 
2 - Easy2Boot (from steve6375) this is a very good tool, and has tons of info on his site: http://www.easy2boot.com/
 
3 - AIO Boot (from Tu Nguyen) this is a very good tool too: https://www.aioboot.com/en/
 
Both make a multi bootable USB, Easy2Boot uses usually grub4dos as boot manager, but also has other boot manager options, AIO Boot uses usually Grub2 as boot manager but also have several other options.
Both make automatically the menu.lst and config files respectively, and both let you install from the stick booting from a WinPE and running WinNTSetup.
 
But for the pourpose of this thread, it seems to me both are overloaded of options we do not need for this task.
 
That's why I suggested using RMPrepUSB to format the USB and add grub4dos as MBR and grldr file to single first active partition root, only thing we need to add is our menu.lst to let us select the WinPE we want to boot.
 
This is an example of menu.lst, to boot Isos located into Iso folder, just copy and save as menu.lst
 

Spoiler

 

Actually the defragmentation of Iso files is not required if using grub4dos 046a (RMPrepUSB uses grub4dos 046a). I can confirm this as I have booted from Isos with several fragments, AFAIR 4 fragments.

But it is required for grub4dos 045c (not recomended to use this anymore).

 

Additionally you may install grub4dos yourself if you prefer:

 

grub4dos-0.4.6a: http://grub4dos.chen...egories/0-4-6a/

 

grub4dos-0.4.6a-2018-09-19 (last version) download: http://dl.grub4dos.c...a-2018-09-19.7z

 

You may also download the example menu.lst from attachment and just edit where required.
 
 
alacran

Attached Files

  • Attached File  menu.7z   661bytes   28 downloads

  • ReTokener likes this

#3 Wonko the Sane

Wonko the Sane

    The Finder

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

Posted 30 September 2018 - 02:02 PM

This approach is not useful for our actual procedure, but it deserves to be listed here as it was the first tool to install OSs from USB, actual site is: http://www.winsetupfromusb.com/

No, it wasn't. (just for the record).

 

It was the first one with a GUI:
https://msfn.org/boa...omusb-with-gui/

as even the names says, the batches USB_MultiBoot.cmd by wimb pre-date it:

https://msfn.org/boa...ll-xp-from-usb/

And both came out of this thread:

https://msfn.org/boa...l-from-usb-key/

 

:duff:

Wonko



#4 alacran

alacran

    Silver Member

  • .script developer
  • 644 posts
  •  
    Mexico

Posted 30 September 2018 - 04:26 PM

No, it wasn't. (just for the record).

 

It was the first one with a GUI:
https://msfn.org/boa...omusb-with-gui/

as even the names says, the batches USB_MultiBoot.cmd by wimb pre-date it:

https://msfn.org/boa...ll-xp-from-usb/

And both came out of this thread:

https://msfn.org/boa...l-from-usb-key/

 

:duff:

Wonko

 

Thanks, it is good to give proper credit to developers/authors as they work very hard to make all this free tools available to us.

 

alacran



#5 alacran

alacran

    Silver Member

  • .script developer
  • 644 posts
  •  
    Mexico

Posted 06 October 2018 - 07:05 PM

If you make a Win10 AIO to install using WinNTSetup, you are going to find the EULA do not show during the second reboot (settings pass="oobeSystem") and you can't go further, to avoid this issue it is necessary to use an unattend.xml file.

 

I have made for your convenience a very basic unattend.xml file (valid for x86 & x64 installs), you may copy, paste and save as unattend.xml or download the attachment if you prefer (it requires to be modified before using it):

 

Spoiler

 

And this is how to edit it for your use (required) , also included on attachment:

 

Spoiler

 

NOTE: You must change all mentioned fields with your own settings. For time zones valid on 10 see (use Name of Time Zone):

 

Spoiler

 

Hope this may be useful for some of you.

 

Best Regards

 

alacran

Attached Files



#6 alacran

alacran

    Silver Member

  • .script developer
  • 644 posts
  •  
    Mexico

Posted 07 October 2018 - 10:37 PM

If you do not want any App tiles on your 10 Start Menu, you may use this LayoutModification.xml (from abbodi1406 and modified by me), it is a requirement to have at least one short cut on it, so I selected WindowsPowerShell for this.

 

Spoiler

 

This has to be into "Users\Default\AppData\Local\Microsoft\Windows\Shell\"  before the first boot, so to make things easier I made an $oem$ file that allows WinNTSetup to do the job for us. You can download it from attachment.

 

NOTE: This do not delete the Apps or anything else during install, then Updates can be installed without any problem.

 

And if you like better the old style start menu you may (only or additionally) use Classic Sell, not under development anymore, but version 4.3.1 can be installed on any 8.1 &10 versions upto 10 1809 (tested by me).

 

Best Regards

 

alacran

Attached Files



#7 alacran

alacran

    Silver Member

  • .script developer
  • 644 posts
  •  
    Mexico

Posted 3 weeks ago

I want to share with you this more complete Generical Full unnatend for Win10, you need to modify it with your own data before using it, since as I said it is generical and only a guide that after editing, it will work for you.

 

Edit instructions are on download, there is a separated version for x86 and x64, valid for Win10 1709, and 1803; for 1809 there is a new one on following Post.

 

Source:

Spoiler

 

Also attached the complementary files on their respective $oem$ folder one for 1709 and another for 1803 (for 1809 see next post).

 

Source:

Spoiler

 

I made some minor changes to unnatend and created $oem$ folders, to make them easier to use for you.

 

This time you will have to download the attachments to see them, since unnatend and the other files are very long to put them in the post even in Spoilers.

 

This set of files disable Cortana and Edge and make IE the default browser and adds Google as the default search engine not Bing, also disable System Restore, and reenable Photoviewer default, also disable a lot of services and tasks related to telemetry, better check carefully specialize.cmd and setupcomplete.cmd and if there is something you want to keep as default just put a rem followed for a blank space where the line starts, sorry for not being more specific but all depends on user preferences. The specialize.cmd and setupcomplete.cmd especificaly for 1809 may be improved soon, (there are some new services and tasks that need to be added to both .cmd).

 

Please check carefully the files, or install in a virtual machine and then make notes about what you miss or would like to keep, and make required changes on the respective files before install on real PC.

 

NOTE: This set of files are for clean installs and works better on Pro and higher editions of 10.

 

EDIT: There is also a new unattend.xml and $oem$ folder especificaly for 10-1809 on following post.

 

alacran

Attached Files



#8 alacran

alacran

    Silver Member

  • .script developer
  • 644 posts
  •  
    Mexico

Posted 3 weeks ago

This is new unattend and $oem$ set of files for Win10 1809, I put all of them in a single attachment, you need to modify unattend.xml with your own data before using it, since it is generical and only a guide that after editing, it will work for you. Edit instructions are on download.

 

Source:

 

I made some minor changes to unnatend and created $oem$ folder, to make it easier to use for you.

 

This set of files disable Cortana and Edge and make IE the default browser and adds Google as the default search engine not Bing, also disable System Restore, and reenable Photoviewer as default, also disable a lot of services and tasks related to telemetry, better check carefully specialize.cmd and setupcomplete.cmd and if there is something you want to keep as default just put a rem followed for a blank space where the line starts, sorry for not being more specific but all depends on user preferences.

 

Please check carefully the files, or install in a virtual machine and then make notes about what you miss or would like to keep, and make required changes on the respective files before install on real PC.

Attached Files







Also tagged with one or more of these keywords: win7, win8.1, win10, usb, install

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users