How to keep track of the time which I am actively logged into my PC

Is their a way to daily keep track of the time which I am logged into my computer and actively working? Of course there will be intervals of time when I am reading and am not typing or using the mouse cursor.

I just want to keep track of the time which I am logged into my computer before it logs me out if I am not using it. I think 10 minutes is the current time limit.

Is there something built into windows, or a script I can create and run (Or perhaps someone has already written one by now)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew LeniartIT Consultant & Freelance JournalistCommented:
Is their a way to daily keep track of the time which I am logged into my computer and actively working?
Look at your watch!

Sorry... couldn't resist :)

On a serious note, would something like this help you out?

The "Lite" version is free to use. Or were you after a much simpler and basic solution?

Regards, Andrew
Devin BeckerDevOps AssociateCommented:

This might not be what you are looking for, but you could possibly set up an Auto Hot Key to press a key(ie. Scroll Lock) which should keep the computer "active" and prevent from logging you off due to inactivity.

Here is the Basics documentation provided by AutoHotKey:

Again, this might help you, unless you are specifically looking to use the logs.

Devin Becker
Andrew LeniartIT Consultant & Freelance JournalistCommented:
brgdotnet, reading over your question again, I may have misunderstood your intent. Is your need to track the time spent on your computer, or just to change how much idle time has elapsed before you're logged out?

If you're being logged out, what are you using to automatically log yourself out of the computer? That would have had to have been set up at some stage because the only default in Windows is to activate the screen saver and present the password prompt again. (Ie: Just a lock - no "Log Out")

To change the latter;

Press Windows Key and type "Lock Screen Settings"
Click the result

Check both "Screen timeout settings" and "Screen saver settings" options.
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

brgdotnetcontractorAuthor Commented:
Thanks Andrew, rescue time looks really cool. However I am looking for something that is not a commercial product. Something home grown, like a command shell script or something like hat would be good. Or maybe something is built into Windows which will do this for me. I doubt it though. To answer your question, yes the goal is :

track the time spent on your computer,
Andrew LeniartIT Consultant & Freelance JournalistCommented:
No worries brgdotnet. I don't have any suggestions for scripts that I could recommend or have tried so hopefully someone else may be able to suggest something for you. But with that said, for your intended purpose, though a commercial product, the Lite version of Rescue Time is "Free" to use so nothing to pay, but I accept it might be a bit of overkill for what you're wanting to do :)

Good luck.

Regards, Andrew

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Here you go brgdotnet,

See if the accepted solution (first after question) meets your needs -

Andrew LeniartIT Consultant & Freelance JournalistCommented:
One other thought popped into my mind further to Devin Becker's suggestion about AutoHotKey. There is an expert here on Experts Exchange ( Joe Winograd ) who is an absolute Wiz with AHK. He's helped me out a ton with some of my own strange requests so I'll ping him for you to look at this question. I'm sure he'll chime in if he thinks he can help.

Regards, Andrew
brgdotnetcontractorAuthor Commented:
Thanks everyone
Joe Winograd, Fellow&MVEDeveloperCommented:
Hi brgdotnet,
I see that you closed this question, but want to follow up on a couple of comments in the thread. First, re Devin's post, I think that his AutoHotkey suggestion is an excellent one. He provided you with a link to the AutoHotkey tutorial, and here's another link to an article that I published here at Experts Exchange that you may find helpful in getting you started on the language:

AutoHotkey - Getting Started

And here are some other of my EE articles with AutoHotkey code samples (full scripts, actually) that you may also find helpful:

How to copy the short link of an ID at Experts Exchange to the clipboard with a single keystroke

How to solve the problem of incorrect System Uptime being reported when a system has been up for a long time (approximately 50 days or more)

How to create an on/off toggle to mute the system audio/sound with a single mouse click or single keystroke

Re his idea to press a key to keep the computer active, I've written several of those AutoHotkey scripts already. In fact, one was for a Gig here at EE:

Standalone program to monitor Outlook for a pop-up, and take action to dismiss it.

Another was for a client to keep a remote Citrix session active. It looks for a dialog box with the title "Idle timer expired" and then sends the Enter key. This type of script is usually easy to write.

Second, re Andrew's post, I appreciate his kind words, but at this point in time, I take it that your issue is already solved. But if not, either post here or drop me a PM. Regards, Joe
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.