Hi,
I also found this article, works when running on locally but it does not work for remote computers.
Running this code on my laptop to get the list of processes on remote Windows 7(X32) or Windows 8(X64) but it does not work. I am using the same administrator account on all computers.
Can anyone let me know what I would need to change in this code to get the list of processes running on remote computers.
Thanks,
Dan
============================================
Status of Process on Remote Machine
--------------------------------------------------------------------------------
Question:
Can I write a script that checks if a process is running on another machine on my network? How?
Answer:
See the Process extender. AddExtender("wwprc44i.dll")
machine = "\\RemoteMachine" ;Note: the user must have the necessary access permissions.
procname = "notepad"
counterstring = StrCat(machine,"\Process(",procname,")\ID Process")
ErrorMode(@off)
dat=tGetData(counterstring,0)
ErrorMode(@Cancel)
if dat == 0
Message(procname, "Process IS NOT running !..")
else
Message(procname, "Process IS running..")
endif
exit
--------------------------------------------------------------------------------
Article ID: W15864
File Created: 2010:02:17:11:58:23
Last Updated: 2013:04:01:09:11:53