Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using WMI to start a process remotely

Status
Not open for further replies.

Tuan3249

Programmer
Aug 13, 2001
30
0
0
US
I'm trying to start a process remotely using WMI. I'm having alot of trouble with it. I can retrieve all the process and stoppoing it is fine. However when I try to start it, some process will not start.

The calling program is on NT4 SP6. I can launch simple programs like NotePad and Calc on a 2000 machine ok, but any program with some decent complexity does not seem to work at all. The return error code said its an "Interactive Process". What does this mean exactly?

I haven't found much inside the MSDN. I see that you can pass in a class into the function that will remotely start a new process and tell it how to start like maximize, minimize, what priority...etc. I've tried messing around with those parameters and it didn't help at all.

Attempting to start a process on an NT machine is not working at all.

Does any1 here have any experience with this? Thank you for any offer or insight you can share with me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top