[python-win32] Enable/disable Remote Desktop via Python
Mark Hammond
skippy.hammond at gmail.com
Tue May 18 02:19:28 CEST 2010
On 18/05/2010 3:31 AM, Tim Roberts wrote:
> Tony Cappellini wrote:
>> But I need to enable/disable Remote Desktop login on the current
>> machine, not a remote machine.
>> I''ll play around with this "set service remotedesktop enable"
>>
>
> But you said you needed to do this while you were remotely logged in
> yourself, right? If so, you need to be careful how you do this. If you
> actually stop the service, then YOUR session will be closed as well, and
> you won't be able to get back in without going physically to the machine.
Or even if you do manage to do this without stopping the service and
immediately losing your connection, what happens when the network drops
out etc and you lose your existing connection without the opportunity of
re-enabling future remote connections?
Mark
More information about the python-win32
mailing list