Re: [python-win32] WMI and Terminal Services

2012-01-20 Thread smapusPy
I know this thread is a bit old, but for those of you who find this and wonder if there was a solution, this is what works for me. import win32com.client from win32com.client import GetObject licenseState = ['Unknown','Temperary','Active','Upgraded','Revoked','Pending','Concurrent'] computer =

Re: [python-win32] WMI and Terminal Services

2011-03-28 Thread Tim Golden
On 28/03/2011 15:16, Mike Driscoll wrote: On 1:59 PM, Tim Golden wrote: On 25/03/2011 6:19 PM, Mike Driscoll wrote: Hi, I am looking for a way to query the client name parameter from Terminal Services. I have been testing several scripts I've found that use either win32com.client or win32ts, b

Re: [python-win32] WMI and Terminal Services

2011-03-28 Thread Mike Driscoll
On 1:59 PM, Tim Golden wrote: On 25/03/2011 6:19 PM, Mike Driscoll wrote: Hi, I am looking for a way to query the client name parameter from Terminal Services. I have been testing several scripts I've found that use either win32com.client or win32ts, but they are giving me weird errors on Windo

Re: [python-win32] WMI and Terminal Services

2011-03-25 Thread Tim Golden
On 25/03/2011 6:19 PM, Mike Driscoll wrote: Hi, I am looking for a way to query the client name parameter from Terminal Services. I have been testing several scripts I've found that use either win32com.client or win32ts, but they are giving me weird errors on Windows 7 64-bit. I get this traceb

[python-win32] WMI and Terminal Services

2011-03-25 Thread Mike Driscoll
Hi, I am looking for a way to query the client name parameter from Terminal Services. I have been testing several scripts I've found that use either win32com.client or win32ts, but they are giving me weird errors on Windows 7 64-bit. I get this traceback: Traceback (most recent call last)