question

EavenHuang avatar image
0 Votes"
EavenHuang asked GaryReynolds commented

PSExex tools not working

Dear Experts,

I'm trying to use PsExec tools to remotely access our client PC where I have local admins permission, I'm also having our AD admins permission.
I can remote desktop to access that PC (actually I tried 3 PCs with same error) but can't use PsExec no matter what.

Any idea what I have done wrong?
Thanks a lot!

 PsExec v2.34 - Execute processes remotely
 Copyright (C) 2001-2021 Mark Russinovich
 Sysinternals - www.sysinternals.com
    
 Password:
    
 PsExec could not start cmd on e206-23:
 Logon failure: the user has not been granted the requested logon type at this computer.
windows-serverwindows-sysinternals-pstools
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

GaryReynolds avatar image
0 Votes"
GaryReynolds answered GaryReynolds commented

Hi @EavenHuang

The account you are using to run PsExec is not a member of the administrators at the remote workstation or it hasn't been granted 'Access this machine from the network' rights.

196870-image.png

Gary.


image.png (28.7 KiB)
· 2
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.

Hi @GaryReynolds,

The account is a member of local administrator and even member of domain administrator. Any other clues?

0 Votes 0 ·

If the account has the rights and you are running it from a command prompt with run as administrator, then have a look at this post, which suggests that the later versions on PSExec now requires a -i parameter https://docs.microsoft.com/en-us/answers/questions/233240/logon-failure-the-user-has-not-been-granted-the-re.html

Gary.

0 Votes 0 ·