Revised: Originally published on Dec 1 2022
I needed a Windows virtual machine to test screen reader tools. I initially planned to use VirtualBox, but my current machine is an M1 Silicone. I found conflicting info on whether this was possible. On VirtualBox docs and Reddit, you’ll find people looking for a solution. UTM is referenced in some posts with links to a blog post for setting up an earlier version of UTM. I found this problematic.
Now with the latest (at the time of this post is) UTM 4.x, we have a complete solution. With little effort you can have your Windows virtual machine, utilizing the Windows Insider Preview Downloads (P.S. you do not have to be a Microsoft pro to build this). You do need to setup a user account with just an email address. Once you do, Microsoft makes it easy to find current OS builds. Look to the column on the right of the page if you need Windows 10 or some other preview.
On the form selector, choose the build with the highest number, which will probably be the Canary or Beta Channel. Confirm your languange then move to download the VHDX file. The UTM interface is not ground breaking but is straightforward compared to what we have with VirtualBox.
At the time of this writing I had no problems setting up the VM on Montery and Ventura OS. Find a full video tutorial on the steps to do this using the tutorial by Andrew Tsai, linked below.
Installing Windows 10/11 Disc Image
- Download UTM 4.x App
- Install UTM on your Mac Silicone machine
- The trial period is three months so if you have something installed for longer, Windows will start but will not be activated and you will not be able to use the OS. For people who remember VirtualBox, you could save a snapshot of the VM and restore it to a previous state. This is not possible with UTM. You will need to reinstall the OS unfortuantely.
- On Windows Insider account look for Windows 11 on Arm Insider Preview
- On select edition, Choose the Beta Channel, or latest version
- Then select language, in my case it is the English (United States) and download the VHDX file
- It can take up to 30 minutes to download the file.
- Back in UTM Choose Create a New Virtual Machine button
- You want Virtualize. Emulate will run much slower
- The OS is Windows, on that dialog we want to choose to import the VHDX image, click Browse to select the file we’ve downloaded
- Ensure the options for UEFI Boot and Drivers for SPICE tools are checked (default was checked for me)
- Now allocate half the memory of our computer and half the cores
- Make a shared folder in your Documents folder; call it UTM Shared folder, (something like that)
- Check that your summary view reflects your choices
Setup Internet Connection 👋🏼
- In UTM you’ll see the new VM, click the play button to start the VM
- One of the problems with the setup is that windows requires the Internet to complete this setup processes.
- Click on the Windows 11 UI. Hold down the Function key, then Shift + F10
- This will launch the command prompt (terminal). this will help us bypass the known internet network error. At the prompt type:
and hit Enter
Complete Windows Setup
- The whole virtual machine will restart. Click to add a keyboard, skip keyboard layout, … When you get to the Let’s connect you to a network, click ‘I don’t have internet’ and click ‘continue with limited setup’.
- In next dialog, agree to license agreement, enter your Name then Next, Next, Next, Accept and Windows will now finish the setup process.
- If it asks you to install a new build of Windows, choose ‘Close’, otherwise, move on
Install SPICE tools 🥵
- Find in your Windows Explorer, see CD Drive (D:) UTM and install. It will install then ask to reboot. With SPICE tools installed, go to Display Settings, (you can find by right-clicking on the display background) and in contextual menu choose ‘Display Settings’.
- Now we have the ability to change the resolution. For my 14-inch Mac, 1800 x 1169 is perfect.
- In the UTM Shared folder, you can use it to transfer files between your Mac and Windows VM.
Installation is complete 🎉
We are now able to run our VM with Windows 11 on our M1/M2 Mac. We can share files between the two systems. We can also change the resolution of the VM. Use the keyboard to copy and paste text between the two systems using windows key + C (copy) and windows key + V (paste).
Need a phone VM?
Did you know it was possible to install virtual machines on a phone? I had not considered this but it makes sense. UTM offers a solution and it looks as easy as from a desktop. See their page to learn if this install mobile VMs on your iOS Phone will work for your project. Please read the FAQ for details such as supported OS versions and jailbreaking vs sideloading.
- Find the complete video annotated with chapters and links: Run Windows 11 ARM for FREE on M1/M2 Mac using UTM 4! Full setup tutorial for macOS Ventura
- Watch the full video. The author details a bug in the WinOS setup along with a simple terminal fix needed to associate your Mac’s WiFi to Windows to complete installation.
- UTM stands for: Universal Turing Machine
Update: 2023-05-15 Virtual Box now supports M1/M2 Macs
See steps to setup: You can get the Developer Preview for MacOS / Arm64. I have not tested this yet. I will write a new post when I do.