Need help in bootstrapping a windows 2012 r2 node


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.


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).


yes have done it. I am using Azure VM.


Open Inbound rule for port 5986.


Very thorough winrm troubleshooting checklist: