{"action":"opened","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/5797","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5797/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5797/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5797/events","html_url":"https://github.com/mitchellh/vagrant/issues/5797","id":85534262,"number":5797,"title":"smb synced folder may break on windows host/windows guest","user":{"login":"mwrock","id":655165,"avatar_url":"https://avatars.githubusercontent.com/u/655165?v=3","gravatar_id":"","url":"https://api.github.com/users/mwrock","html_url":"https://github.com/mwrock","followers_url":"https://api.github.com/users/mwrock/followers","following_url":"https://api.github.com/users/mwrock/following{/other_user}","gists_url":"https://api.github.com/users/mwrock/gists{/gist_id}","starred_url":"https://api.github.com/users/mwrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwrock/subscriptions","organizations_url":"https://api.github.com/users/mwrock/orgs","repos_url":"https://api.github.com/users/mwrock/repos","events_url":"https://api.github.com/users/mwrock/events{/privacy}","received_events_url":"https://api.github.com/users/mwrock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-05T13:33:18Z","updated_at":"2015-06-05T13:33:18Z","closed_at":null,"body":"It had been a while since using synced folders on a windows host to a windows guest and when I `vagrant up`'d I got the following error:\r\n```\r\nThe following WinRM command responded with a non-zero exit status.\r\nVagrant assumes that this means the command failed!\r\n\r\ncmdkey /add:fd00::c569:792d:e7cb:4e26 /user:matt /pass:<pass>\r\n\r\nStdout from the command:\r\n\r\n\r\nStderr from the command:\r\n\r\n```\r\n\r\nThe guest is attempting to authenticate to the host with the IPv6 IP. Even though the host does appear to be reachable on this IP, the `cmdkey` command does not like it but is happy with ipv4. It appears this began with pr #5349. The former WMI method returned IPs sorted with ipv4 on top while, at least on my host, `Get-NetIPAddress` sorts with ipv6 on top.\r\n\r\nI will submit a fix.\r\n"}}