So, I've been having some trouble creating Windows To Go drives lately. Firstly, the built-in creator is present only on enterprise editions of Windows, and worse still, it only works with very few drives.
Secondly, while Rufus has an option to create Windows To Go drives, it refuses to do so if your drive doesn't have the "fixed" attribute set - although in my experience, this isn't required at all for a functioning Windows To Go install.
Lastly, while a manual method does exist, it's way too cumbersome for me.
So, I've created a tiny script called
wtg-create to automate the process. Here's how it works:
- Download the script files from here (github mirror), and extract them.
- Rename your windows iso to
windows.isoand place it in the same directory as the script and all the files that come with it.
- Even if you don't have the entire ISO, the script will work just fine with an
install.wimimage which is typically found in the
sourcesdirectory of Windows ISOs (or any other WIM image, actually).
- Next, simply run
wtg-create.cmdas an administrator and follow the onscreen instructions.
- That's it! Now you can boot from the drive and use it as a portable Windows install.
The script makes use of 7-zip and the ImageX utility from the Windows ADK. The default download contains the x86 version of both, which should work on most systems, but you can swap these executables out for different versions as per your requirements. If you don't wish to download the entire ADK, I've made the ImageX executables available for download here.
Note that Windows To Go works only with Windows 8 or newer. An ISO of any edition (home, professional, etc.) will work. You can use this tool with modified
.wim files too!
The script is licensed under the MIT license, and the code is available on Github. It's been tested on Windows 10. Enjoy :)
Update (April 30, 2019): Minor bugfixes