I am hoping someone can give me some clarity regarding an issue i am having. I think i know the answer but just wanted to put it out there, to see whether if anyone is able to advise otherwise.
We are using PSEXEC with an account that does not have Administrative rights to the destination server. When typing the following command i receive: psexec -s \\servername cmd
Couldn't access servername:
Access is denied.
Once connected to the remote host i want all the commands to run using the local system account, as specified with the "-s" switch.
Am i right in thinking that the initial conection to the servers uses the credentials of the user initiating the connection, but once successfully connected to the server any subseqent commands are then run using the local system account?
Is there anyone to have PSEXEC successfully connect to a remote host with a user that is not an administrator on the server?