NOTE: These steps will create a portable Windows environment on a USB flash drive that can be moved from machine to machine as needed. Nonetheless, from Microsoft's standpoint, you should be purchasing a license from them and Activate this instance of Windows. If you intend on using this beyond the experimentation stage, I'd suggest purchasing a license.
As noted in Part 1 of this series, one can create a VirtualBox environment suitable for SpinRite within a Windows OS environment. That Windows boot drive must be setup in a particular way. This article will outline how to setup that drive, and how to run VirtualBox and then SpinRite from that drive.
This How To article is split into multiple parts:
Most folk can just proceed here:
As noted in Part 1 of this series, one can create a VirtualBox environment suitable for SpinRite within a Windows OS environment. That Windows boot drive must be setup in a particular way. This article will outline how to setup that drive, and how to run VirtualBox and then SpinRite from that drive.
This How To article is split into multiple parts:
- Introduction
- Using Windows to Go as the base OS for your bootable VirtualBox system:
- Part 2A - Setting up the Windows to Go drive, Installing VirtualBox (this article)
- Part 2B - Creating a SpinRite VM, Mapping the Host drives to the SR VM, Moving your Windows to Go drive to a new Target Machine
- Part 2C - Updating the Windows to Go drive to include Mac "BootCamp" drivers (optional, and obviously only if running against a target Mac)
- Using Kubuntu Linux as the base OS for your bootable VirtualBox system
- Using MacOS as the base OS for your bootable VirtualBox system
- Downloading or Creating your VM and moving files in and out of the virtual drive
On your Prep PC (which is running Windows 10 or 11):
- Download and install (or use Portable) version of Rufus:
- Download the current Win 11 ISO from Microsoft:
- OR, download Tiny11, a legitimate but "decrapified" install ISO
- Microsoft provides tools to customize the Windows installs, and someone used those tools to remove as much as possible. It's not a "cracked" or illegitimate copy of Windows; it still requires Activation to be fully functional and legal just like a standard Win 11 installer
- Info: https://www.thurrott.com/windows/windows-11/294806/hands-on-with-tiny11-2311
- https://archive.org/details/tiny11-2311
- Insert your USB drive (as a reminder, it MUST be tested to be fast (finishes ValiDrive in 10 seconds or less), or this will take hours to days to finish!!)
- Use Rufus with the following options:
- Main screen
- If your drive is NOT a flash drive, but is an External USB SSD drive, click on "List USB Hard Drives"
- Select your USB drive and your Windows ISO
- Image Option: Windows To Go
- Partition Scheme: GPT
- All other options default, press Start
- Next screen (not shown if using Tiny11)
- Which version you want; select Windows 11 Pro
- Customize Windows Installation screen:
- Check ALL boxes
- VERY IMPORTANT TO HAVE CHECKED:
- Prevent Windows To Go from accessing internal disks
- This is because those drives will be accessed by SpinRite, so they should be Offline as far as Windows To Go is concerned
- Rufus will now make your flash drive
- Main screen
- Now, go to GRC.com and download your personal copy of SpinRite
- Run the SpinRite executable
- Use the option to create an IMG file.
- By default it's called SpinRite.img, change the name to SpinRite-FD.img
- Copy that file to your 2nd flash drive and put it aside, you'll use it later
On your Target PC (on which you will eventually run SpinRite against its drives)
A. Getting the OS up to date
- Boot your PC from the USB using your particular PC's boot option key
- You should see at least one entry for the USB
- If two entries, they might be Windows Boot Manager (from the USB) or EFI (from the USB). Either will work to boot the system
- Your system will now (slowly!!) prepare devices, then go to a screen asking to connect to WiFi. Connect to your network
- Windows has many drivers built in, but it’s possible it might not have your WiFi card. If that’s the case, you’ll need a USB to Ethernet adapter to use (temporarily) and plug into your router. You do need Internet connectivity!!
- You’ll eventually get into the Windows desktop
- If using Tiny11, your system may pop up a box that says the paging file is messed up. I haven’t figured out a way around this yet, it will just pop up on every boot. Just dismiss it.
- In Settings, go to Time & Language, Date & Time, and ensure the Time Zone and other time settings are correct, and if needed click on the "Sync now" button
- In Settings, go to System, then Power & battery
- Go to Screen and sleep
- "When plugged in, turn off my screen after" set to "Never"
- "When plugged in, put my device to sleep after" set to "Never"
- Go to Screen and sleep
- Run Windows Update. This will accomplish two things:
- Download and install updates for Windows itself, AND
- Download additional drivers for the system you are currently using
- Windows Update notes:
- This will take a while, AND there’s a good chance that only some of the drivers will install on the first try. Retry as needed, and eventually you’ll reboot
- Note that every time you reboot you'll have to use your target PC's boot option key to ensure you boot from the USB drive
- Upon reboot, you’ll have to provide a password for the Admin account
- Keep running Windows Update until such time as there are no more updates to install
- If your WiFi card did not natively have a driver when you started, after running Windows Update more than likely the correct driver has been installed and you can remove the USB to Ethernet adapter and continue via WiFi.
- Turn off Hibernation
- By default, Windows will create a hibernation file that’s the size of the RAM from the Prep PC on your USB drive. That’s taking up a lot of space and you’ll never use it, so turn off hibernation via the command prompt
- Open an Elevated command prompt
- That means right click on Terminal, then on pop up menu, right click on Terminal again and Run as Administrator
- Run the following command:
powercfg.exe /hibernate off
- That’s it! That’ll turn off hibernation and delete the hibernation file
- From the Microsoft Store app, update all apps.
- If using Tiny11, it doesn’t come with Microsoft Edge (or any web browser). Use Winget to add a browser
- Open an Elevated command prompt and run:
winget upgrade --all
- Once that’s done, install the browser of your choice (MS Edge is NOT installed by default). I went for Firefox.
winget install Mozilla.Firefox
- Open Firefox and ensure it’s working
- Open an Elevated command prompt and run:
- Download and run the GRC utility "Securable", which will tell you if your system has a Virtualization capability and if it's enabled:
- https://www.grc.com/securable.htm
- Virtualization MUST BE ENABLED in order for VirtualBox 7.x and higher to run
B. Installing VirtualBox on Windows
- Download the VirtualBox Windows installer from
- Run the installer
- By default, Networking Support and Python Support are Enabled
- You should DISABLE them (choose don't install), they are not needed
- There is also an optional download for the VirtualBox Extension Pack; do NOT download this, it's not needed
- VirtualBox versions prior to Version 7 needed the Extension Pack for USB support, but that's now built into VirtualBox
- And we're not using USB support within VirtualBox anyway!
- Once VirtualBox is installed, ensure that it's always started as Administrator
- Go to the
C:\Program Files\Oracle\VirtualBox
directory - Right click on the VirtualBox.exe file
- Select Properties
- Go to the Compatibility Tab
- Click ON the checkbox for "Run this program as an administrator"
- Click OK
- Go to the
C. I have a Mac, is there anything else I need to do?
My limited testing is that Macs can work from the base Windows drivers, but you may want to install the drivers that Apple provides in their BootCamp package. That additional installation is complicated enough to be it's own article:Most folk can just proceed here:
Last edited: