当我尝试在 Google Cloud 上的 Windows Server 2012 或 2016 上设置 Active Directory(使用具有桌面体验的默认虚拟机映像)时,创建林失败并出现以下错误:
...当您创建新域时,本地管理员帐户将成为域管理员帐户。由于本地管理员帐户密码不符合要求,无法创建新域。
目前,本地管理员密码为空,这可能会导致安全问题...
这是出乎意料的,因为
尝试过的解决方案均无效:
我不知道发生了什么,所以即使是关于从哪里开始的提示也会有所帮助。
更新
尽管控制面板用户设置中只显示一个帐户,但似乎有两个单独的帐户(我的默认帐户和名为“管理员”的帐户)。我按照Google 的指示设置 AD,但是当我运行时它们失败了
net use Administrator *
Run Code Online (Sandbox Code Playgroud)
与错误
System error 67 has occurred.
The network name cannot be found.
Run Code Online (Sandbox Code Playgroud) active-directory windows-server-2012 google-cloud-platform windows-server-2016