diff --git a/plugins/hosts/windows/cap/rdp.rb b/plugins/hosts/windows/cap/rdp.rb index 1ae9aa4d9..aec802168 100644 --- a/plugins/hosts/windows/cap/rdp.rb +++ b/plugins/hosts/windows/cap/rdp.rb @@ -9,7 +9,7 @@ module VagrantPlugins class RDP def self.rdp_client(env, rdp_info) # Setup password - cmdKeyArgs = ["/add:TERMSRV/#{rdp_info[:host]}:#{rdp_info[:port]}", "/user:#{rdp_info[:username]}", "/pass:#{rdp_info[:password]}"] + cmdKeyArgs = ["/add:#{rdp_info[:host]}:#{rdp_info[:port]}", "/user:#{rdp_info[:username]}", "/pass:#{rdp_info[:password]}"] Vagrant::Util::Subprocess.execute("cmdkey", *cmdKeyArgs ) # Build up the args to mstsc