none
shutdown automation RRS feed

  • General discussion

  • any way to script the following scenario?

    if there is no active rdp session (now) and the last rdp session (logout event) was more than 72 hours ago, gracefully close hung rdp sessions and shutdown

    • Edited by rastasar Monday, January 15, 2018 7:07 AM
    • Changed type Bill_Stewart Monday, March 12, 2018 8:13 PM
    • Moved by Bill_Stewart Monday, March 12, 2018 8:13 PM Abandoned
    Thursday, December 28, 2017 10:23 PM

All replies

  • Look at your post. It is completely unreadable and filled with garbage characters.

    -- Bill Stewart [Bill_Stewart]

    Thursday, December 28, 2017 10:56 PM
  • thank you for pointing it out bill
    just corrected it.

    Monday, January 15, 2018 7:08 AM
  • What problem are you trying to fix by positing this scenario?

    -- Bill Stewart [Bill_Stewart]

    Tuesday, January 16, 2018 3:14 PM
  • Terminal server has a set of commands that can retrieve the length of time the session has been disconnected and a command that can logoff a session. You don't need to script this.

    The best place to learn how to manage RDS is in the RDS forum. 


    \_(ツ)_/

    Tuesday, January 16, 2018 3:17 PM