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
inkmachine

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
Ztruker

Windows 8.1 Pro 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
inkmachine

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
Ztruker

Windows 8.1 Pro X64
 
 

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

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
Ztruker

Windows 8.1 Pro X64
 
 

My System SpecsSystem Spec
15 Nov 2012   #7
Christian Smith

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
Ztruker

Windows 8.1 Pro X64
 
 

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

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
inkmachine

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
Thread Forum
Login Screen Only Showing One Account
On my computer I have two accounts, Admin and user. Recently, whenever I have started up my computer, all that shows on the login screen is admin. I have to restart it ~50 times to get it to show my personal user account. Any suggestions on how to fix this??? I run Windows 7 home edition.
General Discussion
Unable to See User Account on Login Screen
I have two user accounts on my PC - Staff and Administrator. I loaded Win7 a few days ago and created the Staff account. Earlier today, I changed the Staff account from an Administrator to a Standard account. I was logged on as Staff when I did it. I then logged off and back on and when I...
General Discussion
Weird account problem Admin account not at login screen
This is very strange. A few weeks ago someone in my household created a user account with administrative privileges and changed the other accounts to standard users. Problem is that now we can not log on to the account. It isn't on the log in screen. All I can do it see it through the manage...
General Discussion
One last try, Get rid of User Account picture on login screen.
Hi 7forum! This is my last resort, so please help me! I have after a long time searching ended up here on this forum. What I want to do is simply to remove the picture & frame on my login screen, only the password, my name, switch user should be left on the screen. To clarify, I don't...
Customization
Account not showing up on login screen
Today I was trying to log in to my computer after a restart. The computer booted and the screen with the Windows 7 Ultimate logo appeared. However, it does not have the username/password box, so I can't log in. The screen is also refreshing (turning black for a second and coming on again) but it is...
General Discussion
Login Screen Appears with no password and one account
I have two machines that I've installed Windows 7 Professional 32-bit on and I'm having the same problem on both. When I turn on my computer it goes to the login welcome screen and stops. I have to click on my picture for it to continue logging into the desktop. I have no password and only one...
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 02:14.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App