Hey all,
Just wondering if there is a way to differentiate Windows Server 2008
from Windows Vista? All the normal methods I would use aren't cutting
it. For instance, sys.getwindowsversion() and platform.uname() are
returning exactly the same thing for Vista and Windows 2008.
Any Ideas?
Thanks
Hey all,
Anybody know how to get a token for the current user? I'm thinking
something similar to win32api.GetUserName, but instead it would return
the token??
-Matt
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/li
ts
> Sent: Friday, October 24, 2008 2:41 PM
> To: Python-Win32 List
> Subject: Re: [python-win32] Interacting with the desktop as a
> service onVista
>
> Matt Herbert (matherbe) wrote:
> > Steven,
> >
> > Thanks, I will give this a try.
> >
> > So then
ct 22, 2008 at 2:25 PM, Matt Herbert (matherbe)
<[EMAIL PROTECTED]> wrote:
> -Original Message-
> From:
[EMAIL PROTECTED]
> [mailto:python-win32-bounces+matherbe
<mailto:python-win32-bounces%2Bmat
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of Tim Roberts
> Sent: Wednesday, October 22, 2008 1:48 PM
> To: Python-Win32 List
> Subject: Re: [python-win32] Interacting with the desktop as a
> service onVista
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of Tim Golden
> Sent: Wednesday, October 22, 2008 10:21 AM
> Cc: [email protected]
> Subject: Re: [python-win32] Interacting with the desktop as a
> service onVista
>
Hey all,
So I have a service that needs to interact with the desktop on a Vista
machine. I've read multiple articles about Vista's updated security and
it's restrictions on services. So I realize that in order for the
service to interact with desktop, I'm going to need to create a new
process as
Hey all,
I'm using python 2.6b1.amd64 and pywin32-211.win-amd64 on my 64 bit
vista system. I am trying to access the CAPICOM COM library through
win32com.client. However, every time I try to load it through the
Dispatch method I get the following error:
>>> win32com.client.Dispatch('CAPICOM.Stor
Hey all,
Can anyone tell me what the userName argument is used for when calling
win32com.client.Dispatch?
Thanks
-Matt
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
> -Original Message-
> Tim Roberts wrote:
>
> Matt Herbert (matherbe) wrote:
> > Is there a way to make impersonation follow threads?
>
> What operating system are you running? On XP SP2 and later, a new
> thread should inherit the impersonation token of th
Hey all,
Is there a way to make impersonation follow threads? Given this simple
example:
import win32api
import win32security
import win32con
from threading import Thread
class Test(Thread):
def run(self):
print "Username (in thread): ", win32api.GetUserName()
print "Username (befo
TED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Roger Upole
> Sent: Sunday, November 11, 2007 1:21 AM
> To: [email protected]
> Subject: [python-win32] Logging off of windows
>
> Matt Herbert wrote:
> >
> > Hello all,
> >
> > I'm having a litt
Hello all,
I'm having a little problem figuring how I can tell if there is anybody
currently logged into windows at the desktop. More specifically, I am
initiating a logoff via the ExitWindowsEx() function and, as we all
know, it can sometimes take a little bit for the logoff to actually
complete
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Matt
> Herbert (matherbe)
> Sent: Wednesday, October 17, 2007 11:02 AM
>
> I am stumped trying to figure out how I can automate the login/logoff
> procedure on Windows.
>
> -Original Message-
> From: Tim Golden [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 18, 2007 3:07 AM
> To: Matt Herbert (matherbe)
> Cc: [email protected]
> Subject: Re: [python-win32] Automating logon/logoff
>
> Matt Herbert (matherbe) wrote:
&
>
> Thomas,
>
Wooops, I meant to say Tim. Sorry bout that.
-Matt
___
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Larry Bates
> Sent: Wednesday, October 17, 2007 7:34 PM
> To: [email protected]
> Subject: Re: [python-win32] Automating logon/logoff
>
> Matt Herbert (mather
Hello all,
I am stumped trying to figure out how I can automate the login/logoff
procedure on Windows. Here is what I know so far. First, I can logoff
the system pretty easily using win32api.ExitWindowsEx() function.
Second, I can auto logon the system (after a reboot) using the special
registry
Tim Golden wrote:
> OK, I'm not entirely sure what "bindings on a network adapter are".
Network Bindings are simply a list of Clients, Protocols, and Services
that can be bound to particular adapters in particular orders. This is
most easily visualized by brining up your Network Connections cont
Hello all,
I've been trying to figure out how to change the bindings on a network
adapter. I've used Google extensively and haven't found anything useful
(or I haven't been searching for the right things).
What I have found, leads me to believe that the only way to do this is
via the INetCfg
20 matches
Mail list logo