opening remote new sessions RRS feed

  • Question

  • Hello everyone,


    I have N local-admin on machine B(winServer 2008).

    I want machine A to open N remote sessions -one for each local user

    (no worries about the active user at the same time limitation - I have worked this out)

    and then I want each user to run some batch file.

    I want it all to be done with no user interference


    I have tried to create N processes and told each of them to execute an RDP controller form. Raising event when each form is shown. That worked fine but only one controller at a time showed the remote desktop.

    Nevertheless, that might have opened N sessions- didn't checked yet. But I thought maybe someone could guide me to a better solution – as I need no GUI.

    I saw WMI and Psexec commands. How can I know if they open new sessions every time they are called or re-use the same session over again?


    In addition, how could I configure programmatically this logon script issue?


    I appreciate any assistance

    • Moved by Chao Kuo Tuesday, May 4, 2010 6:17 AM Not C# general (From:Visual C# General)
    Thursday, April 29, 2010 9:07 PM