UTM - Run Windows Virtual Machine on Mac
This blog is a step by step guide on how to run a Windows Virtual Machine on MacOS using UTM (Open Source Virtual Machine Tool). Also the settings needed to share Clipboard and Directory between Windows and MacOS.
Download and Install UTM application on MacOS from
Download Windows 11 iso file from Microsoft
https://www.microsoft.com/en-us/software-download/windows11
Download Windows Guest tool iso file
https://getutm.app/downloads/utm-guest-tools-latest.iso
Steps to create Windows 11 Virtual Machine
- Click Create a New Virtual Machine
- Click Virtualize
- Select Windows
- Set memory as 12288 MiB
- Set CPU Cores as 3
- Click Continue
- Tick Install Windows 10 or higher
- Click Browse and select Windows 11 iso file
- Tick Install drivers and SPICE tools
- Click Continue
- Set size at 64 GiB
- Click Continue
- Do not set Shared Directory Path now, we can do it after installation
- Click Continue
- Set Name as Windows
- Click Save
Steps to install Windows 11
- Click on Windows
- In first CD/DVD, select the Windows 11 iso file
- In second CD/DVD, select the utm-guest-tools iso file
- Click play button on Windows
- Press Enter key immediately to boot to boot from CD (iso) image
- Set Language to install as English (United Kingdom)
- Set Time and currenty format as English (United Kingdom)
- Click Next
- Set Keyboard as United Kingdom
- Click Next
- Enter Product key if you have Windows 11 key. This is optional as Windows 11 Home edition can work without license. However there will be some restriction on personalisation and customisation. It is legal and allowed to use Windows 11 without license key as long as only one Windows virtual machine is installed in the UTM per Macbook.
- Click I don't have a product key
- Select Windows 11 Home
- Click Next
- Click Accept
- Select Disk 0 Unallocated Space
- Click Next
- Wait for the installation to complete and restart
- During restart, do not press any key, otherwise it will once again boot from CD (iso)
- Wait for further installation to complete
- Wait for the restart
- Select country as United Kingdom and click Yes
- Select keyboard as United Kingdom and click Yes
- At second keyboard, click Skip
- Wait for restart
- Enter name as windows and click Next
- Enter a password and click Next
- Enter same password for confirmation and click Next
- Set security questions 1 to 3 and click Next
- Wait for the windows update to complete and wait for it to install the updates
Steps to install Windows Guest tool
This steps enables better screen resolution, clipboard sharing and directory sharing between MacOS (Host) and Windows 11 (Guest)
- Click the Windows screen
- Enter the password and click ->
- Open File Explorer
- Click CD Drive UTM Guest Tools
- Double click utm-guest-tools-*.exe file
- Finish the setup wizard
- Turn off Windows
Setup shared directory
- Turn off Windows
- Right click Windows and Select Edit
- Click Sharing
- Tick Enable Clipboard Sharing
- Select Directory Share Mode as SPICE WebDAV
- Click Browse and choose any directory on MacBook eg: Downloads
- Click Save
- Click play button on Windows
Access shared directory in File Explorer
Files Explorer -> This PC -> Spice client (Y:)
If Spice client (Y:) is not available, then do the following one off setup to mount SPICE webdav directory.
- Open Files Explorer
- Navigate to C:\Program Files\SPICE webdavd directory
- Double click map-drive.bat
Access the shared directory in Terminal
Start Menu -> Terminal -> Y:
Comments
Post a Comment