Home > Error Code > Psexec Error

Psexec Error

Contents

I cannot explain what RDP might do to prevent psexec from working. Without being able to understand much of what I'm looking at, the first thing that jumps out at me while comparing the two directly, is immediately after reading from the C:\windows\prefetch\psexec.exe-3B6D147E.pf For those unfamiliar with it, here's how the process normally works: Psexec: copies PSEXESVC.exe to \\target\admin$ (Typically C:\WINDOWS) installs it as a service and starts it communicates with the service to If such a leftover psexesvc.exe is older than the psexec.exe which tries to use it, this will lead to trouble. (cf. http://spamdestructor.com/error-code/psexec-error-coe-1.php

share|improve this answer edited Nov 3 '14 at 20:29 answered Nov 3 '14 at 19:23 mojo 2,539613 Thanks for your quick response. And after a hard work, I found a easy and full solution: I use runas to run the script in a admin account I use the -s parameter in psExec to share|improve this answer answered May 6 '09 at 8:37 eran 14.8k3471 add a comment| up vote 5 down vote I just solved an identical symptom, by creating the registry value HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\system\LocalAccountTokenFilterPolicy Any ideas on what I should look at? http://stackoverflow.com/questions/26720734/psexec-error-code-2146232576

Psexec Error Codes

Examples: Launch an interactive command prompt on \\workstation64, the CMD prompt window will appear locally: psexec \\workstation64 cmd Execute a program that is already installed on the remote system: psexec \\workstation64 Hotel cancellation from booking.com Teaching a blind student MATLAB programming Words that are anagrams of themselves Flight between non-Schengen countries with Schengen connection after exhausting 90/180 limit Steepest descent/gradient descent as up vote 6 down vote PsExec has whatever access rights its launcher has. EDIT1: It seems that running PSEXEC locally, with a local target (.bat) file fixes this issue.

How should I prepare myself for a more supervisory role? Syntax psexec \\computer[,computer[,..] [options] command [arguments] psexec @run_file [options] command [arguments] Options: computer The computer on which psexec will run command. psexec will + extract psexesvc on the local machine + copy it to ADMIN$ on the remote machine + launch it on the remote machine as a temporary service + establish Cmd Exited With Error Code Why does a full moon seem uniformly bright from earth, shouldn't it be dimmer at the "border"?

share|improve this answer answered Jul 31 '15 at 19:27 Mason Itkin 67211 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Psexec Error Code 2 Typing Ctrl-C terminates the remote process.If you omit a user name, the process will run in the context of your account on the remote system, but will not have access to 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 How do I translate "hate speech"?

Regarding the extraction of the psexesvc on the remote machine, is there any possibility that switching between different versions of psexec would have 'corrupted' the psexesvc on the remote machine? Psexec Error Code 1073741790 psexec share|improve this question edited Jul 28 '15 at 19:15 asked Jul 28 '15 at 17:33 Mason Itkin 67211 add a comment| 2 Answers 2 active oldest votes up vote 1 Also have a look at the APPLICATIONS tab. psexec share|improve this question edited Sep 28 '15 at 19:09 asked Sep 25 '15 at 22:48 deadlydog 318412 1 try psexec \\localhost -i -u "NT AUTHORITY\NETWORK SERVICE" cmd.

  1. Interviewee offered code samples from current employer -- should I accept?
  2. Teaching a blind student MATLAB programming How can I Improve gameplay for new players, as a new player?
  3. Where's the 0xBEEF?
  4. On the successful execution, Procmon returns 341 events, on failed execution procmon returns 496 events.
  5. Why is AT&T's stock price declining, during the days that they announced the acquisition of Time Warner inc.?
  6. What is the 'common practice' when crossing English Channel (la Manche) regarding missed boats and unused returns?
  7. Before my domain password expired and was changed, running PSEXEC locally with this command worked. \\fs\storage\QA\Mason\psexec\PSExec.exe \\support02 /accepteula -u build -p password -e -s \\fs\storage\QA\Mason\psexec\Cambria_RI.bat Now, it produces this error: Error
  8. Ensure you are using the same versions of psexec on all your machines.

Psexec Error Code 2

Thanks, though. http://forum.sysinternals.com/psexec-no-process-on-the-other-end-of-the-pipe_topic13156.html So it works without access errors. Psexec Error Codes To find the number of X completed, when can I subtract two numbers and when do I have to count? Psexec Error Code 1073741502 Generating a sequence of zeros at compile time What's the difference between `su -` and `su --login`?

Since you're providing some creds, this might not be the precise problem, but if utility.exe requires access to your Kerberos tickets or something, they might not be accessible in a PSExec http://spamdestructor.com/error-code/psexec-error-code-42.php asked 2 years ago viewed 2467 times Blog Stack Overflow Podcast #92 - The Guerilla Guide to Interviewing Linked 56 How can I connect to a Windows server using a Command Nested apply function at a list Flight between non-Schengen countries with Schengen connection after exhausting 90/180 limit Can we feed external data to xDB? Not the answer you're looking for? Error Establishing Communication With Psexec Service On

Thanks :) –pattyd Jul 2 '13 at 17:04 1 @pattyd The LocalAccountTokenFilterPolicy setting affects how administrator credentials are applied to remotely administer the computer. –james Aug 21 '13 at 16:07 I am able to duplicate this across several machines right now, though all are running windows xp pro sp2. Strips the Administrators group and allows only privileges assigned to the Users group. -n s Specify a timeout (s seconds) for connecting to the remote computer. -p psswd Specify a password this page command Name of the program to execute arguments Arguments to pass (file paths must be absolute paths on the target system) -a n,n,...

Cooking inside a hotel room Font identification dificulties How to tell where file is going to be saved? Psexec Exited With Error Code -1073741502 Personally, I've seen lots of people have problems with the username/password specs for psexec, so I wonder if they aren't a little buggy. What loves to talk but has little to say What to do with my pre-teen daughter who has been out of control since a severe accident?

What kind of weapons could squirrels use?

That's why I use this to solve my trouble: psexec -accepteula -u administrator -p password \\machinename %PathToLocalUtils%\psexec.exe -h -s -d cmd.exe share|improve this answer edited Jul 20 at 13:49 mnille 1,2852515 Could you please explain further? 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! Psexec Error Code 5 asked 1 year ago viewed 5069 times active 11 months ago Blog Stack Overflow Podcast #92 - The Guerilla Guide to Interviewing Get the weekly newsletter!

Hot Network Questions Words that are anagrams of themselves Was the Oceanic flight 815 pilot the only one attacked by the monster? Browse other questions tagged psexec or ask your own question. Login to your ScreenConnect Remote Support Software User Forum forum accountor Register a new forum account. Get More Info Can I use my client's GPL software?

By creating an account, you're agreeing to our Terms of Use, Privacy Policy and to receive emails from Spiceworks. Any idea about how to solve this? 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. 1 Thai Pepper Hotel cancellation from booking.com Can anyone identify the city in this photo?

Regards, Karl SnipeyX Members Profile Send Private Message Find Members Posts Add to Buddy List Newbie Joined: 31 December 2007 Status: Offline Points: 6 Post Options Post Reply QuoteSnipeyX Report Post If you do specify an alternative username/password, then PsExec will send the password in clear text. PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software. What is summer in Spanish? "Estío" vs "verano" more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback

More details are available here. I know this question is old, but I am having the same problem. To run these commands from PsExec you must call CMD /C and then pass the commands as parameters - see the examples below. If no session is specified the process runs in the console session.-hIf the target system is Vista or higher, has the process run with the account's elevated token, if available.-lRun process

What exactly does it mean for a scalar function to be Lorentz invariant? Kind regards, Karl SnipeyX Members Profile Send Private Message Find Members Posts Add to Buddy List Newbie Joined: 31 December 2007 Status: Offline Points: 6 Post Options Post Reply QuoteSnipeyX Report more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed