Solved

Executing program across network

Posted on 2004-09-19
3
175 Views
Last Modified: 2010-04-01
Hi Guys,

I am writing a program to manage several scripts that I run on several differnt windows boxes.

Is it possible to execute something on another machine.  I.E from server A I want to execute a program on server B.  

I know I could simply call soon.exe from within the program but would prefer it done internally.

thanks
0
Comment
Question by:Karls
3 Comments
 

Accepted Solution

by:
G00fy earned 125 total points
ID: 12099751
Create a program that runs in the background and as soon as you send a question like "Run program xxxx", run it.

Another way (internal in windows) there is not, except maybe if you go via some buffer overflows or so (because it is an enormous breach of security if you could run a program from server A on server B).
0
 

Author Comment

by:Karls
ID: 12107365
My first thoughts were to create a small listening app that waited for a request and then ran it but that would mean having to install stuff on server b to start with.  
There must be a way to do it becuase I have seen several products do it.  I.E Hyena remotely installs VNC onto another machine and then runs it.  
I have domain admin rights to the network I am working in so permissions won't be an issue.  
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Prototype for MessageDlg in Embacadero XE 2 2 42
VS2015 compilation and missing DLLs 9 161
Create a path if not exists 7 89
What is sub-make ? 2 71
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question