默认启动脚本未自动安装,因此会出错。 显示的错误是:“连接被拒绝,因为用户帐户未获得远程登录授权”
Calling oobe-script from metadata.
attributes/sysprep-oobe-script-bat value is not set or metadata server is not reachable.
attributes/sysprep-oobe-script-cmd value is not set or metadata server is not reachable.
attributes/sysprep-oobe-script-ps1 value is not set or metadata server is not reachable.
Running schtasks with arguments /run /tn GCEStartup
--> SUCCESS: Attempted to run the scheduled task "GCEStartup".
-------------------------------------------------------------
Instance setup finished. palids is ready to use.
-------------------------------------------------------------
Booting on date 02/14/2015 15:34:18
attributes/windows-startup-script-bat value is not set or metadata server is not reachable.
attributes/windows-startup-script-cmd value is not set or metadata server is not reachable.
attributes/windows-startup-script-ps1 value is not set or metadata server is not reachable.
我尝试了一些命令,但没有运气。我该如何克服这个问题?
答案 0 :(得分:0)
1 - 您的初始用户名必须与主机名/ VM名称不同,并且;
2 - 在VM创建期间选择的密码必须满足密码复杂性要求:
可以找到有关GCE文档的综合Windows here。还要考虑Windows VM在完全可用之前通常需要10分钟,如Windows on GCE documentation中所述。