Worth checking the firewall rules. I think I had something like this happen first time I set up 2012 server, but I probably wasn't using basic auth.
From memory I had an error when the following line of the setup script ran:
|
| #FIrewall |
| netsh advfirewall firewall add rule Profile=public name="Allow WinRM HTTPS" dir=in localport=5986 protocol=TCP action=allow |
|
I think the problem was the Profile=public part. Yeah, that was it, I had to tweak it to Profile=domain on 2012 but it had been happy on 2008r2 as is.
Bear in mind I was using a domain account, so not the same issue as you, but perhaps worth checking the firewall configuration anyway?
Jon