Home > Cannot Find > Psexec Could Not Start Cannot Find The File

Psexec Could Not Start Cannot Find The File


Not the answer you're looking for? Any ideas on what is the problem? At my company we have an SCCM web console that support staff can access for certain tasks, one of which is to check SCCM client health on one of our PCs. About the kanji 鱈 As a monk, can I use Deflect Missiles to protect my ally? http://rss4medics.com/cannot-find/psexec-could-not-start-cannot-find-the-file-specified.php

psexec \\remotemachine -u admin -p pword -e cscript.exe //B \abc.vbs working fine. Polyglot Anagrams Cops' Thread Alternating Fibonacci Drawing a torso with a head (using \draw) Basic Geometric intuition, context is undergraduate mathematics What legal documents are Italian citizens supposed to carry when Get 1:1 Help Now Advertise Here Enjoyed your answer? You don't need double quotes in a PATH variable, its the semi-colons that mark where things are rather than spaces.

Error Establishing Communication With Psexec Service On The System Cannot Find The File Specified

Neither the -i worked, nor did specifying a working directory. It also tries "C:\Windows\SysWOW64\"C:\Program Files (x64)\nant"'\nant.exe" - with result "NAME INVALID" is this a mangled path or something else special? –Anthony Dec 10 '09 at 18:27 add a comment| 3 Answers did you use cmd instead of the full path? –Frank Thomas Sep 27 '15 at 17:12 Yeah, as I mentioned in my post, the exact same command works on Add Cancel × Insert code Language Apache AppleScript Awk BASH Batchfile C C++ C# CSS ERB HTML Java JavaScript Lua ObjectiveC PHP Perl Text Powershell Python R Ruby Sass Scala SQL

also, i think you're supposed to use the /p parameter when installing an update: msiexec /p "Update.msp". 0 Pimiento OP Phil316 May 2, 2013 at 9:36 UTC 1st psexec does run and tries to reach the msi file, so it's the msi file that can't be found, not psexec. psexec \\remotemachine -u admin -p pword flash8.msi psexec \\remotemachine -u admin -p pword -c flash8.msi psexec \\remotemachine -c flash8.msi psexec \\remotemachine -u admin -p pword -w c:\windows flash8.msi psexec \\remotemachine -u Error Establishing Communication With Psexec Service On Server I am seen in darkness and in light, What am I?

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! How can I take a powerful plot item away from players without frustrating them? I'm using psexec on my local machine to run this batch script. I and am using the latest version of PsExec.exe, which is currently 2.11, and am running the command prompt that I use to launch PsExec as admin, so it should have

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 Psexec The Specified Application Is Not On The Path 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 Please log in to comment Answers 1 Whenever I have ran psexec in the past I have had to use the -u and -p commands to add the user name and Join them; it only takes a minute: Sign up PSEXEC The system cannot find the file specified error up vote 2 down vote favorite I'm trying to run a batch script

Psexec The System Cannot Find The File Specified Windows 7

If you want to launch an .msi file remotely using psexec, you will have to specify the complete msiexec.exe commandline to psexec. his comment is here It doesn't look like anything you've done is wrong, it's just either a permissions or location issue.   So I would d something like this.   ***Assuming PSEXEC is located at Error Establishing Communication With Psexec Service On The System Cannot Find The File Specified By creating an account, you're agreeing to our Terms of Use, Privacy Policy and to receive emails from Spiceworks. Psexec The System Cannot Find The File Specified Exe Using Alan Hayes' suggestion to copy the .msp locally first then coupled with a slight modification of your psexec command that runs it from the local location will probably do the

Privacy Policy Site Map Support Terms of Use Home psexec problems by Johnstod on May 2, 2013 at 8:02 UTC | Networking 0Spice Down Next: Baffling noisy Netgear switch TECHNOLOGY IN have a peek at these guys I noticed that you don't have the computer name in the psexec command line that the command runs on. How do I make an alien technology feel alien? Help Desk » Inventory » Monitor » Community » Sign in Gallery MSDN Library Forums Get started for free Ask a question Quick access Forums home Browse forums users FAQ Search Psexec Could Not Start The System Cannot Find The Path Specified

If I run it from a non-elevated command prompt, it works fine. The script in question lives in a folder that Everyone has read/write/execute access to, and the System account has Full Control of. this works fine on the other servers, which run Server 2003, also 64 bit. http://rss4medics.com/cannot-find/psexec-cannot-find-the-file-specified-unc.php cd ..

Best answer indyitguyJan 28, 2015, 2:58 PM Figured it out... Psexec No Process Is On The Other End Of The Pipe Creating your account only takes a few minutes. Kind regards, Karl Edited by Karlchen Harlan Members Profile Send Private Message Find Members Posts Add to Buddy List Newbie Joined: 27 October 2005 Location: Canada Status: Offline Points: 6 Post

Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the

Is there still a way to prevent Trump from becoming president? c:\windows\system32\psexec \\Localhost "c:\windows\system32\ProgramName.exe" 0 Message Active 3 days ago Author Closing Comment by:ajdratch2012-04-09 Comment Utility Permalink(# a37825846) Using localhost instead of computer name worked. Personally, I've seen lots of people have problems with the username/password specs for psexec, so I wonder if they aren't a little buggy. Psexec Network Service In a nutshell, it details an issue with Visual Studio .NET whereby the process has trouble running correctly because of the user profile.The fix they suggest is to pass the ALLUSERS=2

If you doubleclick on an .msi file locally, you actually launch msiexec.exe which loads the .msi file. maybe it's looking for itself in the wrong place? 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 http://rss4medics.com/cannot-find/psexec-cannot-find-file-specified.php I get around this by launching psexec, mapping a drive to what I want run using my user credentials, then running the command from the mapped drive.

When we use pstools we are loogged into the server doing the calls from the server and attaching to the machines with credentials. Join our community for more solutions or to ask questions. Please log in to comment 0 Okay, I've finally got back to this task. Build me a brick wall!

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 So here's my new command line: strCommandLine = "[path]\psexec.exe \\" & CompName & " -s -w C:\ClientHealth C:\Windows\system32\cscript.exe C:\ClientHealth\ConfigMgrStartup.vbs /config:\C:\ClientHealth\ConfigMgrStartup.xml" Everything else from the code in my original post is the Please log in using one of these methods to post your comment: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.Would you like to participate?

Anybody have an idea on what is causing the issue? 4 answers Last reply Apr 12, 2016 Best Answer Jan 28, 2015 More about psexec system find file reedo_43Jan 23, 2015, The ones that I think may be relevant involve Process Name: PSEXECSVC.EXE doing things like FASTIO_NETWORK_QUERY_OPEN on "C:\Windows\Nant.exe" and other similar paths. The /p parameter tells the msiexec engine that you are trying to install a patch package rather than a full installer (.msi). 1 Sonora OP Best Answer Alan As far as I know the local System account does not have the privilege to access network resources, thus it is unable to find the patch package (.msp).

Maybe cmd or cscript is not part of the $env:Path of that server. –Matt Jul 21 '14 at 19:03 Looks like you are trying to copy files from a What I find it best to do is to firstly, allow PSEXEC to run a .bat file with the install commands for update, rather than get it to run the update So no path is needed. Would we find alien music meaningful?

Actually, I have not tested it (yet), but constructed it from what I learnt by using psexec. The software is free when… Office / Productivity Software-Other Advertise Here 788 members asked questions and received personalized solutions in the past 7 days. So the solution is to copy what you want to run to the local machine, with simple things just usign the -c switch in psexec works, but I see someone was It just cannot find the path.

First if UAC is on you need to use the -h switch.