Timed Out Forced Back to Login Screen?

djohnso7

New Member
I set up separate account for each member of my family on the new PC. I would like set things up so when any of the accounts are inactive for 20 minutes it will go back to the login screen rather than a screen saver. Is that possible?

When Vista times out it goes to the login screen if the account uses a password. As administrator, I use a password. The rest of my family does not.



I want to go to the login screen because my family is too lazy to exit the current account and click into their own. They tend to use whatever account is on the screen, then complain that others make changes to "their" desktop. If I can make the timed-out account go back to the login screen, then loging into their own account will take the same effort as going to the account of someone else.



Can it be done?
 

My Computer

I set up separate account for each member of my family on the new PC. I would like set things up so when any of the accounts are inactive for 20 minutes it will go back to the login screen rather than a screen saver. Is that possible?

When Vista times out it goes to the login screen if the account uses a password. As administrator, I use a password. The rest of my family does not.



I want to go to the login screen because my family is too lazy to exit the current account and click into their own. They tend to use whatever account is on the screen, then complain that others make changes to "their" desktop. If I can make the timed-out account go back to the login screen, then loging into their own account will take the same effort as going to the account of someone else.



Can it be done?

The only solution that I can think of at the moment is to use the "On Resume, display logon screen" option in the screensaver, as shown in this screenshot:
screensaver_logon.jpg

To change the screensaver:
  1. Right-click an empty area of the desktop, then select "Personalize"
  2. Click on "Screen Saver"
You may want to consider adding passwords to all the user accounts, and changing all but one (yours) to limited accounts, especially for your younger children. That way you can also enable Parental Controls that you can use to monitor their computer usage or restrict the times that they can use the computer, amoungst others. For more information on Parental Controls, view this tutorial - http://www.vistax64.com/tutorials/95143-parental-controls-time-limits.html.
 

My Computer

System One

  • Manufacturer/Model
    Custom Build
    CPU
    AMD Phenom 9600 Quad
    Motherboard
    ASUS MB-M3A32-MVP Deluxe/WiFi
    Memory
    2 x A-Data 2GB DDR2-800
    Graphics Card(s)
    ASUS ATI Radeon HD 2400PRO
    Monitor(s) Displays
    SAHARA 21"
    Screen Resolution
    1600x1200
    Hard Drives
    2 x 80GB Seagate (I)
    2 x 120GB Seagate (I/S)
    2 x 200GB Seagate (I/S)
    2 x 250GB Seagate (I/S)
    PSU
    800W
    Case
    Thermaltake Tai-Chi
    Cooling
    Tai-Chi Water Cooler
    Keyboard
    Genius
    Mouse
    Logitech
    Internet Speed
    384kbps
    Other Info
    Currently dual booting between Vista x64 Ultimate Windows 7 BETA x64
Hi,

This can be achieved by using the 'Task Scheduler'. Follow the instructions below.

1) Click the start orb, type 'Task Scheduler' into the search box and press enter/return. The 'Task Scheduler' dialogue will appear.

2) In the left hand column, click 'Task Scheduler Library' and then in the right hand column 'Actions' click 'Create Task...'. The 'Create Task' dialogue will open.

3) Click the 'General' tab. Give the task a meaningful name and description e.g. 'AutoRestart' for the name and 'Automatically restart
after period of inactivity.' for the description. Also click the checkbox marked 'Hidden'.

4) Click the 'Triggers' tab and click 'New...'. On the dialogue that appears, click on the drop-down box next to 'Begin the task:' and select
'On idle'. In the 'Advanced settings' panel, ensure that the checkbox marked 'Enabled' has a tick in it. Click 'OK'.

5) Click the 'Actions' tab and click 'New...'. The default setting for this dialogue, 'Start a program', is what is required, so in the 'Settings' panel do the following. In the box under 'Program/script:' enter 'C:\Windows\System32\shutdown.exe'. In the 'Add arguments (optional):' box enter '/r /t 60 /c "The computer will restart in 1 minute. Please save any work. This action cannot be aborted."'. Click 'OK'.

6) The settings under the 'Conditions' and 'Settings' tabs are fine with their defaults, so click on 'OK'.

7) Note that because you clicked 'Hidden' above, this task will not appear in the scheduler. To show this task, in the right hand column 'Actions' click 'View' and check 'Show Hidden Tasks'. Remember to uncheck this if you want to hide the task again.

8) Close the 'Task Scheduler'. The task will begin running. After a period of inactivity of approximately 15 minutes, the computer will execute the task.

9) This is taken from the 'Help' dialogue.

"The Task Scheduler service will check if the computer is in an idle state every 15 minutes. A computer is considered to be in an idle state when a screen saver is running. If a screen saver is not running, then the computer is considered to be in an idle state if there is 0% CPU usage and 0% disk input or output for 90% of the past fifteen minutes and if there is no keyboard or mouse input during this period of time. Once the Task Scheduler service detects that the computer is in an idle state, the service only waits for user input to mark the end of the idle state."

For those interested, here is the code.

Code:
  <?xml version="1.0" encoding="UTF-16" ?> 
- <Task version="1.2" xmlns="[URL]http://schemas.microsoft.com/windows/2004/02/mit/task[/URL]">
- <RegistrationInfo>
  <Date>2008-07-11T19:38:41.5828227</Date> 
  <Author>Cyclops-PC\Dwarf</Author> 
  <Description>Automatically restarts after period of inactivity</Description> 
  </RegistrationInfo>
- <Triggers>
- <IdleTrigger>
  <Enabled>true</Enabled> 
  </IdleTrigger>
  </Triggers>
- <Principals>
- <Principal id="Author">
  <UserId>Cyclops-PC\Dwarf</UserId> 
  <LogonType>InteractiveToken</LogonType> 
  <RunLevel>LeastPrivilege</RunLevel> 
  </Principal>
  </Principals>
- <Settings>
- <IdleSettings>
  <Duration>PT10M</Duration> 
  <WaitTimeout>PT1H</WaitTimeout> 
  <StopOnIdleEnd>true</StopOnIdleEnd> 
  <RestartOnIdle>false</RestartOnIdle> 
  </IdleSettings>
  <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy> 
  <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries> 
  <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries> 
  <AllowHardTerminate>true</AllowHardTerminate> 
  <StartWhenAvailable>false</StartWhenAvailable> 
  <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable> 
  <AllowStartOnDemand>true</AllowStartOnDemand> 
  <Enabled>true</Enabled> 
  <Hidden>true</Hidden> 
  <RunOnlyIfIdle>false</RunOnlyIfIdle> 
  <WakeToRun>false</WakeToRun> 
  <ExecutionTimeLimit>P3D</ExecutionTimeLimit> 
  <Priority>7</Priority> 
  </Settings>
- <Actions Context="Author">
- <Exec>
  <Command>C:\Windows\System32\shutdown.exe</Command> 
  <Arguments>/r /t 60 /c "The computer will restart in 1 minute. Please save any work. This action cannot be aborted.</Arguments> 
  </Exec>
  </Actions>
  </Task>

Hope that this helps.
Dwarf
 
Last edited:

My Computer

System One

  • Manufacturer/Model
    Dwarf Dwf/11/2012 r09/2013
    CPU
    Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.2GHz)
    Motherboard
    ASRock Z77 Extreme4-M
    Memory
    4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
    Graphics Card(s)
    MSI GeForce GTX770 Gaming OC 2GB
    Sound Card
    Realtek High Definition on board solution (ALC 898)
    Monitor(s) Displays
    ViewSonic VA1912w Widescreen
    Screen Resolution
    1440x900
    Hard Drives
    OCZ Agility 3 120GB SATA III x2 (RAID 0)
    Samsung HD501LJ 500GB SATA II x2
    Hitachi HDS721010CLA332 1TB SATA II
    Iomega 1.5TB Ext USB 2.0
    WD 2.0TB Ext USB 3.0
    PSU
    XFX Pro Series 850W Semi-Modular
    Case
    Gigabyte IF233
    Cooling
    1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
    Keyboard
    Microsoft Comfort Curve Keyboard 3000 (USB)
    Mouse
    Microsoft Comfort Mouse 3000 for Business (USB)
    Internet Speed
    NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
    Other Info
    Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
    Lexmark S305 Printer/Scanner/Copier (USB)
    WEI Score: 8.1/8.1/8.5/8.5/8.25
    Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)
Back
Top