954,315 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Force users to log off after a period of inactivity

Hi

I need to force a logoff for idle users through a gpo, after 2 or 3 hours of inactivity.

The suggested solution in every previous thread is using a screensaver that does the trick.

That's not good for me, because I need the screen saver to run after 15 minutes of inactivity and lock the computer. I need to force the end of a session after a much greater period of time.

Lock after 15 minutes (I already use the screensaver).
Logoff after 3 hours.

I'm using W2003svr and workstations have xp.

Thanks in advance!!
Lenni

lenni
Newbie Poster
8 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

Go to a DOS shell (cmd) and type NET CONFIG SERVER. Towards the bottom it should say something like "Idle Session Time: 15" - This means it'll log someone off after 15 minutes of inactivity, though I've never seen it in action. Use NET CONFIG SERVER /AUTODISCONNECT:x to specify a time in minutes for the allowed time of inactivity.

arun_cdm
Newbie Poster
4 posts since Aug 2008
Reputation Points: 10
Solved Threads: 0
 

Hi, thanks for your reply.
I've been searching online and it seems to me that NET CONFIG SERVER is used to disconnect mapped drives, or a connection to a shared folder or printer in general, i.e. the connections that you can see in NET USE. It doesn't seem to close the applications and finish the windows session for the user, which is what I'm looking for. I've tried it though, but it didn't work.
Thanks anyway. Any other help will be greatly appreciated.
Lenni.

lenni
Newbie Poster
8 posts since Jun 2008
Reputation Points: 10
Solved Threads: 0
 

Try the easy tool from http://www.wizardsoft.nl/LogoffStandby/logoffstandby.html It will do logoff after a period of inactivity and/or enters standby mode. Usefull for shared computer/laptop scenarios in schools for example.

Windo
Newbie Poster
1 post since Dec 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: