Is a two-prime lens possible? Re-enable them. –Ansgar Wiechers Apr 10 '13 at 14:00 add a comment| up vote 1 down vote I got it to work by elevating the local batch file to execute with Since runas does not let you save the password I am trying psexec. psexec.exe \\SERVERNAME -u userName -p DOMAIN\password cmd.exe -accepteula It is possible that the error is not refering to your script. useful reference
First if UAC is on you need to use the -h switch. Does it work with a local copy of the .vbs? –Alex K. Any ideas on what is the problem? Defendant"? official site
Also, if I remove the psexec part of the command and run the code below, it works fine: cscript.exe \\blah\scripts$\SCCM\ClientHealth.vbs /config:\\blah\scripts$\SCCM\ClientHealth.xml So my hunch is either I can't do what I'm asked 1 year ago viewed 6096 times active 6 months ago Linked 13 Force cmd.exe prompt to run NOT as admin Related 3psexec process not visible when logging on to machine2Psexec Does anyone know what part of the puzzle I am missing?
Take Survey Question has a verified solution. When I try to run the script on a server 2008 server it gives me an "access denied" error despite the fact that I'm using administrator credentials. If no session is specified the process runs in the console session. -w Set the working directory of the process (relative to the remote computer). Error Establishing Communication With Psexec Service On Server If you receive an error as follows: Could not start PsExec service on XXX: The system cannot find the path specified And see the following in the event logs on the
Most viewed posts Remove direct booking settings after migrating to Exchange 2010 Remove-ClientAccessArray blanks the RpcClientAccessServer value Event ID 9823 - An invalid event history watermark has been detected by background Error Establishing Communication With Psexec Service On The System Cannot Find The File Specified c:\windows\flash8.msi assumes that flash8.msi is located there on the remote machine as you said. 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 http://www.itninja.com/question/psexec-system-cannot-find-the-path-specified Related 3Batch files, Powershell Scripts, PSExec and System user3psexec giving the system cannot find the file specified1PsExec : Can't find the file specified0psexec bat file execution on multiple systems0Unable to run
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 Could Not Start Psexec Service Hopefully he'll come here and post, or email me back. –MathewC Dec 9 '09 at 18:01 add a comment| up vote 0 down vote Thanks Matthew. 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. 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
Backup did not complete successfully the system cannot find the file specified The system cannot find the file specified The system cannot find the specified file The system cannot find file http://stackoverflow.com/questions/15906536/psexec-giving-the-system-cannot-find-the-file-specified Sign up today to participate, stay informed, earn points and establish a reputation for yourself! Psexec The System Cannot Find The File Specified Windows 7 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. Psexec The System Cannot Find The File Specified Exe cd ..
Is it bad form to write mysterious proofs without explaining what one intends to do? see here indyitguyJan 23, 2015, 8:35 PM I know enough to sound like I know what I'm doing... I'm using psexec on my local machine to run this batch script. Under every combination listed below, the app always comes back saying, "the system cannot find the file specified". Psexec Could Not Start
Sounds like you know what you are doing... Psexec Make Sure That The Default Admin$ Share Is Enabled Why does remote Bash source .bash_profile instead of .bashrc Law case title convention: Why sometimes not "Plaintiff v. If you want to launch an .msi file remotely using psexec, you will have to specify the complete msiexec.exe commandline to psexec.
It just cannot find the path. 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 There is a work around and a caveat. Psexec The Specified Application Is Not On The Path Not sure why but it did 0 Featured Post 2016 Annual Membership Survey Promoted by Experts Exchange Want to help improve the Experts Exchange community and be entered to win two
E.g. 35mm and 50mm What's the difference between ls and la? Anyway, what it is, is it cannot find the msp file, so firstly, check, double check and triple check that the account using PSEXEC has permissions to see the file in I've found lots of posts about seeing this problem when running PsExec on a remote machine, but none for the local machine, which I am doing. http://gsbook.org/not-find/psexec-could-not-find-the-file-specified.php Word for fake religious people I'm too cold, turn up the temperature How to choose origin in rotational problems to calculate torque?// Is torque frame dependent?
I copied psexec into that folder and ran psexec ProgramName.exe psexec c:\windows\system32\ProgramName.exe psexec \\LocalComputerName c:\windows\system32\ProgramName.exe I still get the message that the file is not found I am an administrator and Why do Latin nouns (like cena, -ae) include two forms? 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. 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
http://community.spiceworks.com/topic/190312-patch-adobe-reader-x-msi-msp0 Pimiento OP Devryguy81 May 8, 2013 at 3:54 UTC I have used psexec quite a bit since I started at the school district I work for