#StackBounty: #windows #virtualbox #vagrant Vagrant hangs on SSH auth method: password

Bounty: 100

I’m trying to load a VM via Vagrant. It’s my first time attempting anything like this.

I’m using Windows 10 64bit and trying to run my MS Server 2016 standard.

I created a new VM in VirtualBox and added MS2016 standard.

I have created a box.

From Powershell (as admin), I type in vagrant up and the problem is I get the following error message

SSH auth method: password

The VM still loads, and I can CTRL ALT DELETE and log in fine. However, the powershell window doesn’t progress from the message above

Now this is quite well documented on StackOverflow and GitHub but all the posts about this are very old. And, my issue is not solved by what I’ve read, which I’ll try to cover here without boring you with a massive list.

And they come down to enable VT-X and ensure network path
https://superuser.com/a/1051626/293658 shows I need to enabled VT-X (which I have) but disable Virtualisation in the BIOS. I don’t have the option to disable Virtualisation in the BIOS on my ASUS p8z77-v motherboard

https://www.vagrantup.com/docs/boxes/base.html provides what I need to do for
Windows, which I have done:

  • Turn off UAC (including registry edit)
  • Disable complex passwords
  • Disable “Shutdown Tracker”
  • Disable “Server Manager” starting at login (for non-Core)

On my computer, I disabled all anti virus and firewall stuff.

The only point I can think of is, I didn’t provide Vagrant any username/password details but the admin on the virtual machine is (user) vagrant and (password) vagrant

I also tried using the VagrantFile as many complain about the network cable so my VagrantFile is

Vagrant.configure("2") do |config|

   config.vm.provider "virtualbox" do |vb|
     vb.gui = true
     config.ssh.username = "vagrant"
     config.ssh.password = "vagrant"
     config.ssh.insert_key = false
     vb.customize ["modifyvm", :id, "--cableconnected1", "on"]

  config.vm.provision 'Task', :type => 'shell', :path => "Task.ps1", :powershell_elevated_interactive => false


When the VM boots via Vagrant , this is the bottom toolbar to show that all parts are “working”

enter image description here

If I go to Control Panel -> Programs and Software and choose from the menu on left Turn on or Turn off Windows functions it shows Hyper-V is not enabled

Why does it not log into my Windows Desktop?

VirtualBox version 5.2.8
Vagrant version 2.0.2

Get this bounty!!!

Leave a Reply