[python-win32] Enable/disable Remote Desktop via Python
Tony Cappellini
cappy2112 at gmail.com
Sat May 15 16:44:19 CEST 2010
Message: 1
Date: Fri, 14 May 2010 10:07:57 -0700
From: Tim Roberts <timr at probo.com>
To: Python-Win32 List <python-win32 at python.org>
Subject: Re: [python-win32] Enable/disable Remote Desktop via Python
Message-ID: <4BED836D.50309 at probo.com>
Content-Type: text/plain; charset=ISO-8859-1
>>Are you saying that when you are remotely logged into system X, you want
>>to disable Remote Desktop access to system X?
Yes
>>Isn't that going to prevent YOU from accessing system X as well? It's a little like sawing
>>off the tree branch on which you are sitting, isn't it?
No
It doesn't terminate my connection, It just stops other users from
trying to connect remotely
while I'm, connected. Attempts to connect by other users would log me
off with no warning, an
possibly cause a loss of data.
>Yes, but FWIW, this is an artificial licensing restriction, not a
>>technical restriction.
This IS a technical question. It is no different than someone posting
a question like
"How do I ??? with Tim's WMI module ?"
There is a checkbox in Control Panel to do this microsoft has provided
it for the user.
I want to enable/disable that checkbox via Python, and want to know
how it can be done.
When you run the Remote Desktop Client, there is an option to execute
a program on the
remote machine. This would be the perfect place to do call the program
from, so it would be done automatically.
More information about the python-win32
mailing list