I amn trying to test out how PsExec work. However, even when I'm trying to simply send a 'echo Hello', with the correct password and everything, it says that couldn't access the other computer.
Here's what my command looks like:
C:\PSTools>psexec \\COMPANY-PCNN -u "COM Pany - PCNN" -p PCNN echo Hello
PsExec v2.2 - Execute processes remotely
Copyright (C) 2001-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
Couldn't access COMPANY-PCNN:
Access is denied.