Re: microsoft terminal server
- From: Larry Bates <larry.bates@xxxxxxxxxxxxxx>
- Date: Sat, 30 Aug 2008 07:39:17 -0500
Tim Golden wrote:
yqyq22@xxxxxxxxxxx wrote:HI,
i would like to know if there is a way to create a python script for
automate mstsc.exe username and pwd credential, i mean i would create
a script that first open mstsc.exe and in the same time is able to
fill [computer+username+pwd].
Haven't tried it, but in principle you should be
able to use the win32cred package from pywin32
to store your username / password and use an .rdp
file to automate the rest of the settings, including
the server.
TJG
Use Remote Desktop Connection to create/save an .rdp file that can connect to your remote computer. Then use os.startfile('<filename>'.rdp). It will call mstsc for you.
-Larry
.
- Prev by Date: Re: Segmentation Fault on CDLL reloading
- Next by Date: Re: How to check is something is a list or a dictionary or a string?
- Previous by thread: Re: Segmentation Fault on CDLL reloading
- Next by thread: How to delete elements from Tix Combo Box?
- Index(es):
Relevant Pages
|