Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

SSH windows conection

I try a lot of ways

soemane could to solve this, PLEASE!

I get a crazy

This is the return line: 2023/06/01 11:55:02 GCEMetadataScripts: windows-startup-script-ps1: At C:\Windows\TEMP\metadata-scripts2271387536\windows-startup-script-ps1.ps1:3 char:1
2023/06/01 11:55:02 GCEMetadataScripts: windows-startup-script-ps1: + Set-NetIPAddress -InterfaceAlias "Ethernet" -IPAddress $ipAddress -Pr ...
2023/06/01 11:55:02 GCEMetadataScripts: windows-startup-script-ps1: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023/06/01 11:55:02 GCEMetadataScripts: windows-startup-script-ps1: + CategoryInfo : ObjectNotFound: (MSFT_NetIPAddress:String) [Set-NetIPAddress], CimJobException
2023/06/01 11:55:02 GCEMetadataScripts: windows-startup-script-ps1: + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Set-NetIPAddress
2023/06/01 11:55:02 GCEMetadataScripts: windows-startup-script-ps1:
2023/06/01 11:55:03 GCEMetadataScriptsserialport: Connected to mgsn030523.us-central1-a.luckiest030523 port 1 (session ID: 301c8118b758aa807a49deb3df825e3de7eedfe7af83bf2f0f47bbd98ca6b28d, active connections: 1).
: windows-startup-script-ps1 exit status 0
2023/06/01 11:55:03 GCEMetadataScripts: Finished running startup scripts.
2023-06-01T11:55:59.3191Z OSConfigAgent Error main.go:88: context deadline exceeded
2023-06-01T12:01:59.4184Z OSConfigAgent Warning: Error calling RegisterAgent, attempt 1, retrying in 3s: rpc error: code = DeadlineExceeded desc = context deadline exceeded
2023-06-01T12:03:02.4638Z OSConfigAgent Error main.go:88: context deadline exceeded

0 1 276
1 REPLY 1

Hello @victor_costa,

Welcome to Google Cloud Community!

It would be great if we could see the exact commands and the exact results, that would likely be useful. You can also be a bit specific with the steps that you're going through when this failure occurs. 

Don't hesitate to post back here with any questions. We are delighted to try and help.

Thanks!