Home > Error Code > Psexec Cmd.exe Error Code 1

Psexec Cmd.exe Error Code 1


Now I am getting one more issue that sometimes PSEXEC hangs the TFSBuild. The same error occurs with any command including cmd. 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). Send PM 23rd June 2010,08:34 PM #6 ravindrani Join Date Jun 2010 Location India Posts 1 Thank Post 0 Thanked 0 Times in 0 Posts Rep Power 0 Try with http://doinc.org/error-code/psexec-code-error-1.html

Any help is appreciated and will respond quickly to any suggestions, thanks! http://www.codewrecks.com/blog/index.php/2010/07/10/deploy-remotely-with-tfs-build/ In addition, please also take a look at this thread which discusses the PSexec hangs in the TFS. Add Cancel × Insert code Language Apache AppleScript Awk BASH Batchfile C C++ C# CSS ERB HTML Java JavaScript Lua ObjectiveC PHP Perl Text Powershell Python R Ruby Sass Scala SQL Patch deployment does not work and does not show any error message.

What Is Psexec Error Code 1

TECHNOLOGY IN THIS DISCUSSION Join the Community! Microsoft Customer Support Microsoft Community Forums Sign in Gallery MSDN Library Forums Get started for free Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove By creating an account, you're agreeing to our Terms of Use and our Privacy Policy Not a member?

  • http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/e508455e-fdad-4f32-8040-73bfdbc04db7 I hope it can help you.
  • All rights reserved.Newsletter|Contact Us|Privacy Statement|Terms of Use|Trademarks|Site Feedback TechNet Products IT Resources Downloads Training Support Products Windows Windows Server System Center Browser   Office Office 365 Exchange Server   SQL Server
  • Related Sites Visual Studio Visual Studio Integrate VSIP Program Microsoft .NET Microsoft Azure Connect Forums Blog Facebook LinkedIn Stack Overflow Twitter Visual Studio Events YouTube Developer Resources Code samples Documentation Downloads
  • Lastly, be sure that the user which you are using has permission to write directly to c:\, you might have to use a lower directory.Ahh, very important details here!
  • Starting c:\test\PlatformBuildDeploy.cmd on BR811920...
  • Browse other questions tagged batch-file jenkins psexec or ask your own question.

I have tried multiple domain accounts including the domain administrator.  I have also tried without using "domain\" before the user names. Keep up the good work, Doug! Doing this will force psexec to ask you for your password and hides it from prying eyes when you type it. 0 This discussion has been inactive for over a year. Psexec Exit Code -1 vBulletin Security provided by vBSecurity v2.1.0 Patch Level 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.Copyright EduGeek.netDigital Point modules: Sphinx-based search Follow EduGeek via

The firewall is off and I am using full admin rights to both the workstation and the server. Psexec Error Codes Send PM 19th June 2009,03:25 PM #3 bladedanny Join Date May 2009 Location Sheffield Posts 1,512 Thank Post 217 Thanked 429 Times in 288 Posts Rep Power 195 no Code: But he cannot. http://stackoverflow.com/questions/24551800/jenkins-psexec-error-code-1-when-i-try-to-run-a-batch-file-on-a-virtual-machin Half the pentagon!

SEO by vBSEO ©2011, Crawlability, Inc. Psexec Error Code 1073741502 Will have a check in the sysinternals forum. PlatformBuildDeploy.cmd exited on BR811920 with error code 1. 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.

Psexec Error Codes

MSDN News Loading... Thursday, April 07, 2011 6:24 AM Reply | Quote Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. What Is Psexec Error Code 1 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 Psexec Error Code 1 Access Denied Example: exit /b 0 Explanation: exits the batch file, closes the cmd.exe, and sets the return code to zero.

If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.Would you like to participate? check over here I'm glad you got it working! -Doug Posted 3 years ago # doug doug Note - PsExec v2.1+ now uses an encrypted channel for communication between the source and destination computers. This is why the commandline fails and you will see no Explorer window.Hm, as a matter of fact, here under Windows 7, even running it all as myself yields exit code psexec -u myself -p mypwd explorer.exe /e,/root,/select,\\server1\C$\Kind regards,SvenBomwollen Edited by SvenBomwollen - 06 August 2010 at 1:10pm Post Reply Tweet Forum Jump -- Select Forum -- Autoruns BgInfo Disk2vhd Cmd Exited With Error Code

Can anyone identify the city in this photo? Windows Server > Windows Server General Forum Question 0 Sign in to vote Hi, I have been using PSEXEC to run an applicationin my old Windows server 2003 in the past You may get a better answer to your question by starting a new discussion. his comment is here Additional you may ask in the sysinternal forum instead this one: http://forum.sysinternals.com/ Best regards Meinolf Weber Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers

This is simply a fact of how impersonation works. Cmd Exited With Error Code 1 Psexec By creating an account, you're agreeing to our Terms of Use and our Privacy Policy Not a member? It works fine without psexec with double quotes It works fine with psexec without double quotes!

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.

But when done through TFS build...I get following log Custom activity added 00:18 Sequence InvokeProcess C:\Test\Invoke.bat location Password PsExec v1.98 - Execute processes remotely Copyright (C) 2001-2010 Mark Russinovich Sysinternals Join them; it only takes a minute: Sign up Jenkins/Psexec - Error code 1 when I try to run a batch file on a virtual machine up vote 0 down vote If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.Would you like to participate? Cmd Exited With Error Code 0 psexec \\ravindranmani -u ravindran -p xxxx Send PM SHARE: + Post New Thread Similar Threads error code is 7 By stu in forum Windows Replies: 5 Last Post: 17th June

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 Direct Support Forums Technical Windows PSEXEC error code 1 + Post New Thread Results 1 to 6 of 6 Windows Thread, PSEXEC error code 1 in Technical; Hi all, Im trying I'm trying: Code: psexec \\servername simsbac.bat and im getting: Code: simsbac.bat exited on servername with error code 1. weblink What is the 'common practice' when crossing English Channel (la Manche) regarding missed boats and unused returns?

Creating your account only takes a few minutes. Just performing an exit closes the batch file normally, but terminates the cmd.exe.