We help IT Professionals succeed at work.
Get Started

Physical Windows 7 (domain PC) - not RDP - GPO to log off user profiles running in background due to switch user

Last Modified: 2018-05-24
Hello Everyone,

I have been looking around for an easy solution to force Active Directory users off shared Windows 7 systems  (not connected by RDP, but directly on the system) who have profiles running in the background because they did a switch user and forgot to log out, because if they have applications open then it will (with all those profiles running in the background) slow down the machine. I was hoping to find a GPO setting that allows me to force oswitch-users-logged-inswitch-users-logged-inff those idle background profiles, but not the current logged in user, i.e. forcing a restart or logoff of all profiles is not an option. It should target only those idle users and should work whether someone is logged in or not, see screenshot to see what I mean. So far I have found a few very complex, multi-step suggestions with and without scripts, etc. but they all made it extremely difficult to implement, did not meet the need to not affect the logged in active user or had the potential to mess up other aspects of the system experience. Any insights appreciated, because surely someone has had to try this since W7 has been out for many years now
Watch Question
This problem has been solved!
Unlock 2 Answers and 13 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE