Home > Error Code > Pstools Exited With Error Code 1

Pstools Exited With Error Code 1

Contents

I have tried the same code but connecting to another workstation which works fine, it's just when connecting to the server. The firewall is off and I am using full admin rights to both the workstation and the server. Thread Tools Search Thread Advanced Search 19th June 2009,02:06 PM #1 bladedanny Join Date May 2009 Location Sheffield Posts 1,512 Thank Post 217 Thanked 429 Times in 288 Posts Rep What I need is for domain\user to be able to execute Z:\folder1\folder2\execute.bat.  I need this to be executed from a remote system (WS1), but need it to run on the server (FS1). weblink

Perhaps, there's my culprit.  But is there a way to run command prompt in elevated mode on the remote machine. But Explorer does as instructed. Creating your account only takes a few minutes. However, in a modern switched network environment, this is generally not necessarily all that big of a deal because the network traffic and clear text password will not be exposed to http://forum.sysinternals.com/error-code-1-when-using-psexec_topic23617.html

What Is Psexec Error Code 1

It's one of those "Error: there is no error" messages. Email Reset Password Cancel Need to recover your Spiceworks IT Desktop password? This is because when you connect to the target computer with integrated security, the target computer then tries to connect to a different network location but doesn't have network access because

  • asked 2 years ago viewed 10937 times active 2 years ago Blog Stack Overflow Podcast #92 - The Guerilla Guide to Interviewing Linked 25 Convert long filename to short filename (8.3)
  • Might have something to do with not waiting for a response that's causing nothing to happen.
  • explorer exited with error code 1.Explorer launches, does not terminate, but nevertheless returns control to psexec and signals exit code 1.In this particular case I do not think that it makes
  • Reply Subscribe RELATED TOPICS: PSExec issue - "CMD exited on (remote PC) with error code 0." PSExec returning Error code 0 but not working Error Code:0xc004f014   6 Replies
  • V1.98.
  • Browse other questions tagged batch-file jenkins psexec or ask your own question.

Posted 3 years ago # doug doug Hi veix - 1. If I don't pass credentials and instead rely on integrated security, computer A can access computer B, but on computer B there is no network access to connect to computer C. Where can I find my minimum tire pressure? Cmd Exited With Error Code Posted 3 years ago # doug doug Interesting.

What's concerning is that when I run the batch file via the cmd, it populates my logs folder with a text file but doing so via Jenkins does not result in Exited With Error Code 1 Pssh The same error occurs with any command including cmd. Register Help Remember Me? Commands in BAT file executed as separate custom PsExec command 1&2 works.

Microsoft Customer Support Microsoft Community Forums Home What is causing pstools error code 1? Cmd Exited With Error Code 1 Psexec Try actually typing out the machine name instead of using the system variable. 0 This discussion has been inactive for over a year. All rights reserved. BatchPatch will reach out to the network share and get the .bat file, and then BatchPatch will copy that .bat file to the target computer and execute it.

Exited With Error Code 1 Pssh

Additionally, I'm not able to get it to work even WITH the cmd.exe unless I specify the -u and -p switches to pass credentials to the other computer. https://community.spiceworks.com/topic/38467-what-is-causing-pstools-error-code-1 I'm trying: Code: psexec \\servername simsbac.bat and im getting: Code: simsbac.bat exited on servername with error code 1. What Is Psexec Error Code 1 To PsExec a .bat file from the command line you'd have to do the following: psexec \\targetServer -u domain\username -p password cmd.exe /C "\\networkshare\somebatfile.bat" To do the equivalent in BatchPatch, enter Psexec Error Codes Send PM 19th June 2009,03:39 PM #4 BJG Join Date May 2008 Location Norwich Posts 491 Thank Post 106 Thanked 46 Times in 27 Posts Rep Power 28 See if

TECHNOLOGY IN THIS DISCUSSION Join the Community! have a peek at these guys BatchPatch Forum is proudly powered by bbPress. Populars Recents Archive Toggle Footer Copyright © 2012 James Ray Anderson All Right Reserved Blogger Template by IVYthemes | MKR Site Top Friday, June 03, 2011 1:24 PM Reply | Quote 0 Sign in to vote Hi, Thanks for the reply. Psexec Error Code 1 Access Denied

I tried to install latest version i.e. Creating your account only takes a few minutes. I would dig out some older version, but newer ones has this neat feature where you could browse computers from AD by specific OU. check over here Join the community Back I agree Powerful tools you need, all for free.

Are there any historically significant examples? Psexec Powershell Exited With Error Code 1 The contents of the .bat file are as follows: set FILEPATH=%~1 set BAT_ARCHIVE_IDENTIFIER=%~2 set DEPLOYMENT_ROOT=%~3 echo %FILEPATH% %BAT_ARCHIVE_IDENTIFIER% %DEPLOYMENT_ROOT% batch-file command-line command-line-arguments command-prompt psexec share|improve this question edited Jul 23 '14 Regardless of whether or not it's ideal, it's the only way to accomplish exactly what you're describing, as far as I'm aware.

dlemaster Members Profile Send Private Message Find Members Posts Add to Buddy List Newbie Joined: 20 January 2010 Status: Offline Points: 9 Post Options Post Reply Quotedlemaster Report Post Thanks(0)

Kind regards, Carsten SvenBomwollen Members Profile Send Private Message Find Members Posts Add to Buddy List Senior Member Joined: 29 August 2008 Location: Germany Status: Offline Points: 1640 Post Options Post What kind of bugs do "goto" statements lead to? The time now is 11:26 PM. Psexec Error Code 2 Therefore, so long as the credential you pass has the rights, it can do what you ask.

more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science The same error occurs with any command including cmd. Thanks. this content Text Quote Post |Replace Attachment Add link Text to display: Where should this link go?

Today I also use key "-s" and it still works with BatchPatch also. Words that are anagrams of themselves Half the pentagon! I hope this helps. -Doug Posted 3 years ago # veix Member Hello, Thank you for reply. 1. Many thanks in advance.

About Advertising Privacy Terms Help Sitemap × Join millions of IT pros like you Log in to Spiceworks Reset community password Agree to Terms of Service Connect with Or Sign up Forum Home > Sysinternals Utilities > PsTools New Posts FAQ Search Events Register Login Error code 1 when using psexec Post Reply Author Message Topic Search Topic OptionsPost ReplyCreate adding echo at the start of my batch file just outputs the line of code in the batch file (jenkins doesn't seem to pick on it though).