Installing Multipass for Windows

Downloading

To get Multipass for Windows, download the latest installer from our GitHub releases page - it’s the .exe file.

Prerequisites

Hyper-V

Only Windows 10 Pro or Enterprise, version 1803 (“April 2018 Update”) or later is currently supported. It’s due to the right version of Hyper-V only being available on those versions.

VirtualBox

Multipass also supports using VirtualBox as a virtualization provider. You can download the latest version here.

Installation

Make sure the network you’re connected to is marked Private (which really means Trusted), otherwise Windows will prevent Multipass from starting. We’re working on resolving that issue.

Run the installer and it will guide you through the steps necessary. You will need to allow the installer to gain Administrator privileges.

You will need either Hyper-V enabled (only Windows 10 Professional or Enterprise), or VirtualBox installed.

First run

Multipass defaults to using Hyper-V as it’s virtualization provider. If you’d like to use VirtualBox, start either Command Prompt (cmd.exe) or PowerShell as Administrator and run:

C:\WINDOWS\system32> multipass set local.driver=virtualbox

Now, to run normal Multipass commands, open either Command Prompt (cmd.exe) or PowerShell as your regular user and you can use multipass launch to create your first instance.

With multipass version you can check which version you have running:

$ multipass version
multipass  v1.0.0+win
multipassd v1.0.0+win

Have a look at Working with instances for a rundown of the most common steps. We hope you have fun!

1 Like

I’m reliably informed that “Multipass will work on [Windows 10] Home as long as VirtualBox is used as the hypervisor”. Perhaps this article can be updated with instructions how to do that.

Separately, if this is retained, it should be version 1803 (“April 2018 Update”). (Apparently, version 1803 was build 17134.)

I made this change for now, as our VirtualBox support is a preview for now, and tricky to enable.

Will amend this when we’ve improved the story around it.

It would be nice if this instruction mentions “Make sure Hyper-V is enabled” with a link as https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v since multipass doesn’t explicitly report Hyper-V is not enabled:
https://github.com/CanonicalLtd/multipass/issues/921

Hi @nobuto,

Thanks for reporting - you’re totally right that we need to improve it, and I’ve replied on the issue:

https://github.com/CanonicalLtd/multipass/issues/921#issuecomment-512692319

I am behind a corporate firewall and I use Proxifier at times to connect through the corporate firewall. Based on the Proxifer logs it seems like it is able to download a few KB. but in the command prompt it says connection failed.

[2019.11.27 21:29:24] multipass.exe (64924) *64 - resolve localhost : DNS
[2019.11.27 21:29:24] multipass.exe *64 - localhost:50051 (IPv6) matching Localhost rule : direct connection
[2019.11.27 21:29:24] multipass.exe *64 - localhost:50051 (IPv6) open directly
[2019.11.27 21:30:32] Explorer.EXE (27956) *64 - resolve DESKTOP-JLRP7H9 : DNS
[2019.11.27 21:30:32] Explorer.EXE (27956) *64 - resolve DESKTOP-JLRP7H9 : DNS
[2019.11.27 21:32:18] PCDist.exe - 70.2.140.151:15020 matching Default rule : using proxy 70.10.15.10:8080 HTTPS
[2019.11.27 21:32:18] PCDist.exe - 70.2.140.151:15020 open through proxy 70.10.15.10:8080 HTTPS
[2019.11.27 21:32:18] PCDist.exe - 70.2.140.151:15020 close, 56 bytes sent, 8 bytes received, lifetime <1 sec
[2019.11.27 21:32:25] multipass.exe *64 - localhost:50051 (IPv6) close, 932 bytes sent, 1468 bytes (1.43 KB) received, lifetime 03:01

I actually ran it at home PC and got the same result

C:\WINDOWS\system32>multipass launch --name foo
launch failed: The following errors occurred:
foo: timed out waiting for response

I just installed on Win10 and it works well. However, it isn’t clear where virtual images are stored. More importantly it isn’t clear how (or if) I can get virtual drive images stored on my big RAID drive, or am I stuck with them in some random location?

I’d expect the info command to show the local path to the virtual drive image.

2 Likes

It would be nice to know where the VM images are being stored

How to build Multipass for Windows? I do not find any windows specific code at canonical/multipass github repo. Where is it?

I just installed Multipass (1.1.0+win) on Windows 10 Pro (1909, build 18363.693) with Hyper-V, however contrary to install documentation I did not have to set my network connection to Private (It’s still Public). Has this issue been resolved?

A post was split to a new topic: Moving files to instances on Windows

multipass runs under local system account. It stores all data in system’s user profile, located here:
C:\Windows\System32\config\systemprofile
If you need to modify some stuff, then you need to work with psexec.exe -s “some commands here”, which allows you to execute commands under the local system account.

2 posts were split to a new topic: Upgrading Multipass on Windows

Question: How do I know what my credentials are?

Hi @malkebu-lan,

I’m not sure which credentials you are referring to. Could you please explain?

@malkebu-lan, if you’re asking about user and password, the user is ubuntu without a password. You can multipass shell <instance> (shell docs here), and if you’d like to SSH into the instance, import your keys inside, or use cloud-init’s ssh module to prepopulate.

here is the latest version of virtual box according to the official website 6.1.8 here is the link https://www.virtualbox.org/wiki/Downloads

Greetings,
I have had a difficult time trying to figure out how to move multipass off the default location on my C: Drive in my windows 10 pro host. My solution was to uninstall multipass and reconfigure my hyper-v where I had no other installed VMs to store the VM information at my desired location.

The settings for the location of where configuration and VMs are stored at is found at the "Hyper-V Settings for the host in the Hyper-V manager. Is it possible to move this elsewhere or to configure it during install.

Thank you very much for making a great tool.