diff --git a/lib/vagrant/machine.rb b/lib/vagrant/machine.rb index 83a7f4f78..53e48050f 100644 --- a/lib/vagrant/machine.rb +++ b/lib/vagrant/machine.rb @@ -128,6 +128,13 @@ module Vagrant # state we setup on this machine. @provider = provider_cls.new(self) @provider._initialize(@provider_name, self) + + # If we're using WinRM, we eager load the plugin because of + # GH-3390 + if @config.vm.communicator == :winrm + @logger.debug("Eager loading WinRM communicator to avoid GH-3390") + communiate + end end # This calls an action on the provider. The provider may or may not