Invoking Process on Remote Machine
-
Hi, I have written code in asp.net to start a application on remote machine. It is working fine. But on remote machine the process is executing in background. How to bring it to foreground ? Ramesh Sambari
-
Hi, I have written code in asp.net to start a application on remote machine. It is working fine. But on remote machine the process is executing in background. How to bring it to foreground ? Ramesh Sambari
You can't. You cannot start a user-interactive process on a remote machine, for what I think are obvious reasons.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
You can't. You cannot start a user-interactive process on a remote machine, for what I think are obvious reasons.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008*cough* Not entirely true *cough*. It requires some really arcane logic with the service control manager, and a certain measure of permissions on the target machine, but it can be done. I have a 'remote installer' for a headless machine on one of our products. It copies the install package to the destination machine and then executes it remotely by installing a service that creates an interactive session and runs the install package.
Software Zen:
delete this;
Fold With Us![^] -
*cough* Not entirely true *cough*. It requires some really arcane logic with the service control manager, and a certain measure of permissions on the target machine, but it can be done. I have a 'remote installer' for a headless machine on one of our products. It copies the install package to the destination machine and then executes it remotely by installing a service that creates an interactive session and runs the install package.
Software Zen:
delete this;
Fold With Us![^]* cough * it can also be done with PSEXEC, but in either case, 9 out of 10 reaons people come up with to justify doing something like this are crap. It's just too easily abused and I don't/won't support it.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
* cough * it can also be done with PSEXEC, but in either case, 9 out of 10 reaons people come up with to justify doing something like this are crap. It's just too easily abused and I don't/won't support it.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Dave Kreskowiak wrote:
9 out of 10 reaons people come up with to justify doing something like this are crap. It's just too easily abused
Agreed.
Dave Kreskowiak wrote:
I don't/won't support it
I wish I had the freedom to make that choice :(.
Software Zen:
delete this;
Fold With Us![^]