Solved

How can  you auto logout a user rather than just lock the screen / require a password?

Posted on 2013-12-22
8
649 Views
Last Modified: 2013-12-22
I was asking someone if they wanted their computer to put up the screen saver and require password when it wakes up.  

They misunderstood me and wrote 'yes, can you setup the auto logoff'. made me think - the users are standard users.  So when the computer locks, others can't use the computer - only admins and that previous user can log off the machine.

Is there a way to auto logoff users after x minutes?  Yeah, if a word doc or similar is open, it would either just force close word or save it with a default name? (although forcing close word is ok, because auto save will bring it back next time they open word?).

thanks!
0
Comment
  • 3
  • 3
  • 2
8 Comments
 

Author Comment

by:BeGentleWithMe-INeedHelp
ID: 39734855
actually, even better would be to switch users rather than logoff, right?  after x minutes, it goes back to the login screen for other users to log in but the original user's desktop is still available if they log back in.  It's only 2 users on the machine so it won't have loads of suspended sessions.
0
 
LVL 92

Expert Comment

by:John Hurst
ID: 39735007
In the Screen Saver settings there is a setting to Display Logon on resume. Try using that to see if it works. I confess I do not bother with it, so I do not know for sure.

Windows-7-Resume-from-Screen-Saver
... Thinkpads_User
0
 

Author Comment

by:BeGentleWithMe-INeedHelp
ID: 39735018
that will lock the screen and require the current user's password or an administrator username / password to unlock it.

another user is out of luck to be able to use the computer at this point.  

I'd like to kick the user off after x minutes so another user can log in.

I found several apps that will do this.  I guess it's a question of which is best / most stable...

http://www.sevenforums.com/software/52504-shutdown-timer-i-made.html

http://www.paulspoerry.com/2012/automatically-log-off-inactive-windows-7-users/

 and a couple others.
0
 
LVL 92

Expert Comment

by:John Hurst
ID: 39735072
In addition, I saw Auto Lock that looks like it could do the trick and has a fairly standard interface to work with.

http://www.guidingtech.com/11583/automatically-lock-or-log-off-windows-pc-auto-lock/

See the link just above using Auto Lock for a download link.

Of the two you picked, I liked Shutdown Timer the best.

Of the three, I like Auto Lock the best.

.... Thinkpads_User
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 5

Accepted Solution

by:
Kwoof earned 500 total points
ID: 39735110
create a task scheduled for idle for XX minutes and put the command for shutdown /l
0
 

Author Comment

by:BeGentleWithMe-INeedHelp
ID: 39735335
Kwoof - that's it!?  Seems too easy : )

How about switch user rather than logoff?  

and maybe also include  /t 60 or /f - give them time to move the mouse to reset the clock and if word or another app is open, force them closed?  Otherwise, it will hang at the 'want to save this' message, right?
0
 
LVL 5

Expert Comment

by:Kwoof
ID: 39735388
people have had trouble with the /t and the /c to comment, but I would try to see if it works on the OS you are running.

It would be great to have the switch user option...but I don't believe that it is available on shutdown.exe

For something more involved, you need to buy software (like a WinExit screensaver trigger), or write it...shouldn't be too hard to write in .Net?
0
 
LVL 5

Expert Comment

by:Kwoof
ID: 39735392
OH...here you go...create 2 tasks...say you want to logout at 10 minutes with a 1 minute warning...create the logout task at 10 minutes...then create a 9 minute task that pops up a warning window...if they  make any action to release the warning, it would restart the idle timer.
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now