GithubHelp home page GithubHelp logo

raspiduino / updateinsider Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 0.0 6.72 MB

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

License: MIT License

Python 7.08% Batchfile 92.92%
python update windows-10 windows windowsupdate insiders windowsinsiders uupdump vhd vhdx

updateinsider's Introduction

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.

updateinsider's People

Contributors

raspiduino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

updateinsider's Issues

Cannot mount vhd file and apply install.wim

Cannot mount vhd file and apply install.wim
Reason: The ISOFOLDER renamed and there is an error with the pathname in Python script.
We will fix it and release the new version as soon as possible.

Cannot automount iso file

Cannot automount iso file

Error details: File 'install.wim' reported not found because WinCDEmu cannot mount the iso file
How to fix:

  • Temporary: Mount iso by hand to the selected mount point
  • We are working on this and fix this as soon as possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.