Auto Log off a RDP session

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?
LVL 6
kiwistagAsked:
Who is Participating?
 
kiwistagConnect With a Mentor Author Commented:
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.
0
 
kiwistagAuthor Commented:
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
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
piyushranusriSystem Cloud SpecialistCommented:
can you check with terminal server and publish with RDP file ?
0
 
kiwistagAuthor Commented:
The Thin Clients are Windows .CE based so there are no RDP files.
0
 
kiwistagAuthor Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.