PC Review Forums Newsgroups Windows XP Windows XP WMI RE: Remote Process Creation with GUI

Reply

RE: Remote Process Creation with GUI

 
Thread Tools Rate Thread
Old 29-06-2004, 11:45 PM   #1
Rick Krause [MSFT]
Guest
 
Posts: n/a
Default RE: Remote Process Creation with GUI


The workaround that's been suggested to me is to use the Win32_ScheduledJob class to start the process.

--------------------
I'd like to create a process on a remote computer (both:
WinXP Pro) with the following script:

RemoteMaschine = "PC1-WXP"

Set Process = GetObject("winmgmts://" & RemoteMaschine
& "/root/cimv2:Win32_Process")
Process.Create "calc.exe", Null, Null, procID
MsgBox("Process ID: " & procID)

After executing the script, the program is in the process
list, but I don't see the window/GUI of this program.
Does anybody know a method to start on a remote computer
a program with the window / GUI ??
--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off