riklus / win10install-onusb

This batch script allows you to install Windows 10 on an external usb drive.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows10 install-on-usb script

win10install-onusb is a BATCH script that installs Windows 10 on an external disk/drive.

I took inspiration for writing this script from this guide on decryptingtechnology's techblog. Thanks decryptingtechnology <3.

How to use it

Things to prepare:

  • Installation medium: The USB or DISK where to put the Windows 10 .iso installation files.
  • Target drive: The USB disk/drive where you would like to install Windows 10.
  • wininstall.bat: The script that installs Windows 10 on the Target drive.

What to do:

  1. First of all: Download Windows 10 .iso from Microsoft.
  2. Copy all data inside the .iso to your Installation medium.
  3. Copy wininstall.bat file from this repo to the Installation medium.
  4. Shutdown the computer.
  5. Boot the pc from the installation medium.
  6. Proceed to install Windows 10 as usual but stop after accepting the Windows License Conditions.
  7. Press shift+f10 to open up a cmd window.
  8. Launch the script: C:\wininstall.bat and follow the instructions on the screen.

Done.

Things to pay attention to

Be sure to select the right Target drive.
Be sure to Accept Windows License Conditions before launching the script.
Be sure to enter the Target drive size correctly, if unsure subtract a few MB from the number before entering it.

FAQ

Who is it for?

For those who want a Windows 10 to go, or have very low internal hardisk space.

What does this script do?

This script will install Windows 10 on the Target drive:
It will ERASE all data from the Target drive then it will proceed to partition it, like the official Windows 10 installer would do.
Then it will install Windows 10 on the Target drive.
And at the end, it will shutdown the pc.

Once the installation began, can I leave the pc alone for the night?

Yes. The script it's made that once the installation ends it will automatically shutdown the pc.

Why did you do it?

I have a Macbook with low disk space, and I needed an automatic way to install Windows 10 on my external hardisk. I tried Bootcamp but it wouldn't work with external hardisks. So I just copied the .iso file on an USB and created this script.

Does it work for Windows 11?

I don't know. Sorry :/

About

This batch script allows you to install Windows 10 on an external usb drive.

License:MIT License


Languages

Language:Batchfile 100.0%