本地管理员部署到服务器失败

Deployment to Server fails with local Administrator

尝试使用服务器上的本地管理员帐户将我的版本部署到服务器时,我收到消息:

7-05-09T08:12:50.6866361Z 2017/05/09 10:12:50 ERROR 5 (0x00000005) Getting File System Type of Destination \server\C$\temp\

2017-05-09T08:12:50.6866361Z Access is denied.

在 robocopy 到远程服务器期间。

当尝试使用我的域帐户(也是管理员)时,它没有任何问题。

我错过了什么?

确保 UNC 路径 \server\C$\temp\ 可以通过您用作构建服务帐户的本地帐户来实现。

建议您使用域用户访问域资源。或者您可以将该文件夹 \server\C$\temp\ 共享给所有人并授予读写权限。

如果你坚持使用本地账户,作为workaround:

local accounts on each member server where the shared folders are stored will have to be created to directly map to the same username/password combinations the users are using on each local machine. For example, on client 1, local user named A, password xxxx, on the server which stores the shares, you need to create a local user named A with the same password xxxx.