Install fails with error "Could not access network location *:\Hashicorp\Vagrant"

I’m trying to install Vagrant on Windows 10 Home 64 bits to the D:\HashiCorp\Vagrant\ folder. I have VirtuaBox 6.1.14 installed.

Setup fails with error “Could not access network location *:\Hashicorp\Vagrant” in the “Computing space requirements” phase.

I tried vagrant_2.2.10_x86_64.msi and vagrant_2.2.9_x86_64.msi.

There is a earlier version installed, but when I try to uninstall I get the same error message.

Help?