microsoft terminal server

Discussion in 'Python' started by yqyq22@hotmail.com, Aug 29, 2008.

  1. Guest

    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].
    Regards
    thanks a lot in advance
     
    , Aug 29, 2008
    #1
    1. Advertising

  2. Tim Golden Guest

    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
     
    Tim Golden, Aug 29, 2008
    #2
    1. Advertising

  3. Larry Bates Guest

    Tim Golden wrote:
    > 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
     
    Larry Bates, Aug 30, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Charles A. Lackman
    Replies:
    1
    Views:
    1,441
    smith
    Dec 8, 2004
  2. SpamProof
    Replies:
    0
    Views:
    638
    SpamProof
    Oct 21, 2003
  3. gaurav kashyap
    Replies:
    3
    Views:
    6,725
    Paul Boddie
    Oct 31, 2008
  4. Steve
    Replies:
    2
    Views:
    975
    edicionsdigitals.com edicions digitals xarxa socia
    Dec 7, 2010
  5. WeatheMan
    Replies:
    0
    Views:
    161
    WeatheMan
    Nov 23, 2004
Loading...

Share This Page