Thanks a lot, it saved my time connecting to remote machine using desktop sharing and graphical routines..
A very usefull tool. I was thinking before that it's is impossible to do such Linux like thing with windows..
Great program!! I have a little problem here.
If I try to run a not pre-installed program/service on the remote machine(I wrote the program myself, just some console.write commands), I cannot see the console output from my local machine. Do you have any idea why?
xCmd Now working with GUI apps and running as user credentials
Posted by Rischip
on 02/07/2006 05:52pm
I have added the functionality to run remote GUI apps using a new /interactive switch. Also run apps under the user credentials you provide on the command line (or /system switch will run as system account). This will allow you to have network access from the launched application. One thing to note using this approach; login scripts don't run when logging in this way. So drive mappings will most likely not exist. Also I can access UNC paths (i.e. \\server\share), but have not yet gotten NET USE syntax to work.
Thanks to Zoltan Csizmadia for such good code to work with. Also thanks to Microsoft for some of the code I borrowed off of the MSDN library site.
Email me at Edit 10/25/06 SORRY TOO MUCH SPAM@gmail.com to help me beta test. Added 4/19/06: These changes were added and are compatible specifically for users on a domain type setup. Not a work group. I am going to try and setup a project for this mod'd version on sourceforge.net 5/16/07: Look at "thegrimlinker" project on sourceforge.net. Go to downloads and download "ReXeCutioner" This is the newest version.
To start an application in a remote machine you need to log in as an administrator, but when you remotely execute an application (ie. Internet Explorer) the task doesn't appear on the user screen but it appears on the task manager.
RE: problem with users
Posted by kevmy21
on 12/12/2005 06:42pm
The task will not display on the user's screen because it is being run in system space. The username you provide is only used to create a remote service. All services run in system space and do not display gui to users. The remote service executes the task.
I wave litle bit triky problem when I'm trying to use xcmd utility.
I need it for stoping and starting services on remote machine in batch.
xcmd works perfect when the name of the service has name without spaces (e.g. telnet...), but my problem had started, when I needed stop and start service named "Apache Tomcat 4.1". I used:
xcmd //server net start "Apache Tomcat 4.1"
and I get eror:
NET START service
I mean that xcmd sent command "net start + something"
May pls. somebody help me get over this?
What is triky, when I used it for first time it worked, but this was for first and last time.