 |

|
I got the error socket connection failed
|
|
|
|

|
Hey, Friends.
I couldn't connect to RExecService using RExec. But PSExec did the trick OK.
And PSExec has a forum at Sysinternals website (inside Micro$oft site). This tool is inside the PSTools suite, programmed by Mark Russinovich.
Good luck.
|
|
|
|

|
Hi There, Executed rexec ipaddress notepad, after giving user name and passwd (local account) i get below error <pre lang="vb">> rexec:connect:Connection refused rexec: can't establish connection</pre> No firewall.
|
|
|
|

|
There is more than one rexec. Rexec also exists as a Windows command. You can read about that command here: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/rexec.mspx?mfr=true[^]
The Windows version of rexec will prompt you for username and password, the version provided here does not. Because the Windows version exists within the system path, it will be called if you don't properly call the one provided here. If you have the copy provided here in the directory where you are calling rexec, then it will use that rexec. If you don't have it there, then it will call the Windows version. Both are similar, but there are differences (for one, this version doesn't seem to redirect standard output to the caller, but the Windows version does). Also, the Windows version requires username and password, whereas this one does not (thus an easy way to tell which one you are calling).
Double check and make sure that the directory you are calling rexec from has a copy of the rexec.exe from this site.
|
|
|
|

|
I have the program working locally on one windows xp pro machine but can't install service in windows 7.
Anyone suceeded?
|
|
|
|

|
For connection problems, make sure your firewall isn't blocking. Also, make sure the service is running and set to start up automatically.
For people having problems with running programs, start small. Pull up notepad on the remote computer without the parameter on the end. It should look something like this:
rexec 123.21.61.12 notepad.exe
If that pulls up notepad on the remote system, you are set. If you have problems with applications not running correctly, I suggest creating a batch file on the remote system that does pull up the application correctly. Once you get the program working through the batch file, you can use that to troubleshoot (maybe path/spelling was wrong, incorrect switches, etc). Or you could just use rexec to call the batch file and you are done.
Also to note, pulling up something from a direct path requires the path to be in quotes. Example:
rexec 10.1.1.151 "c:\test.exe"
|
|
|
|

|
Hello,
Can I specify User name to start the service rexecService.exe ? Default user name is 'Local System' and that's the reason I'm not able to access share folder in other machine.
I have a folder shared on a machine A running windows server XP with read & Write access to everyone. On machine B i have a windows service(rexecService.exe) running under LocalSystem Account. The service (in m/c B)is not able to access the files in the shared folder inspite of having set read write access to everyone.
However, I can access the shared folder in A as an Administrator of machine B. Please help me in this regard.
Thanks in advance.
|
|
|
|

|
I get this message when i run the program.
rexec.exe 192.168.xxx.xxx c:\notepad.exe
"This application has requested the runtime to terminate it in an unusual way.
Please contact the application´s support team for more information."
Whats wrong?
|
|
|
|

|
When i tried to run the program remotely, "Socket Connection Failed" error message is dispalyed. Can anyone please help me out.
Yugandher
|
|
|
|

|
I get the same error, anyone know how to fix this?
|
|
|
|

|
I also got the same error
|
|
|
|

|
Most likely you have not started the service on client PC. Could be a firewall issue as well.
NAX
|
|
|
|

|
Most important you must enter "rexecservice" in the firewall exceptions for the PC running the service.
I installed the service on and "XP Home" PC following the instructions.
I ran "rexec" on a Vista PC on the network and got the "Socket Connection Failed".
I entered the service into the firewall exeptions and ran rexec again - bingo it worked perfectly.
|
|
|
|

|
Hi.
I think it will be greate if you could add synchonious execution. E.g. the rexec process will wait until the remote process will terminate.
Elad Raz
CTO,
RazTech
http://www.raztech.co.il
|
|
|
|

|
Is it possible to capture the output of a program run remotely with rexec?
sdev400
|
|
|
|

|
Any one has sucess in using this. I am getting error as connection refused.
|
|
|
|

|
When I run "rexec ip app" I am getting a "Name (ip:username)", I type a username and then is asking me for a "Password (ip:username)", I type the password and finally I get an error ">rexec:connect:Connection refused" next line "rexec: can't establish connection".
If anyone can help me I will really appreciate it.
José
|
|
|
|

|
I had the same problem. Two things I did fixed this problem (I'm not sure what's necessary, but doing them both fixed my problem)
terminology: server computer wants to submit a program for remote execution on a client computer.
1) I had followed the CLIENT computer instructions on the SERVER computer. (running rexecServices -i, and changing settings in services manager). I undid these steps. (Right-click "Remote program Execution," and select "stop," and delete rexecService folder entirely, just to be sure)
2) The Server computer must be in the folder where you unzipped the rexec.exe program. If you're in any other folder, it will run, but will ask for username and password.
Good luck!
Jessica
|
|
|
|

|
Hi Jessica,
Did you get rexec to run ok? I am a bit confused on the steps you posted. I am still getting the username and password.
Thanks
William
B_L_A_D_E_S@hotmail.com
|
|
|
|

|
Hi William,
Sorry for the confusing steps. Looking back on it, I suggest you ignore my "step 1" Clearly I was just confused, making mistakes, and then undoing them. One would hope this doesn't affect the program's execution. In which case the only suggestion I have to offer you is my "step 2"
I didn't end up using rexec in the long-run, and this message was a long time ago, so I really don't have any other useful advice to offer you now. Sorry. Anyone else out there?
-Jessica
|
|
|
|

|
I am trying to remotely execute a program called Printwiz and it just hangs in the DOS window. Any ideas?
Thanks,
Marc Holzer
|
|
|
|

|
Thanks for this great utility, very useful!
|
|
|
|

|
Fantastic
It resolved issues .Thanks A lot
|
|
|
|

|
I also want to say this is a great utility. I have tried a few of the famous ones and couldn't get any of them to work. This thing worked perfectly the very first time! My gratitude to the author.
|
|
|
|

|
Are there other hidden options for rexecServer.exe besides -i?
I would like the server process to use a login other than system. Is this supported?
marlene
I take back the good job part. This server is not dependable at all. I just tried to bring up notepad and it didn't succeed. Now it only succeeds about every 7 to 8 attempts.
|
|
|
|

|
Hi,
Very good and useful but you said that:
Note that for this to work properly, the remote execution service must be installed and started on the machine @ 123.21.61.12
I don't want it.I want a code to run an exe file remotely without any client program.
Please help me,
Cheers,
MILAD.
Every new thing you learn,Gives you a new personality.
|
|
|
|

|
I've been waiting for this sort of thing for a while (don't know why it never occured to me to build it), great work!
|
|
|
|

|
Another thing happening ...
Sometimes (quite often), when I start rmtcmd to execute (notepad, for instance) I get the following error:
"The process can not access the file '\\machine\c$\30258D71-1170-4923-B320-A14480854B1F.txt' because it is being used vy another process.
Any ideas how to fix this?
thanks
|
|
|
|

|
Hi,
I downloaded this application, put the rexecService in the remote computer, register it, I made sure the option "Allow service to interact with desktop" was checked, ...
Then I execute the rexec in my local computer ... rexec IP notepad.exe ... and I didn't get any error, but when I go to the remote computer notepad is not visible and there is no process running with the name notepad.exe.
The funny thing is, when I install the service in my own local computer and try to do the same (from local computer to local computer) notepad is not visible either, but when I check the list of processes I can see as many instances of it as times I used the remote service.
Any guesses about what happens?
thanks
|
|
|
|

|
Having same issue. Please help.
|
|
|
|

|
Hi,
I can use the program to launch executable files on remote machines, but I can't start vbs scripts using it. Any idea why not?
|
|
|
|

|
To solve your issue, try the following :
rexec "machineip" cmd "cscript xyz.vbs vbscript parameters"
Basically the VBS is executed by the cscript engine and you cannot execute it directly from a remote machine, so you take this alternative.
Let me know if you are still facing the problem.
Regards,
Prashant
|
|
|
|

|
Hey all. I'm working in an office and have to do some testing that requires me to launch multiple instances of a program at once. I've managed to successfully use the rexec service with these computers. I've written a little exe that is run on the remote machine exe with command line arguments to start the program I need multiple times. The problem is, when I remotely execute, it will only start one instance and ignores my registry edit. Is there a built in function that stops multiple programs from being spawned? If so, is there a way for me to get rid of it? Thanks!
|
|
|
|

|
I notice that many member have managed to get this working, but I am have problems !!
I have run the service with the -i option, gone to the services manager and marked the service for interaction with the desktop.
Whebn I try and start the service it keeps saying
Could not start the Remote Program Execution serice on loacal computer
Error 1317 : The specified user does not exist
I have tried different user accounts but always the same !
Any body help ?
|
|
|
|

|
Yes, copy the install files to the local machine before installing. Since you installed it now though, you will need to take a few extra steps. 1st copy the files to the local machine. 2nd open regedit (make backup of reg.. bla, bla..) go to hkey_LM\system\currentcontrolset\services\remoteexecutionservice and change imagepath to the location on local machine. Give that a shot and let me know if it worked for you or not.
|
|
|
|

|
I found out Windows XP has its own REXEC command in CMD shell. I spent some time trying to get it runing, until I ran ethereal sniffer , and saw it was using different sockets. , I switched to the client side tools folder and ran the cmd from there , that works. The windows REXEC cmd has different syntax
type REXEC /? to see if windows syntax response . If response is socket connection failed you are using the correct client. If response is help for user and null redirect options etc. Is not this client 8)
|
|
|
|

|
I am trying to use rexec to remote startup a application exe on
a remote machine, but I am being prompted for Name and UserID, After
insert network id and pw still wont fire the exe on the remote machine.
Is there a setting to keep from being promted for name and pw?
Any help would be appreciated..........
|
|
|
|

|
See response to other posting for problems nder Windows XP.
|
|
|
|

|
I've just started using RexecService and it works great however I need to know if it's possible to add some security to it. Similar to MS-Telnet's NTLM authentication. Otherwise it poses a big problrm for us because I'd like to install the service on all the my machines across our network.
Any feedback would be appreciated. I don't know C++ that well but with some help I'd be willing to work with someone to add some security to the current code By Tim Kohler.
Thanks
Alex Issakoo
|
|
|
|

|
I have also just started using RexecService and was wondering if
you had a problem with being prompted for a name and userid when
running rexec.
If so how did you handle.....Mike
|
|
|
|

|
No I followed the directions and it worked like a charm however I did see the username and password option but I think that's to install the service only. Plus after looking at the code, once again I'm not a pro but I don't see anything relating to security.
|
|
|
|

|
See answer under Problems in Windows XP posting above.
|
|
|
|

|
Did you ever add security to RexecService, or find a version that someone else did? I'd like to require a userid and password - before I modify the code myself, I thought I'd check to see if anyone else already did.
Thanks,
Sally Moritz
|
|
|
|

|
When I attempt to execute program on remote machine, I get a message "Socket connection failed".
Any ideas what's wrong?
System is a wireless network, with all drives shared on peer to peer. Installation of service went well on remote machine.
|
|
|
|

|
Original author of socket connection fails....
I found the problem. After installation of service on remote machine, service had to be started. Program worked fantastically after that little glitch.
|
|
|
|

|
how to run windows scandisk in a project ie,when i click a button the scandisk should work,and when i cancel the control should come back the prog: and execute the remaining dialogues,if possible the scandik should start doing the mentioned drive on initialization of scandisk itself!! how do doooo
bob
|
|
|
|

|
My Application need some file read,write rights for execution. We are creating some ini files. How to allow execution of application when we are using Limited account in Windows XP home.
|
|
|
|

|
Try assigning security rights for that folder to everyone and allowing everyone to read write permissions, we had a similar problem running a scanner program in limited accounts
|
|
|
|

|
i suggest that you create a local user and execute through that user rights
|
|
|
|

|
Is there anyway to use REXEC from UNIX to Windows? I need to fire a script on an 2k Server from AIX 5.1. It seems that this software only works from Windows to Windows... AIX comes preloaded with REXEC from OS390 to UNIX, UNIX to UNIX and UNIX to OS390. But that doesn't help me much.....
-omega
|
|
|
|
 |