psexec error deriving session key, object already exists

TMG Administrator 0 Reputation points
2023-03-01T01:09:34.3+00:00

I have been using psexec to call a remote service on a windows machine in our smb domain. I've recently added a new user to a machine and now psexec is returning an error from that machine when I try to run the script:

psexec -s \remotemachine "C:\Program Files (x86)\remoteapplication.exe" /xml \filePath.xml

Error deriving session key: object already exists.

Its working from from all other machines on the network, the new user has required group membership to run the remote command, no changes have been made that I am aware of? I have not been able to find any useful information about this error?

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,132 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. João Gross 0 Reputation points
    2024-01-15T18:08:53.2033333+00:00

    I'm having the same problem. Without any apparent changes to my system (PC A), now when I try to use PSEXEC I get the error you mentioned. Also, from another PC (PC B), I can run PSEXEC with the same credentials and no error. So, from PC A I get the error, and from PC B no error.
    Trying to run the script below I get the error:

    psexec.exe -s -i \remote-machine cmd
    Error deriving session key: object already exists.

    Any updates on this problem?

    0 comments No comments