Windows - remote system window text

rdahlstrom roger.dahlstrom at gmail.com
Tue Feb 5 12:37:00 CET 2008


On Feb 5, 3:54 am, Tim Golden <m... at timgolden.me.uk> wrote:
> Gabriel Genellina wrote:
> > En Mon, 04 Feb 2008 17:25:00 -0200, rdahlstrom <roger.dahlst... at gmail.com>
> > escribió:
> >> On Feb 4, 2:17 pm, "m... at infoserv.dk" <m... at infoserv.dk> wrote:
>
> >>> Well, i guess you will need a process on each machine you need to
> >>> monitor, and then you do have a client server setup.
> >> Crap, that's what I didn't want to do.  I am slowly coming to the
> >> realization that I'm going to have to, but I really didn't want to do
> >> that.
>
> > Try WMI. I don't know for sure if you can enumerate windows, maybe yes. At
> > least you can enumerate remote processes.
>
> Pretty sure not. You can just about get hold of a logon session
> on the other machine and I did poke about through some of the
> Lsa... and other stuff to see whether that was enough to give
> you a remote workstation / windows list. But it doesn't seem
> likely. (Happy to be proved wrong :)
>
> TJG

You don't know how happy to be proved wrong I would be...  but I don't
think WMI will do what I want.  I can get almost everything - command
line parameters, process ID, kill, restart, etc., but not the window
name, which I need.



More information about the Python-list mailing list