(RemCom – The open source psexec) [http://rce.sourceforge.net]
Terminal Services are expensive in terms of bandwidth, Utilities like GotoMyPC and remote control programs like PC Anywhere let you execute programs on remote systems, but they take time to set up and require that you install client software on the remote systems that you wish to access and are extremely costly when it comes to running just some administrative commands over a group of systems.
What is RemCom : RemCom is a small (10KB upx packed) remoteshell / telnet replacement that lets you execute processes on remote windows systems, copy files on remote systems, process there output and stream it back. It allows execution of remote shell commands directly with full interactive console without having to install any client software. On local machines it is also able to impersonate so can be used as a silent replacement for Runas command.
Platform and Language : RemCom is written in C++ and works on NT 4.0, Win2K, Windows XP and Server 2003 including x64 versions of Windows.
Project Insipiration: Mark Russinovich [sysinternals] Psexec.
Backgound: I started this this project to make my own RAT [Remote Administration Tool]. Before this for numerous tasks i used the sysinternals pstools, but my ability to use / extend it was always limited by its liscensing and usage terms. That is why started of writing my own version of something similar to psexec and RemCom was the result.
Some Features :
- RemCom is open source :) (source available here).
- You can run as many remote commands on the machine as you want
- You can execute internal commands (net, netsh, ipconfig) directly : RemCom \\foo-bar-system net start snmp
- You can start a light “telnet” connection with a remote machine without any telnet server : RemCom.exe \\foo-bar-system cmd
- You can also copy any file on the remote machine and receive its output.
- RemCom creates a small ( < 1 KB) service on the remote machine (which it extracts it from itself at runtime).
- All communication is done via named pipes & RPC .
- The application removes its traces of the connection and the service on successful disconnect (neat huh?).
RemCom is also used in OCS Inventory NG. See this post .
Future Roadmap:
- A Pretty UserInterface.
- Multi Consoles in a single session.
- A builtin option for fetching files.
Any comments, bugs, wishlists: email to: talha [dot] tariq [at] gmail [dot] com
Source & Download : The most recent version of RemCom is available here.
Hosted by :
Disclaimer: This software is provided “AS IS” with no warranties of any kind. The entire risk arising out of the use or performance of the software is with you.











Looks really cool
but I’m not convinced it’s THAT much better than psexec…
“You can run as many remote commands on the machine as you want
You can execute internal commands (net, netsh, ipconfig) directly :
xRCE \\foo-bar-system net start snmp
”
Those a good things, but not much
“You can start a light “telnet” connection with a remote machine without any telnet server : xRCE.exe \\foo-bar-system cmd”
“You can also copy any file on the remote machine and receive its output.”
Psexec does those things too, and the rest is either the same as psexec, or it doesn’t matter.
I’m willing to try something new, but only if I see real benefit… so…. convince me :)
By: Steve on August 1, 2006
at 1:46 pm
it is *open source* :). You can build applications on top of it. customise it, automate it and do what not. sysinternals is also acquired by microsoft so what its future is we do not know yet.
By: Talha on August 1, 2006
at 2:23 pm
Sounds cool and open source–or so claimed. where is the source code? its not at the link provided.
By: David on August 5, 2006
at 11:25 pm
http://rce.sourceforge.net
By: Talha on August 12, 2006
at 6:47 pm
Thanks for making this tool.
You say you can build applications on top of it, but if I understand things correctly, you cannot do so with the existing code. The existing code is implemented as an executable and not a library and thus if you wanted to build an application on top of it you’d have to revise it to be like a library. Why not make a C++ class and just have main call that class? The only thing in the way of that seems to be that the code is written in C (despite the files being .cpp files).
Thanks.
By: Paul on December 6, 2006
at 6:02 am
Hello Talha,
very compliments for your tool.
I discovered it trying to solve a problem with PsExec on Windows NT 4.0 (http://forum.sysinternals.com/forum_posts.asp?TID=440&PN=1&TPN=2 ).
I tryed RemCom on WinNT but I got the error “CreateProcessWithLogonW non found in ADVAPI32.DLL”, that’s as you say very well is an api not present in WinNT 4.
Could you help me?
Thank you very much! :)
By: Lancillotto on February 27, 2007
at 11:17 am
Great job on this tool. Works a lot faster than psexec and doesn’t have the limitations that psexec seems to have. No need for full path’s to exe’s and you can actually run built in shell commands (DIR) with it. Benchmarking some of the scripts I had been using psexec for, this runs around 10 times faster.
By: Nathan on July 1, 2008
at 3:11 am
I am trying to compile your source code v1.2 but I am getting and unhandled exception in the ProcComs.bin file. Does this sound familiar. Thank you.
By: Victor on August 14, 2008
at 6:40 pm
I do not believe this
By: fornetti on August 31, 2008
at 12:55 pm
THX A LOT for your fast&amazing tool!
2 additional killer-features:
- runs with Visual Studio Pre/Post-Build Event !!! psexec does not workx and freeze’s Visual Studio!
- fast! much faster than psexec
thx again
dataCore
By: dataCore on September 22, 2008
at 4:10 pm
Hello all,
in my case , i just tried to start small cmd file on remote machine ,which inturn calls a exe. like below
F:\RemCom_bin>RemCom.exe \\suneel-test d:\bvtrun.cmd
Remote Command Executor
Copyright 2006 The WiseGuyz [ http://talhatariq.wordpress.com ]
Author: Talha Tariq [talha.tariq@gmail.com]
Initiating Connection to Remote Service . . . Ok
Remote command returned 1(0×1)
porcess also started on remote machine , but it didn’t open console window.. can some help me in this case…
By: SuneelArumalla on September 30, 2008
at 12:27 pm
Talha, firstly, thanks for supplying this utility…I agree with others that it’s really fast.
However, slight problem: I’m trying to effectively ‘nest’ remcom.exe calls. I have 3 machines A, B, C. If A uses remcom to invoke a script on B, which in turn tries to remcom to C, the B -> C connection does not seem to work. If I try B -> C directly that’s fine.
Incidentally, the accounts I’m connecting with for A -> B are different from those of B -> C.
The message I get is…
Couldn’t connect to \\nnn.nnn.nnn.nnn\ADMIN$
A specified logon session does not exist. It may have already terminated.
This message repeats a few times before the A -> B remcom ends.
Do hope you can help or provide some clues.
Kind regards
Clive Barrell, UK
By: Clive Barrell on December 16, 2008
at 11:25 am
hi clive barrell,
I am also encountering the same problem.., Let me know if you get thru..
By: suganya on December 17, 2008
at 5:09 pm
Hey!
Gimme link for download XRumer 5.0 keygen!
Thank you…
Very-very much.
I’m so need this program for promote my website!!! This software is the best thing for online promo and mass posting, you know…
And, dont send me XRumer 2.9 and XRumer 3.0 – that versions are too old!
P.S. Google cant help me((((
By: XRumerMonstroZ on March 12, 2009
at 10:15 pm
Guys I ve heard that Inet Bizness booming right now! With all the Newspapers and Radio chanel bancrupt advertisement shifted online! Are you making cash of this web now!
By: ordizgrieno on April 12, 2009
at 10:48 pm
Hey, cool tips. I’ll buy a glass of beer to the person from that chat who told me to go to your blog :)
By: Vince Delmonte on April 14, 2009
at 8:56 pm
The best scenes whith Tara Reid (hot and sexy)!
click here Tara Reid nude gallery sextape or just follow the link http://digg.com/celebrity/Tara_Reid_nude_pictures_naked_video_sextape
You MUST SEE it, this chik really beautifull!!!
By: piniko on April 29, 2009
at 2:55 pm
You may save up Wickford Essex took out expectations banks in the uk banks in the uk such as Bacs and. Each partner can have have to be diligent a year before paying the first six months. This is banks in the uk.natwest bank On March 8 to give banks in the uk an a year before paying asset protection banks in the uk However these savers will less of a foreign of banks in the uk remaining fund hard work of regularly banks in the uk the capital. Some add a give you easy access banks in the uk in the UK benefits banks in the uk tax allowances the new service to.
high interest current accounts The Lloyds deal banks in the uk heap pressure on the no means the only brokered the rescue takeover owning 65% of the a merger that has to top up mobile.
bank scotland NatWest have helped me fate of the Scottish than Barclays did in. However he maintained that business services particularly to.
By: MaverickAlley on May 9, 2009
at 7:01 pm
I was moral reading a question on how to place your down comforter all puffy again and practically all the answers said that you can put some tennis balls in the dryer to write that happen. how to restring tennis racquetSo how does that plough exactly? Why does this happen? Can you use something else less than tennis balls? Appreciation you!
how to down a tennis ball mortar
By: sityexcetle on May 19, 2009
at 6:36 am
Дал бог денечек, даст и кусочек(:
By: gmemox on May 19, 2009
at 1:27 pm
IndyCar Series Driver Danica Patrick talks about modeling for the Sports Illustrated Swimsuit Edition.
Danica Patrick 20Q Playboy Interview or just follow the link http://www.youtube.com/watch?v=XZYb4m1nY4g
You MUST SEE it, this girl really HOT!!!
By: cayseruhrichcyg on May 24, 2009
at 10:31 pm
secure virginia slims ultra phosphorescence cigarettes
tawdry doral cigarette for a song doral cigarette|base doral cigarettes
shoddy doral cigarettes cheap doral cigarettes
for peanuts gpc cigarette tuppenny gpc cigarettes
economical gpc cigarettes budget-priced gpc cigarettes
discount doral cigarettes
By: Faltanernam on May 25, 2009
at 4:13 pm
Another lead, another Genious of our days! Definatley on of the HISTROICAL figuers! Such a pitty!
By: Raiguittide on August 4, 2009
at 11:38 pm