Auto Log off a RDP session

Posted on 2012-09-03
Last Modified: 2012-09-10
We have a messaging system consisting of Thin Clients connected to TV's.
Currently the Thin Client login automatically runs a Powerpoint presentation on the desktop.
What we want to do is either in the script or as part of a scheduled task on the RDP servers is have the unit automatically log off after 30 minutes. This way when the Thin Client automatically logs back in it will pick up any new revisions of the document and display them.

What would be the easiest way to do this?
Question by:kiwistag
    LVL 3

    Assisted Solution

    LVL 6

    Author Comment

    Thanks, I am aware of that setup but after something more definable.
    I'm more after a command(let) that may work, i.e.
    shutdown /l

    Open in new window

    but off a timer since /t won't work with /l

    There is a login script that is run on login and I was hoping to put it in there.
    If there is no readily available answer then I may have to revert to the GPO
    LVL 8

    Expert Comment

    can you check with terminal server and publish with RDP file ?
    LVL 6

    Author Comment

    The Thin Clients are Windows .CE based so there are no RDP files.
    LVL 6

    Accepted Solution

    The downside to a logon timeout as specified in a GPO is that the Thin Client knows when this has happened and pops up with a message stating that the session has timed out and logged off.
    The only way to remove this message is interactively which of course means we have to remote onto the Thin Client (via Altiris) and OK the message.
    A manual or shutdown /l logoff doesn't bring up any messages.

    What I have done however is set a batch script to run on logon via GPO (User Settings > Policies > Windows Settings > Scripts) to run the timeout command then just "shutdown /l".
    This then doesn't interfere with the user logon script.

    Thanks for all your input.
    LVL 6

    Author Closing Comment

    Solution by submitter was useful, however did not resolve other technical issues.
    I ended up finding a semi-solition from a mix if his answer and alternative possibilities.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
    This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now