Solved

auto logoff of administrator level user to free up machine for standard users

Posted on 2014-02-23
9
523 Views
Last Modified: 2014-03-11
on a shared win 7 machine, there are 2 users - 1 has admin rights and the other is a standard user. I want to logoff the admin user after 10 minutes of idle so

a) the standard user doesn't get into the admin files
b) the screen saver kicks in after 5 minutes for the admin so I want the standard user to be able to use the machine

I created a scheduled task to run shutdown /r /t /f, but on what conditions / are conditions AND or OR?

I set 2 conditions -
when idle 10 minutes
when the admin user is logged in

I'm working remotely, so I can't tell if this will work to log off just the admin user after 10 minutes (no need for the standard user to be logged off).

This is a workgroup<<<<<   I listed this under SBS to draw on SBS admins knowledge : )

thanks!
0
Comment
  • 5
  • 3
9 Comments
 
LVL 2

Accepted Solution

by:
Sylvain_piv earned 250 total points
ID: 39880514
I think you have your answer on the second post. On your scheduled Task select "start the task only if the computer is idle of : 10 min"

source : http://superuser.com/questions/105033/timeout-a-user-account
0
 

Author Comment

by:BeGentleWithMe-INeedHelp
ID: 39880516
rather than

idle 10 minutes
when connection to user session,

how about just

on workstation lock

for just that user? but the delay time is only 1 min or 30 min... any way to change it to something else?
0
 
LVL 2

Expert Comment

by:Sylvain_piv
ID: 39880528
if you want to logoff session, make a scheduled task.

If you want to lock screen, configure it with screensaver option and ajust time like you want.
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:BeGentleWithMe-INeedHelp
ID: 39880561
logoff - right - that's what I want.  But how to do it

a) only for the admin
b) after x minutes of being idle
0
 

Author Comment

by:BeGentleWithMe-INeedHelp
ID: 39880564
And how would you have it log in as the standard user (which has a password)?

I guess reboot rather than logoff? because then you can set control userpasswords2 to log in a certain user, entering the password for them.

but reboot takes longer than logging off.
0
 
LVL 2

Expert Comment

by:Sylvain_piv
ID: 39880618
for a ) see Screen A
For b) see screen B

When administrator session was logoff, Windows prompts for a username or password .
2014-02-23-14h51-20.png
2014-02-23-14h53-47.png
0
 
LVL 74

Assisted Solution

by:Jeffrey Kane - TechSoEasy
Jeffrey Kane - TechSoEasy earned 250 total points
ID: 39898965
Why do you want the user logged off instead of just locking the session?

If the admin user has an open, un-saved document, logging them off automatically will cause any changes to be lost.

There is no security advantage to logging them off -- locking the session is sufficient.

Is it possible that you don't have Fast-User Switching enabled on this machine?  Because all that the second user needs to do is use CTRL-ALT-DEL and select "Switch User" to log on.  FYI, Fast-User Switching is disabled if you RDP into the machine, so you can't check this remotely unless you use something like TeamViewer or LogMeIn.

http://windows.microsoft.com/en-us/windows/switch-users-without-logging-off

Jeff
0
 

Author Closing Comment

by:BeGentleWithMe-INeedHelp
ID: 39921375
they decided not to do this. thanks for your comments!
0
 

Author Comment

by:BeGentleWithMe-INeedHelp
ID: 39921377
they decided not to do this. thanks for your comments!
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IPV6 Issues 3 29
Giving user local admin via workstation security properties on SBS 2008 3 33
Windows 7 Professional 6 61
Pay to 支付宝 12 30
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
An article on effective troubleshooting
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

810 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