Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How can I limit the number of active local sessions

11 Jan 2016   #1
vv211

Windows 7 Professional x64 w/SP1
 
 
How can I limit the number of active local sessions

I wasn't really sure which forum to post this under, but my concern is based on the limited resources available to PCs so I put it here; anyway ....

I'm interning/working at a college, and right now we're talking about the issue of students walking away from the PCs without logging off. While everyone is in agreement that a lockout policy of, say, 30 minutes can mitigate the risks associated with this behaviour, I'm concerned with the PCs slowing down with too many of these locked sessions.

Our PCs are configured to reboot once every week, so if two students walk away from the PC each day without logging off (which I think is a conservative estimate), leaving all their programs open, there could be 10+ active, but disconnected, sessions end of day friday, slowing the PC down for any students who have a night class and logon to that PC.

So is there a way we can put a limit on how many active, local sessions there can be a computer? I'm hoping for something that goes along the lines of
Code:
IF new user logging on AND current active sessions >= 3
   force logoff oldest session
ELSE
   continue as normal
Any existing programs/built-in windows tools or help with making a script for this would be cool

Edit: I should mention we don't want to logoff idle users since some classes are 3+ hours, and if a student stops working for a bit during a lecture we wouldn't want to close their work on them and have them lose everything


My System SpecsSystem Spec
.
11 Jan 2016   #2
torchwood

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
 
 

Hi Samuri,
have a look at this, (note Home premium does not have group policy)
https://www.google.co.uk/url?sa=t&rc...Z-GsyAe9_qpVxg
Roy
My System SpecsSystem Spec
11 Jan 2016   #3
vv211

Windows 7 Professional x64 w/SP1
 
 

Thanks for the suggestion, but unless I'm misunderstanding what Terminal Services is, it's similar to Remote Desktop. These are all students who login locally on the PC's, and then will walk away from them when they're finished; nothing is being done remotely.

All PCs have Windows 7 Enterprise installed
My System SpecsSystem Spec
.

11 Jan 2016   #4
Ztruker

Windows 10 Pro X64
 
 

My System SpecsSystem Spec
11 Jan 2016   #5
LMiller7

Windows 7 Pro 64 bit
 
 

Quote   Quote: Originally Posted by Ztruker View Post
This requires an Active Directory domain which must be hosted on a server OS. Not relevant to the current situation.
My System SpecsSystem Spec
12 Jan 2016   #6
vv211

Windows 7 Professional x64 w/SP1
 
 

Quote   Quote: Originally Posted by LMiller7 View Post
Quote   Quote: Originally Posted by Ztruker View Post
This requires an Active Directory domain which must be hosted on a server OS. Not relevant to the current situation.
We are using and AD domain. But there's also no guarantee that students will be logging in again at any other point during the week to kill their previous sessions.
I'm looking at more of a worst case scenario, which in all fairness hasn't happened yet to my knowledge.
My System SpecsSystem Spec
Reply

 How can I limit the number of active local sessions




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Excel 15 digit number limit issue
Try this. Type a 16-digit number in a cell, say: 1234567890123456 Then right click the cell and format this as a number, with no decimal places. Your number has just become: 1234567890123450 (note the last digit is now a zero). great stuff. Not. It has effectively corrupted your input...
Microsoft Office
Remote Desktop - Set Time Limit for Active Sessions
How to Set Time Limit for Active Remote Desktop Sessions This allows you to specify the maximum amount of time that a Remote Desktop Services session can be active before it is automatically disconnected. If a time limit is set, the user receives a warning two minutes before the Remote...
Tutorials
Processors - Limit Number Used by Windows 7
How to Set the Number of Processors or Cores to be Used by Windows 7 If you have a multiple core processor (CPU) or multiple processors, then this will show you how to limit the number of processors to be used by Windows 7, or to make sure that you are using all processors. This can be handy...
Tutorials
Remote Desktop - Set Time Limit for Idle Sessions
How to Set Time Limit for Idle Remote Desktop Sessions This allows you to specify the maximum amount of time that an active Remote Desktop Services session can be idle (without user input) before it is automatically disconnected. If a time limit is set, the user receives a warning two...
Tutorials
Limit on number of external hard drives?
Does Windows 7 have a limit on how many USB external hard drives it will use? We have 5 WD My Book 1TB drives; 4 of them are recognized and work just fine with Windows 7 Home Premium 64 (which we recently did a clean install of to replace Vista Home Premium 64), but the 5th one doesn't show up...
Installation & Setup
MSDN limit on number of keys?
Hi guys whats up. So in MSDN i am trying to DL windows 7 but i just have a question. You guys (MSDN subscribers ) have any idea on how many keys i can generate? because i accidentlly clicked the generate key twice and it gave me two keys :p. Thats not a problem is it? And also can these keys be...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:47.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App