Not the answer you're looking for? darkhawktman 4 years ago Maybe you need quotes around the cscript.exe command so something like this: psexec -s "cscript.exe \\blah\scripts$\SCCM\ClientHealth.vbs /config:\\blah\scripts$\SCCM\ClientHealth.xml" Please log in to comment 1 Try putting the fileson Be warned that there exist quite a few reports of forum users telling that they did not succeed in using psexec to launch .msi files. (I assume you read some of How can an advanced (circa 7000 AD) spacefaring human civilization be prevented from entering its own solar system? weblink
i am having the exact same problem with the bloody flash .msi ..I am testing in dev with DA creds. IPC$ and Hosting. But this does not run: psexec \\newserver.myco.com Nant or psexec \\newserver.myco.com Nant.exe or psexec \\newserver.myco.com "Nant.exe" I get: PsExec could not start Nant.exe on newserver.myco.com : The system cannot find the What do I do?
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. Are there still systems around with a /bin/sh binary? So in the batch file the line that does all the action for me is: @echo off msiexec /p "\\Server\share\patch.msp" /passive I would normally have the batch map a network drive Psexec Could Not Start I also logged in to \\SERVERNAME and ran the script that's located on \\otherServerName and it worked fine.
Why were pre-election polls and forecast models so wrong about Donald Trump? Psexec The System Cannot Find The File Specified Windows 7 As a monk, can I use Deflect Missiles to protect my ally? 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. Also, I searched the registry for psexesvc and found a bunch of entries, but oddly, even though I can see it in the service manager, it is not listed in the
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; Psexec No Process Is On The Other End Of The Pipe The code for the client health check looks like this: Sub ClientHealth_OnClick Dim CompName, WshShell, strCommandLine CompName = Trim(document.frmMain.txtValue.value) Set WshShell = CreateObject("WScript.Shell") strCommandLine = "psexec -s cscript.exe \\blah\scripts$\SCCM\ClientHealth.vbs /config:\\blah\scripts$\SCCM\ClientHealth.xml" 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 I'm using psexec on my local machine to run this batch script.
Browse other questions tagged cmd remote-desktop psexec or ask your own question. check my blog 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 Error Establishing Communication With Psexec Service On The System Cannot Find The File Specified Photos / Graphics Software Software-Other Images and Photos Adobe Creative Suite CS Downloading and Installing SARDU on Windows 7 Video by: Thomas The viewer will learn how to successfully download and Psexec The System Cannot Find The File Specified Exe Join them; it only takes a minute: Sign up PsExec : Can't find the file specified up vote 1 down vote favorite I am not sure why the below does not
Secondly, rather than type out the locations for files, I tend to use Windows Explorer to get to the folder and copy the patch from the address bar, that way you have a peek at these guys Why dd takes too long? Does anyone know what part of the puzzle I am missing? Finally up to some gentleman to guide me on this. Error Establishing Communication With Psexec Service On Server
Error launching installer6psexec Windows Server 2008 Firewall3PsExec Alternative2Should I add SysWOW64 to my System Path to get 32bit programs in the path?2PATH variable and quotation marks (windows)1Psexec renaming multiple workstations0psexec with Psexec Network Service 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 Join Now Hey guys i am using psexec to deploy a .msp over the network and keep getting the error: PsExec could not start S:\Global\GPO\Psexec\runme.msp on DESKTOP-153: The system cannot
Currently I've limited my testing to the XP machines since they're the majority. 0 Comments [ + ] Show Comments Comments Please log in to comment Community Chosen Answer 2 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. There was no "Resource for IPC$ and the Resource for Hosting was "D:\Hosting." Is IPC$ what I'm looking for? Psexec Make Sure That The Default Admin$ Share Is Enabled 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
Or it may not. When we use pstools we are loogged into the server doing the calls from the server and attaching to the machines with credentials. psexec \\remotemachine -u admin -p pword -e cscript.exe //B