Home > The System > Psexec Copy The System Cannot Find The File Specified

Psexec Copy The System Cannot Find The File Specified

Contents

asked 3 years ago viewed 31069 times active 11 months ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Linked 5 Make sure that the default admin$ share is enable c:\windows\system32\psexec \\Localhost "c:\windows\system32\ProgramName.exe" Go to Solution 2 Participants Anuroopsundd LVL 17 Software-Other2 ajdratch 2 Comments LVL 17 Overall: Level 17 Software-Other 2 Message Accepted Solution by:Anuroopsundd2012-04-09 Anuroopsundd earned 500 total psexec.exe \\SERVERNAME -u userName -p DOMAIN\password cmd.exe -accepteula It is possible that the error is not refering to your script. PsExec : not is the same league Upgrading to Windows 10 Home Pages Software Deployment Tips Questions Blog Posts Shared Links FAQ & Support Site FAQ AppDeploy FAQ About ITNinja weblink

current community blog chat Super User Meta Super User your communities Sign up or log in to customize your list. But it would not do any harm. 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 My command is (computer ip, username & password removed): psexec -i 1 -d -l \\*IP* -p *** -u *** -c -f "dep.cmd" The file is copied into C:\Windows.

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

So no path is needed. 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 c:\windows\flash8.msi assumes that flash8.msi is located there on the remote machine as you said. As a monk, can I use Deflect Missiles to protect my ally?

SMal.tmcc 4 years ago You can create a special share and give "everyone" read rights then you would not need any credentials to see the files at all. psexec \\remotemachine -u admin -p pword -e cscript.exe //B \abc.vbs working fine. Performance difference in between Windows and Linux using intel compiler: looking at the assembly What crime would be illegal to uncover in medieval Europe? Error Establishing Communication With Psexec Service On Server maybe it's looking for itself in the wrong place?

Does Intel sell CPUs in ribbons? I have found a workaround but the problem still exists if I tried to execute the file directly.Edited by Shirish - 05 January 2007 at 1:21am Regards, Shirish Karlchen Members Profile I Need a script that runs an existing script, waits a specified time then runs another existing script Dell K1000 - Service Desk - Show ticket information to other user Could http://www.tomshardware.com/answers/id-2500142/psexec-system-find-file.html psexec and dep.cmd are in the same folder on local computer windows cmd psexec share|improve this question asked Feb 7 '14 at 14:55 Nately 226136 Even when I use

What is a satisfactory result of penetration testing assessment? Psexec Make Sure That The Default Admin$ Share Is Enabled 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 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; Why are wavelengths shorter than visible light neglected by new telescopes?

Psexec The System Cannot Find The File Specified Windows 7

IPC$ and Hosting. http://stackoverflow.com/questions/15906536/psexec-giving-the-system-cannot-find-the-file-specified 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 Error Establishing Communication With Psexec Service On The System Cannot Find The File Specified 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. Psexec Could Not Start The System Cannot Find The Path Specified 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

Hi, are you sure that the PatchPacke is .msp ? have a peek at these guys What is the most efficient & fastest way to speed up the installation of packages with thousands of items? If the msiexec command you are using is able to run successfully when run locally, then chances are running it over psexec will also work. Not the answer you're looking for? Psexec The System Cannot Find The File Specified Exe

The file is flash8.msi and I have tried copying the file both to c:\ and c:\windows\ to get it within the path. Answered 07/26/2012 by: Arminius Please log in to comment SMal.tmcc 4 years ago last edited 4 years ago You are probably on to something here,We use a script to create CMD's 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 check over here I'm running this script on server 2003, 2008, and 2012.

Hoping the community here may have a solution or at least suggestions. Psexec No Process Is On The Other End Of The Pipe Will I get the same result if I use 18-55mm lens at 55mm (full zoom) and 55-200mm lens at 55mm (no zoom), if not, then why? This is an msiexec kludge I was butting my head against.

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

But as I am thinking about this, psexec used to push to the system32 path, and then they changed it to push to the windows path. Actually, I have not tested it (yet), but constructed it from what I learnt by using psexec. First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone. Psexec Couldn't Access batch-file vbscript psexec share|improve this question edited Dec 7 '14 at 18:17 Alex.K. 1,58171629 asked Jul 21 '14 at 15:24 giacmeister 15116 Are you logged on to \\otherServerName ?

Remember, the executable IS getting to the remote machine, and it IS installing the service! I'm guessing it saw the " and began appending that to filepaths plus your executable –Shial Dec 11 '09 at 13:33 As an FYI in procmon you can rightclick Creating your account only takes a few minutes. this content Can Trump undo the UN climate change agreement?