GPO to log off idle users who have been switched from in Windows 7
-
Freitag, 23. November 2012 16:01
Hi guys. Is there a GPO that will automatically log off a user account that had been switched out of by the "switch" button on a locked screen after a certain idle time period? Only catch is that if the session hasn't been switched out of, but has been idle for that same period, I would not want it to be logged off, for instance if someone went to a meeting that last longer than this time period but nobody else logged on to that machine.
We have a lot of users who move between machines, sometimes forgetting to log off machine 1 before they move to machine 2 and log on. If another user hits "switch" then logs on, that leaves the other users session running in the background, which we don't want.
Alle Antworten
-
Freitag, 23. November 2012 20:09
Hello,
You can enable this policy:
http://superuser.com/questions/303556/windows-7-lock-computer-prevent-another-user-from-logging-in
This will prevent the users from switching.
MVP Group Policy - Mythen, Insiderinfos und Troubleshooting zum Thema GPOs: Let's go, use GPO!
-
Freitag, 23. November 2012 20:20
Thanks Matthias.
If I do this though, and a user leaves a computer locked, how will we then be able to log them off so someone else can log on to the computer?
-
Samstag, 24. November 2012 13:51
That's not possible through Group Policy. You will need a script that sits in the background in each user's session and monitors the session state...NO THEY ARE NOT EVIL, if you know what you are doing: Good or bad GPOs?
Wenn meine Antwort hilfreich war, freue ich mich über eine Bewertung! If my answer was helpful, I'm glad about a rating!- Als Antwort markiert K_evin ZhuMicrosoft Contingent Staff, Moderator Montag, 3. Dezember 2012 08:07
-
Montag, 26. November 2012 04:55Moderator
Hi,
I agree with Martin. It cannot be perform by using Group Policy.
We can seek help regarding scripts from our script forum:
http://social.technet.microsoft.com/Forums/en-US/ITCG/
Regards
KevinIf you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
- Als Antwort markiert K_evin ZhuMicrosoft Contingent Staff, Moderator Montag, 3. Dezember 2012 08:07
-
Montag, 3. Dezember 2012 08:08Moderator
Hi,
As this thread has been quiet for a while, we will mark it as ‘Answered’. If you need further help, please feel free to reply this post directly so we will be notified to follow it up. You can also choose to unmark the answer as you wish.
BTW, we’d love to hear your feedback about the solution. By sharing your experience you can help other community members facing similar problems. Thanks for your understanding and efforts.
Best Regards
KevinIf you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.

