mitchellh / vagrant-aws

Use Vagrant to manage your EC2 and VPC instances.
MIT License
2.61k stars 574 forks source link

CMDKEY: The parameter is incorrect. #500

Open mohamaa opened 7 years ago

mohamaa commented 7 years ago

I am trying to run vagrant up for one of AWS ec2 windows server.

But it failed to do the SMB folder sync and throws this error: CMDKEY: The parameter is incorrect.

I tried running this command on my vagrant host machine and it threw the same error. But if I do it with the actual IP, it works and add the credentials.

Not working: cmdkey /add:fe80::100:7f:fffe%11 /user:Administrator /pass:XXXXXXXXXXX

Working: cmdkey /add:54.144.117.21 /user:Administrator /pass:XXXXXXXXXXXX

I want to know if there is any way in vagrant for windows so that it takes the IP instead of IPV6 address?