Perhaps it is the installation of psexesvc as a service that is failing? –user44976 Jan 19 '11 at 18:33 add a comment| Your Answer draft saved draft discarded Sign up Login. Not the answer you're looking for? Is it because this script is run against a bunch of servers and you don't necessarily know the OS on the server? –shufler Dec 10 '09 at 16:34 shufler; weblink
What crime would be illegal to uncover in medieval Europe? PSEXEC will then log on to the PC in question, and pull the bat, which then does all the work, and with the -d switch put in before -s, it will maybe it's looking for itself in the wrong place? asked 2 years ago viewed 10539 times active 4 months ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Get the weekly newsletter!
psexec share|improve this question asked Jul 8 '13 at 7:41 Siddharth Sinha 2614 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote I'm not sure what So your psexec command line should look more or less like this: psexec \\remotemachine -i -u admin -p pword msiexec.exe /i c:\windows\flash8.msi More or less means: I am not absolutely sure Still scratching my head. Please log in to comment 0 Okay, I've finally got back to this task.
I do not know if you have to add a trailing backslash (C:\Program Files(x86)\nant\ ) or not, try it both ways. Bob share|improve this answer answered Jan 19 '11 at 18:22 user44976 I copied the executable to the windows/system32 path and it still did not work. psexec share|improve this question edited Sep 28 '15 at 19:09 asked Sep 25 '15 at 22:48 deadlydog 318412 1 try psexec \\localhost -i -u "NT AUTHORITY\NETWORK SERVICE" cmd. http://forum.sysinternals.com/cannot-find-the-file-specified_topic2542.html About the kanji 鱈 Ballpark salary equivalent today of "healthcare benefits" in the US?
Remember, the executable IS getting to the remote machine, and it IS installing the service! Psexec No Process Is On The Other End Of The Pipe Note the -i and /i switches: -i tells psexec to open an installer window on the remote machine so you can interact with the installer there. /i is directed to msiexec.exe Join them; it only takes a minute: Sign up psexec giving the system cannot find the file specified up vote 3 down vote favorite 2 I'm trying to run this from i am having the exact same problem with the bloody flash .msi ..I am testing in dev with DA creds.
Safety - Improve braking power in wet conditions Can negative numbers be called large? More Bonuses Help Desk » Inventory » Monitor » Community » Error Establishing Communication With Psexec Service On The System Cannot Find The File Specified The command lists the shares provided by the host. Psexec The System Cannot Find The File Specified Exe I can verify that Nant is on the path on newServer: C:\>path PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;"C:\Program Files (x86)\nant" And if I type "nant" in a command window on that machine, I get nant's output.
Browse other questions tagged cmd remote-desktop psexec or ask your own question. have a peek at these guys Now so far for the theory. Try running it any other account apart for system account Answered 08/01/2012 by: hrs2cool Please log in to comment SMal.tmcc 4 years ago You can create a special share and How to capture disk usage percentage of a partition as an integer? Error Establishing Communication With Psexec Service On Server
If you do not want to use psexec there is another simple way out. –Waman Jul 22 '14 at 11:25 @Waman You are correct, I'm using a script from Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures. So no path is needed. check over here Unless the system space on the local machine has rights to that share, it won't be found.
Average Rating 4 25206 views 07/26/2012 Scripting Microsoft System Center Configuration Manager (SCCM) VBScript Microsoft PsExec Bit of background first, then the question, which I've also asked on the Sysinternals forum Psexec Couldn't Access more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed How can an advanced (circa 7000 AD) spacefaring human civilization be prevented from entering its own solar system?
eg: COPY RUNME.MSP \\pcname\c$\temp PSEXEC \\PCNAME C:\TEMP\RUNME.MSP I have had problems before with psexec running things from network locations and not locally. 0 Sonora OP Allan CMD works because the very first item in the path variable is C:\windows\system32 so it tries c:\windows\system32\cmd.exe which works so it never tries the other ones. I've also tried it this way: psexec IpAddress -u domain\user -p pword c:\Autobatch\ClientJobSender.exe http://reportserver.net:8070/JobExecutor.asmx c:\AutoBatch\backup\trigger.xml but get a unknown user or bad password. this content You can get rid of this message box by completing a manual restart, or drag the box out of the way until you have time." You can then call the batch
I tried this, and lo and behold, it worked.So as it turns out, psexec is working perfectly. Polyglot Anagrams Cops' Thread How to decline a postdoc interview if there is some possible future collaboration? CONTINUE READING Join & Write a Comment Already a member? Does it work with a local copy of the .vbs? –Alex K.
Answered 08/24/2012 by: RonW Please log in to comment Please log in to comment Answer this question or Comment on this question for clarity AnswerSubmit Don't be a Stranger! You also need to be able to access ports 135/tcp (RPC endpoint mapper) and 445/tcp (Direct SMB) on the remote host. Script Host error Lenovo-31300.vbs the system cannot find the file specified When installing Ethernet Driver an error pops up saying "The system cannot find the file specified" Can't find your answer Is the Čech cohomology of an orbifold isomorphic to its singular cohomology?
Edited by breunor Karlchen Members Profile Send Private Message Find Members Posts Add to Buddy List Senior Member Joined: 18 June 2005 Location: Germany Status: Offline Points: 5141 Post Options Post Edit, I got the same error until I specified localhost. –Frank Thomas Sep 25 '15 at 23:02 I still get the same error when I include \\localhost as you asked 1 year ago viewed 5408 times active 5 months ago Visit Chat Linked 12 Force cmd.exe prompt to run NOT as admin Related 3psexec process not visible when logging on Or it may not.