Skip to content

UpdateInsider - Python Automatic script for updating your 'native boot' Windows (Insider) installations on VHD/VHDX without putting it to any VM!

License

Notifications You must be signed in to change notification settings

raspiduino/updateinsider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UpdateInsider - An easier way to update your 'native boot' Windows (Insider)

What is this?

UpdateInsider is an easier way to update your 'native boot' Windows (Insider) installations. You probably see thing like this when trying to update your Windows:
alt
So with this script, you can update your Windows easily without that error and without putting the vhd into a vm!
The installation process takes around 2hr and 15min (tested on Windows 10 with Pentium Dual-Core T4300, 2GB ram, SSD) and your process maybe quicker depends on your machine.
Support for both amd64 and arm64 (aarch64)
Tip: You can use this to quickly test Windows for Arm on QEMU without install it (which takes really long time!). See notes below.

Updates

  • 13/2/2022: The author has changed the domain from uupdump.ml to uupdump.net

How this works?

The Python script will find the lastest update available using uupdump.net, then download the packages and convert them into iso by uupdump tools. The iso will be mounted and extract to vhd/vhdx file. Reboot and you will have a new installation!

Requirement

  • Python 3.7 (require bs4 and requests). You can use the portable version from Release
  • Windows 8 and later (Fixing bugs on Windows 7)
  • 16GB of free space to convert (not include the vhd size). It will be freed after use.
  • A network connection

Installation and usage

Before do this, make sure that your cmd is run as Administrator You must have a created vhd.

  • Normal install (if you have installed Python yet)
git clone git://github.com/raspiduino/updateinsider.git
cd updateinsider
updateinsider.py
  • Portable version: Download from Release page and unzip it then run
python.exe updateinsider.py


After starting the script, it will ask for the following info:

Setting Description
arch The architecture you want to download and install to the VHD (it can be amd64 or arm64 (aarch64))
rings The rings you want to download (it can be retail (Normal release, auto choose the lastest version), rp) (Release preview), wis (Slow ring) or wif (Fast ring))
lang Pick a language (get a list of language from uupdump.net). Example: en-us should be a great start!
edition Pick 1 edition (it can be core, coren, professional, professionaln). For arm64 it can only be core and professional!
vhd Enter your vhd/vhdx file path. Remember not to include the quotation marks ("") in the path. You must also replace '' with '\'!
driveletter Choose a drive letter to mount your vhd/vhdx file. It should be only one letter for all the time you run this script. Example: 'V'
isodriveletter Choose a drive letter to mount iso file. It doesn't matter, so pick up one randomly!

Note

If you want to use this to quickly test Windows 10 for ARM64 on QEMU, please don't use bcdboot with the vhd file. Please follow the instructions to boot that vhd in QEMU.

Warnings

  • When you run this scripts, it will format your vhd, so if you need to keep your files stored in that vhd, saved it to another drive. (We are working to do this automaticly)
  • For some reason if the console is closed when the script is running (like electricity went out), please check the root of current drive if there is a folder called MountUUP. If this folder exists, run cmd as Administrator and do the following:
dism /Unmount-image /MountDir:MountUUP /Discard


Then delete the tmp folder in scripts folder and restart the script.

Credits

Special thanks to:

License

Under MIT license

Todo

Auto backup files before installing to vhd/vhdx, then restore it after installed.