I want to develop a program for a administrator of a computer network. The program should launch for example notepad.exe on a client computer. Thats why I need a function like:WinExecOnRemoteComputer(' PcName','notepad. Exe');(I know a solution is to install on the client computer a program which listen on a TCP/IP port on a 'WinExecOnRemoteComputer' command from the admin computer and then start the notepad.exe. But I need a solution without such a client program.)I think it is possible with DCOM. (Perhaps it is also possibe with a TCP/IP command?)Thank you very much!
Download Remote Buddy Launch Program On Windows 10
Controllable Apps
HI,Well, the plan of what you want is as follows:1.Create new application, call it ApplServer.2.Add to this ApplServer the TAutomation Object, call theinterface IWinExec.3.In the IWinExec define one method, call it RemoteWinExec.4.Implement this method with one of the procedures:WinExec, ShellExecute or CreateProcess(what you prefer to use to launch the program from program-the set of parameters in RemoteWinExec methoddepends on the chosen launching procs).5.Register this ApplServer program (f.e. Look into NT 'Push and Pull'. These are methods used to install remote software onto remote machines from a central server. Using the same method you can make remote machines run programs. The machines need to be NT based NT/W2k probably XP although I'm not sure.Also, you must have the correct rights to be able to do this.
This normally means the PC's should be in the same domain, or you are a global administrator over lots of domains.Another think to look at are the NT resource kits. These contains loads of utilities and I think (not positive) there are some applications in there that do this.I will get some links to show you what I mean.Gareth. I think, NT 'Push and Pull' needs also a 'Remote Device Updater client' on the client side. The administrator have first to install this clients.I found a (bad) solution for my problem:1. I write a 'program launcher' client (plclient.exe)2.
Open the registry on the remote computer (via RegConnect) and add 'plclient.exe' to the Run section.3. Restart the remote computer via InitiateSystemShutdown4.
Send a 'launch program' command to my client 'plclient.exe'I hoped there was a solution without a extra client. Kann, I think you'll always need a remote client, which is why I suggested adding it as a service. I'm sure you can install the service and start it without having to visit, or reboot the target machine. Once the service is running you could get it to do pretty much anything you want.Just as an outline, you'd have to do something like this:1) Copy the service application to the remote machine.2) Install it as a service (Investigate the AT commandline)3) Start the service (various ways of doing this)4) The service launches notepadThen depending on whether you want to or not you could5) Stop, ininstall and delete the service application. You've piqued my curiosity, so I will be looking into this myself over the next week.
Sadly I'm absolutely up to my neck in work here at the moment for a deadline next week, so it'll have to take low priority for the moment I'm afraid.I will get onto the problem at some point soon, and I'll be sure to let you know what I come up with. Sorry I can't provide anything immediately though.In the meantime if you find any answers please post them here.The more I consider this however I realise that you might not even require the overhead of a service. You could use something similar to what you've described above, but replace steps 2 and 3 with a remote scheduled event (using AT), but then you don't have as precise control over the timing of the remote execution. No comment has been added lately, so it's time to clean up this TA.I will leave a recommendation in the Cleanup topic area for this question:to split points between nestorua (130), edey (40), StevenB (40) and GarethHastings (40)Please leave any comments here within the next seven (7) days.PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!If you will get a useful answer to your newer question next time, please accept it after evaluating. By this way the experts will get sooner his expert points for supporting you.
If you have question about, please look at.kacorEE Cleanup Volunteer.