M
M. Eteum
Is there any example of remote execution from Windows XP to/from Windows
2000 and 2003? WMI? WSH? MSH?
Thanks
M.
2000 and 2003? WMI? WSH? MSH?
Thanks
M.
I did try the /Node switch in WMIC but I have no idea how to execute aMartin said:Easiest way for interactive remoting is:
a.) PsExec from SysInternals
b.) /Node switch in WMIC
Martin
I tried it but no sign that it is executed. It worked on the localOffice said:I am not sure if this is what you are looking for but, here is something I
use to start remote apps. Replace "webserver" with your machine name.
Bill James, MCSE
Enterprise Directory Service
Code:
strComputer = "webserver"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer &
"\root\cimv2:Win32_Process")
Error = objWMIService.Create("notepad.exe", null, null, intProcessID)
If Error = 0 Then
Wscript.Echo "Notepad was started with a process ID of " _
& intProcessID & "."
Else
Wscript.Echo "Notepad could not be started due to error " & _
Error & "."
End If
M. Eteum said:I tried it but no sign that it is executed. It worked on the local
machine by replacing the "webserver" to "." . I even when I monitor the
remote machine use terminal services, logged in as myself, and watch the
task manager, I don't see a notepad.exe process. Any idea?