Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way of using group policy to set a Windows 7 AD attached desktop to logoff after 15+ mins?

I want the machine just go back to the login prompt after kicking off the user.

share|improve this question
15 minutes of inactivity or just logoff every 15 minutes? – cop1152 Jan 11 '11 at 13:31

You could create a scheduled task that runs after fifteen minutes of being idle. Utilise the shutdown.exe command to launch.

share|improve this answer

Use Group Policy to configure a scheduled task. You probably want it to be triggered by the Logon action

Set the scheduled task to use either "shutdown /l" or "logoff" to log the user off. It's probably good practice to also either configure a visible countdown timer to run at logon, or set another scheduled task to warn the user a minute before logging them off.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.