question

VassiliK-7029 avatar image
0 Votes"
VassiliK-7029 asked Castorix31 answered

Process returns the code 1385 on EPsxec.exe

I am running PsExec.exe from the .bat script (which calls another .bat script). At first, program for very shot moment shows the Command prompt window with:
"PsExec v 2.1 - Execute process remotely".

And right on the top of first screen shows anothe Command prompt:
"Process returns the code 1385".

We recently copied /PsTools/ folder from old test machine to a new one. I entered license just by double click PsExec.exe and excepted License.
May be significant detail: the .bat script changes LANID to another test user. (For whom the license was not accepted).

What this error "Process returns the code 1385" actually means? And how to make it run?
Thank you.

windows-sysinternals-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Castorix31 avatar image
0 Votes"
Castorix31 answered

If you look the doc, it says :

ERROR_LOGON_TYPE_NOT_GRANTED
1385 (0x569)
Logon failure: the user has not been granted the requested logon type at this computer.

You can see the answer from foxmsft in this thread : PsExec: Logon failure: the user has not been granted the requested logon type at this computer.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.