[python-win32] Enable/disable Remote Desktop via Python

2010-05-13 Thread Tony Cappellini
On WinXP,

under Control Panel/System/Remote - there is a check box to
enable/disable Remote Desktop access.

I need to toggle this- so I don't get disconnected by other users,
when I'm connected to a system remotely.
The desktop version of Windows- still doesn't allow concurrent
multi-user logins in the year 2010.

I'd like to be to write a program to toggle this for me.

Would someone point me to a resource which describes how to do this?

Thanks
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


Re: [python-win32] Enable/disable Remote Desktop via Python

2010-05-13 Thread Michel Claveau

Hi!

It is easy to stop/restart the service "TermService" under Windows 7 (or 
equivalent under other windows).


@-salutations
--
Michel Claveau

___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


Re: [python-win32] Enable/disable Remote Desktop via Python

2010-05-13 Thread Randy Syring
I think the OP was wanting to prevent other users from logging in while 
he is logged in remotely.  He said he doesn't want to get 
"disconnected."  If that is the case, disabling TermService would kill 
his current session and be worse than a disconnect.  :)


--
Randy Syring
Intelicom
502-644-4776

"Whether, then, you eat or drink or 
whatever you do, do all to the glory

of God." 1 Cor 10:31



Michel Claveau wrote:

Hi!

It is easy to stop/restart the service "TermService" under Windows 7 
(or equivalent under other windows).


@-salutations

___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32