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: I need to have my computer log off my account and to the login screen


12 Nov 2012   #1

Windows 7
 
 
I need to have my computer log off my account and to the login screen

Hi,

I need to have my computer log off my account and to the login screen after about 15 minutes or so of being idle or inactive.

I built a brand new PC this weekend with Windows 7 Professional 64 Bit.

I followed the steps in the tutorial at this website

automatic logout after inactivity/idle

But when I came into work this morning, my computer never logged off and it was still at my desktop as if nothing had happened.

Here's the error info from the Task history:

-------------------------------------
Log Name: Microsoft-Windows-TaskScheduler/Operational
Source: Microsoft-Windows-TaskScheduler
Date: 11/11/2012 10:18:29 AM
Event ID: 101
Task Category: Task Start Failed
Level: Error
Keywords: (1)
User: SYSTEM
Computer: ARTDEPARTMENT.greatputon.com
Description:
Task Scheduler failed to start "\Log Off Idle Session" task for user "GREATPUTON\Administrator". Additional Data: Error Value: 2147750692.
------------------------------------------


If I go into my task scheduler and actually run this schedule from there, it logs me off perfectly as I would want it to. But it's not running automated for some reason.

Do any of you have any recommendations as to why this wouldn't be working and if not, do you have any other recommendations or methods I could use to get the computer to log off of my account after being idle?

I can't set it for a certain time, it has to be after being idle or inactive.

Thanks a lot!
Jason


My System SpecsSystem Spec
.

12 Nov 2012   #2

Windows 8 Core X64
 
 

Did you go through all the Tabs of Task Scheduler as Noel showed? Since it never started it sounds like it may not be running under your account when it runs scheduled or has the wrong password, or something like that.

What I would do is create a simple batch file that writes a line to a .txt file each time it runs, then get that working under Task Scheduler. Once you have that, substitue shutdown /l /t 30 and see if that works. If it does, you'll see a popup window saying your computer will be shutting down in 30 seconds.

You may have to set it for 30 idle minutes as Noel mentions instead of 15.
My System SpecsSystem Spec
14 Nov 2012   #3

Windows 7
 
 

Hi,

Well, I double checked everything and this is still not working =(
I couldn't even get the batch file to run when the system is set to idle.

Any other suggestions on what I could possibly do?

Thanks for your help
My System SpecsSystem Spec
.


14 Nov 2012   #4

Windows 8 Core X64
 
 

What does the Task Scheduler show in History for when you try to run it?
My System SpecsSystem Spec
14 Nov 2012   #5

Windows 7 Professional x64
 
 

My computer is set for the screensaver to start up after 5 minutes of being inactive, it's set to just be a black screen. Whenever I return to the computer, and come out of the screensaver, I am back to the loginscreen and required to enter my password etc. Could this be a workaround, or is a full logoff still required?
My System SpecsSystem Spec
15 Nov 2012   #6

Windows 8 Core X64
 
 

My System SpecsSystem Spec
15 Nov 2012   #7

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by Ztruker View Post
Oh yes I probably should have included that Tutorial, oops
My System SpecsSystem Spec
15 Nov 2012   #8

Windows 8 Core X64
 
 

????? I don't understand.
My System SpecsSystem Spec
15 Nov 2012   #9

Windows 7 Professional x64
 
 

I was telling inkmachine how I have my computer set up to see weather that was something he could make use of.
(The automatically locking and returning to the login screen)
But if it is necessary that he fully logs off the computer after 15 minutes, then my sugesstion isn't of use.
My System SpecsSystem Spec
16 Nov 2012   #10

Windows 7
 
 

Hi,

The odd thing is....I tried the screensaver...ANY screensaver and no screensavers will work either.

I set the screensaver for 1 minute, 2 minutes, 10 minutes....nothing.
A screensaver never activates whether I have 'Password on resume' checked or not.

This is a fresh install of Windows on a brand new system.

So, the screensavers aren't seeing my system as idle and the task manager must not be seeing it as idle? Is that why neither one would be triggered?

If so, what could be keeping my system thinking its running and active even though no one is touching the mouse or keyboard?

I'm not a Windows Guru by any means, so if any of my questions seem stupid, thats why. LOL

Thanks for all of your help!
My System SpecsSystem Spec
Reply

 I need to have my computer log off my account and to the login screen




Thread Tools



Similar help and support threads for2: I need to have my computer log off my account and to the login screen
Thread Forum
One last try, Get rid of User Account picture on login screen. Customization
Light blue screen after i login to my account on windows 7 General Discussion
New user account not appearing on login screen Customization
login screen phantom user account General Discussion
Account not showing up on login screen General Discussion
Hide the administrator account at the login screen General Discussion
Login Screen Appears with no password and one account 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 05:45 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33