Join the community of 500,000 technology professionals and ask your questions. Since, in theory, that would be ran once a day, and give you better control in the long run. 0 Jalapeno OP TShuee Aug 10, 2011 at 9:24 You won't be able to vote or comment. 234Does PsExec return process output? (self.sysadmin)submitted 10 months ago by heyavtarFull disclosure: I mainly work in Unix-like environments so I'm a bit out of my element when How can a nine tailed fox catch its prey? navigate here
If so, maybe you could psexec from that machine, rather then the server 2003 machines. Fix: psexec \\REMOTESERVERNAME -u [USERNAME] -p [PASSWORD] /accepteula -h cmd /c D:\FILE.bat References: 1. Try superuser.com/a/201201/178092 which uses following syntax: 2>&1 | tee test.txt –Lizz Sep 26 '13 at 1:00 1 tee (if it's availabe for Windows) also generally requires redirection (which seems to Every share in the domain that you want computers to have access to (like SYSVOL, for example) should have granted "domain computers" security group access. 0 Jalapeno OP http://forum.sysinternals.com/psexec-returning-error-code-0_topic18991.html
And almost every app will return a 0 if everything went smoothly. PsExec v1.98 Share this:RedditLike this:Like Loading... These users do NOT have local admin rights, so they can't write to C:\, plus I was thinking it was writing the file to my C:\ drive. 1 This discussion has So you want to be a sysadmin?
Can you move a levitating target 120 feet in a single action? I did try that but the issue with that approach was that the output still doesn't get reported in the cmd window where psexec is being run but additionally because the You should grant access to this share for domain computers groups. 0 Jalapeno OP Kencussion Feb 27, 2012 at 2:33 UTC hmmm, I'm looking at the credentials, and Psexec Exited With Error Code -1073741502 All you have to do is add a '.' after the shortname and it will still function the same but will then output properly to the same cmd window!
If so, why don't you just setup a scheduled task on the 1-5 remote machines? 0 Thai Pepper OP Best Answer Daniel Eaton Aug 10, 2011 at 9:44 UTC TShuee Cmd Exited With Error Code -1073741510. Browse other questions tagged psexec or ask your own question. This http://emcosoftware.com/remote-console does what you want. http://stackoverflow.com/questions/21455549/how-to-fix-the-error-exe-exited-with-error-code-0 However I have found that sometimes I have to put the command ie: "nircmd.exe savescreenshot "c:\shot.png"" into a .bat file, copy the file to the remote drive, and then run it
Login. Psexec Error Code 1 Prove sets equality. 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! How much are the taxes for the postdocs?
I assume this problem is related to the bug reported here: Problem with psexec 1.95.Kind regards,SvenBomwollen shilyas Members Profile Send Private Message Find Members Posts Add to Buddy List Newbie Joined: their explanation I'm using PSExec (SysInternals PSTools) with NirCMD.exe to attempt to get screenshots. Psexec Error Codes Please advise... Psexec Cmd Exited With Error Code 1 Shuaib 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 Reply QuoteSvenBomwollen
Text Quote Post |Replace Attachment Add link Text to display: Where should this link go? Psexec Error Code 1073741502 share|improve this answer edited Jan 30 '14 at 12:44 amon 44.8k256107 answered Jan 30 '14 at 12:12 DeVadder 1,339617 add a comment| Not the answer you're looking for? Is there an option to make PSExec print the started program's output to stdout, instead of the logo, and not open a console window?
Hot Network Questions Where's the 0xBEEF? I haven't tried it on a Win10 machine. D:\ - drive on the remote server -d - Don't wait for application to terminate. weblink But I got some error please advise me.psexec \\10.87.41.58 -u @user -p @password -s "C:\Wallpaper\Wallpaper.bat"PsExec v1.98 - Execute processes remotelyCopyright (C) 2001-2010 Mark RussinovichSysinternals - www.sysinternals.comThe operation completed successfullyThe operation completed
Post Reply Tweet Forum Jump -- Select Forum -- Autoruns BgInfo Disk2vhd Miscellaneous Utilities Process Explorer Process Monitor PsTools RootkitRevealer Usage RootkitRevealer Logs Utilities Suggestions Internals Development Troubleshooting Malware I think the problem that your having is with psexec and not the batch file 0 LVL 17 Overall: Level 17 VB Script 7 Windows Batch 2 Message Expert Comment Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We Unfortunately it cannot do much more than running a command line tools or unattended scripts remotely.
Not the answer you're looking for? If no session is specified the process runs in the console session. It appears that if you specify the local host ip address as the machine to run the command on you will get the output. However for my test purpose I have written the below code to ensure whether its working fine or not..
DDoS ignorant newbie question: Why not block originating IP addresses? Haha 0 Thai Pepper OP CrimsonKidA Apr 3, 2014 at 5:53 UTC Matt9169 wrote: as (root) said, it means success. C:\WINDOWS\system32>net start "ocs inventory service" The OCS INVENTORY SERVICE service is starting. And if you have reason to believe an error occured, you will have to check the documentation of your exe to find out what an exit code of zero means it
C:\WINDOWS\system32>psexec \\126.96.36.199 ipconfigPsExec v1.95 - Execute processes remotelyCopyright (C) 2001-2009 Mark RussinovichSysinternals - www.sysinternals.comipconfig exited on 188.8.131.52 with error code 0.C:\WINDOWS\system32>Any idea to fix this and get Psexec working?Thanks JimCharles Members