Is it possible to use psexec
to execute a command on a remote machine without having admin privileges on the remote machine?
I tried running psexec \\<machine> -u <username> -p <password>
, where <username>
and
<password>
are non-admin credentials, but I get an "access denied" error
I can remote desktop into the remote machine with the same credentials without any problems.
My local machine is running Windows 7 Enterprise 64-bit, and the remote machine is running Windows Server 2008 64-bit. I do have admin privileges on the local machine.
EDIT: To all the people who are downvoting this question: I am not trying to circumvent any sort of security measure. I can already run the process on the remote machine by remote desktop-ing into the remote machine and running it. I'm simply looking for a command-line way to do something I can already do through a GUI.