Need help in bootstrapping a windows 2012 r2 node


#1

I am trying to bootstrapping a windows node by using “knife bootstrap windows winrm” command. but it’s saying that the connection is timed out.

  • I have disabled the firewall in windows node.

  • tried installing the chef-client manually in windows node.


#2

Did you enable WinRM? WinRM quickconfig at a command line should do it, or Enable-PSRemoting from PowerShell (which I think should be installed already depending on the image).


#3

yes have done it. I am using Azure VM.


#4

Open Inbound rule for port 5986.


#5

Very thorough winrm troubleshooting checklist: http://www.hurryupandwait.io/blog/understanding-and-troubleshooting-winrm-connection-and-authentication-a-thrill-seekers-guide-to-adventure