Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

PsTools : PSExec does not execute remote command

$
0
0
Author: Ben_
Subject: PSExec does not execute remote command
Posted: 11 April 2014 at 3:09pm

Originally posted by rvirene rvirene wrote:

Greetings,

I am running this command and and getting no result, nor an error message. It looks like it executes without issue, but nothing happens.

psexec \\deninf05 -s -u xxx -p xxx cmd /c del "c:\temp\temp.txt"

Details:
Windows version of the local machine: I've tried it from Windows 7 64 bit and Windows 2003 64 bit.
Windows version of the target machine: Win7, Windows 2003 64 bit and Windows 2008R2 
The exact version of the PSTools command you use. 2.10.0.0
The exact command line as you typed it. See above
The exact error message which you received on the local machine. There is no message at all. 

I have tried other simple commands (open notepad) and nothing has any result. I've read through the "before you post" section and my target machines seem to meet the criteria specified. 

Any help is much appreciated.
Rick


Without knowing the ACL of your C:\Temp then I say youshouldn’t need the –s flag.

Try psexec \\deninf05 -u xxx -p xxx del /q c:\temp\temp.txt




Edited by Ben_ - 14 hours 49 minutes ago at 3:11pm

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>