Possible to give “Network Service” on one computer permission to a directory on another computer?

前端 未结 2 1428
死守一世寂寞
死守一世寂寞 2021-01-02 04:05

I have a file:

\\\\Computer1\\Share\\file.pdf

and I need to open in using a service running as the network service account on another compu

相关标签:
2条回答
  • 2021-01-02 04:09

    Yes.

    If both servers are on the same domain then you can enable access to the share for Domain1\Computer2$ (where Computer2$ represents Network Service on Computer2).

    0 讨论(0)
  • 2021-01-02 04:34

    If it were me, I'd use a domain account to run the service and grant that same domain account the appropriate permissions on the remote computer.

    I don't like to claim this is the answer as whilst it would resolve the problem it doesn't address the question as asked - but it is the "right" solution, assuming that its possible to elect to run the service using something other the Network Service account...

    0 讨论(0)
提交回复
热议问题