How to use psexec without admin privileges on target machine?
        Posted  
        
            by 
                HighCommander4
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by HighCommander4
        
        
        
        Published on 2011-06-14T22:10:26Z
        Indexed on 
            2012/11/27
            11:07 UTC
        
        
        Read the original article
        Hit count: 296
        
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.
© Server Fault or respective owner