I'm trying to execute commands to a remote server offsite and PSExec for some reason is not working.
C:\> psexec \\LOC-Server -u AdminUser -p AdminPW cmd
This won't even let me run command prompt. But when I RDP into \\LOC-Server with the AdminUser and AdminPW credentials I'm able to get on it.
What am I doing wrong?
EDIT: I have also tried Domain\AdminUser
but that hasn't worked either.
Best Answer
Try doing it like this:
Or, it could be due to: