Help Desk » Inventory » Monitor » Community » MenuExperts Exchange Browse BackBrowse Topics Open Questions Open Projects Solutions Members Articles Videos Courses Contribute Products BackProducts Gigs Live Courses Vendor Services I noticed that you don't have the computer name in the psexec command line that the command runs on. Browse other questions tagged batch-file vbscript psexec or ask your own question. Login. check over here
I do not know if you have to add a trailing backslash (C:\Program Files(x86)\nant\ ) or not, try it both ways. Does Intel sell CPUs in ribbons? psExec cannot, so either cmd is doing something extra with the path, or psExec is not doing enough. I tried this, and lo and behold, it worked.So as it turns out, psexec is working perfectly.
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 So I know that it can find the vbscript just fine from another server. @AlexK. –giacmeister Jul 21 '14 at 15:32 I would try and log onto the server Why is (a % 256) different than (a & 0xFF)?
I receive this error message on multiple computers, but it works on others; with a mix of Windows Server 2008 R2 and 2012 R2. But it would not do any harm. Not the answer you're looking for? Psexec Could Not Start Hopefully, this will be useful information to someone else out there having the dreaded 1603 issue.Here's what my final line of psexec code looks like:psexec \\machinename -u username -p password msiexec
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 Error Establishing Communication With Psexec Service On The System Cannot Find The File Specified The solution is amazingly s… Document Imaging Document Management Images and Photos Software-Other Photos / Graphics Software Tableau - How to Compute and Filter Prior Business Day Article by: Brian This 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 read this article I'm running this script on server 2003, 2008, and 2012.
asked 2 years ago viewed 10539 times active 4 months ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Visit Chat Related 3Batch files, Powershell Scripts, PSExec and System user3psexec 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 Psexec The System Cannot Find The File Specified Windows 7 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 The System Cannot Find The File Specified Exe Second if you explicitly pass the user account using -u "domain\username" then it will allow you access to the UNC paths. 0 This discussion has been inactive for over a year.
Actually, I have not tested it (yet), but constructed it from what I learnt by using psexec. check my blog As a test, I changed the "-s" parameter to -u -p and used my username and password. 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). 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 Server
US Election results 2016: What went wrong with prediction models? Psexec Make Sure That The Default Admin$ Share Is Enabled Any ideas on what is the problem? I create a batch file with the following: msiexec /i \\server\share\acro\acro8\ar.msi /qnshutdown -r -t 180 -c "Your computer was recently updated with Adobe Acrobat Reader 8.0, and will restart in 3
Can I run a batch file in managed install quietly? What's up with the path over psexec on 2008? run cmd as administrator paste your command then try again. 1 Serrano OP Johnstod May 2, 2013 at 9:11 UTC Yes the patch is a .msp the company Psexec Couldn't Access maybe it's looking for itself in the wrong place?
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 RonW 4 years ago The command runs locally on the server where the web console source code is, which is why I'm not specifying a computer name before cscript.exe. Karl Shirish Members Profile Send Private Message Find Members Posts Add to Buddy List Newbie Joined: 05 January 2007 Location: India Status: Offline Points: 6 Post Options Post Reply QuoteShirish Report http://rss4medics.com/cannot-find/psexec-cannot-find-the-file-specified-unc.php You might want to try using a different version of PsTools.
Browse other questions tagged psexec or ask your own question. psexec \\remotemachine -u admin -p pword -e cscript.exe //B
Hot Network Questions How to stop NPCs from picking up dropped items Is there still a way to prevent Trump from becoming president? The file is flash8.msi and I have tried copying the file both to c:\ and c:\windows\ to get it within the path. Sign up today to participate, stay informed, earn points and establish a reputation for yourself! 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.
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 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 Got the "The system cannot find the file specified" error when I tried running it via the ASP page, but when I run that command on the server, from the same Software-Other Windows 8 PCs Advertise Here 788 members asked questions and received personalized solutions in the past 7 days.
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. You do not show putting a c:\..\...\pxexec just psexec Please log in to comment 1 As far as i have seen any executables running with system priveleges will not be able