0

我有一个与 gMSA CredentialSpec 一起启动的现有 Windows 容器,其托管的 IIS Web 应用程序可以完美地处理 Windows 身份验证。正在运行的容器正在与域控制器完美通信。我想使用不同的域帐户启动会话或 powershell 进程以运行进程。我只能以用户 "ContainerAdministrator" 或 "ContainerUser" 身份运行进程,但不能以域用户 (MyDomain\Richard) 身份运行进程。当我创建一个 Credential 对象并将其传递给参数的Start-Processcmdlet 时,-Credential我收到此错误消息。

Start-Process : This command cannot be run due to the error: The security database on the server does not have a computer account for this  
workstation trust relationship.

任何人都可以帮助我使用域帐户运行会话或处理线程吗?

4

0 回答 0