Knife windows winrm bootstrap question - What am I missing? I have an AWS Windows 2012 instance with 5985 open. On the windows server I have run the following to allow Winrm:
winrm quickconfig -q
set-item wsman:\localhost\shell\maxmemorypershellmb 1024
set-item wsman:\localhost\MaxTimeoutms 300000
set-item wsman:\localhost\service\allowunencrypted $true
set-item wsman:\localhost\service\auth\basic $true
But when I run knife bootstrap windows winrm IPADDRESS -N ChefWinTest --winrm-user Administrator --winrm-password "PASSWORD" --run-list 'role[system]'
Get the following;
Waiting for remote response before bootstrap.#<Thread:0x00000000078b5b80@/opt/chef-workstation/embedded/lib/ruby/gems/2.5.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:471 run> terminated with exception (report_on_exception is true):
ERROR: No response received from remote node after 3.33 minutes, giving up.
ERROR: Exception: execution expired
ERROR: HTTPClient::ConnectTimeoutError: execution expired
Any help very much appreciated!!!!