Show Lock Time
Win Key + L creates an Event 4634 Logoff entry in the Event Viewer, Windoqws Logs, Security.
The logging can be used to trigger a task. The logon (Event 4624) could undo the task.
August 30th, 2011 7:11am
Does anybody know how to show, how long a computer has been locked by a certain user. Solution must be possible to deploy with SCCM.
Certifications: MCSA 2003|MCSE 2003|MCTS(5*)| MCTIP:SA
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2011 7:57am
That is a good question and I have not seen anything in programming manuals for it at all. At least for C++ and Win32 programming anyway.
Windows MVP, XP, Vista, 7. Expanding into Windows Server 2008 R2, SQL Server, SharePoint etc.
My page on Video Card Problems is now my most popular landing page.
My Page on SSD is now #2. See my
gaming site for
game reviews etc.
Developer | Windows IT |
Chess |
Economics | Hardcore Games |
Vegan Advocate | PC Reviews
August 30th, 2011 10:40am
Yes, It's hard. We are searching for it because we introduced the new way of working in a departement (flexible workplaces), but now users are locking their computers for days, so only them can work there and the workplaces are not flexible anymore.
Certifications: MCSA 2003|MCSE 2003|MCTS(5*)| MCTIP:SA
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2011 12:36pm
I leave my session on my server locked all the time so that Live Mesh will sync new web content automatically.
Only metric I ever noticed was uptime generally
Windows MVP, XP, Vista, 7. Expanding into Windows Server 2008 R2, SQL Server, SharePoint etc.
My page on Video Card Problems is now my most popular landing page.
My Page on SSD is now #2. See my
gaming site for
game reviews etc.
Developer | Windows IT |
Chess |
Economics | Hardcore Games |
Vegan Advocate | PC Reviews
August 30th, 2011 3:05pm
If you have a screensaver configured for the machines, you can run this Powershell script to determine when it was activated.
(Get-Wmiobject win32_process -computername 'PC01' | ?{$_.name -match 'logon.scr'}).CreationDate
If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer".
Rich Prescott | MCITP, MCTS, MCP
Blog | Twitter:
@Arposh |
Powershell Client System Administration tool
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2011 5:35pm
That is one idea, another idea is to use a custom screen saver that has a timer
Windows MVP, XP, Vista, 7. Expanding into Windows Server 2008 R2, SQL Server, SharePoint etc.
My page on Video Card Problems is now my most popular landing page.
My Page on SSD is now #2. See my
gaming site for
game reviews etc.
Developer | Windows IT |
Chess |
Economics | Hardcore Games |
Vegan Advocate | PC Reviews
August 30th, 2011 5:45pm
Thanks for the reply guys, but these solutions are quite fitting in our organisation.
I was also thinking of creating a sheduled task which triggers when a user is locked and then log a user off when the pc is locked for more than 4 hours. Using a screensaver is currently not quite a standard in our company so that would face us a long time
to change (mostly political) it for 13.000 desktops divided over 13 strongly independent departments.
Certifications: MCSA 2003|MCSE 2003|MCTS(5*)| MCTIP:SA
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2011 5:48pm
Small shops always have advantages over large corporate behemoths.
my ideas are suggestions only, clearly the environment needs to be considered
I use scheduled tasks all the time, very convenient for backups in my shop
Windows MVP, XP, Vista, 7. Expanding into Windows Server 2008 R2, SQL Server, SharePoint etc.
My page on Video Card Problems is now my most popular landing page.
My Page on SSD is now #2. See my
gaming site for
game reviews etc.
Developer | Windows IT |
Chess |
Economics | Hardcore Games |
Vegan Advocate | PC Reviews
August 30th, 2011 5:59pm
Hi,
Thanks for posting in Microsoft TechNet forums.
scheduled task might be a good idea but based on my understanding it only work if you use a specific program on a regular basis. However, when the computer
will be locked is random incident. I am afraid it might not work.
At this point, we may need to seek help on programmatically solutions or you mentioned via SCCM.
As this forum focuses on Windows Vista specific issues, this inquiry would best be posted to SCCM forum:
http://social.technet.microsoft.com/forums/en-US/category/configurationmanager/
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly
can either share their knowledge or learn from your interaction with us.
Thank you for your understanding.
Best Regards
Magon Liu
TechNet Subscriber Support
in forum. If you have any feedback on our support, please contact
tnmff@microsoft.com
Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2011 1:59am
Sorry, yes, this is Windows 7 forum.
Based on Nano said, you can try to write a script to read the logged event.
Regards,Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
August 31st, 2011 5:35am
Hi,
Thanks for posting in Microsoft TechNet forums.
scheduled task might be a good idea but based on my understanding it only work if you use a specific program on a regular basis. However, when the computer
will be locked is random incident. I am afraid it might not work.
At this point, we may need to seek help on programmatically solutions or you mentioned via SCCM.
As this forum focuses on Windows Vista specific issues, this inquiry would best be posted to SCCM forum:
http://social.technet.microsoft.com/forums/en-US/category/configurationmanager/
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly
can either share their knowledge or learn from your interaction with us.
Thank you for your understanding.
Best Regards
Magon Liu
TechNet Subscriber Support
in forum. If you have any feedback on our support, please contact
tnmff@microsoft.com
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
This ia a Windows 7 forum right, not Vista? Anything that can be scripted can be deployed with SCCM, that is not a problem. My question only was how to add information to screen you see when a computer is locked, is that possible?
Certifications: MCSA 2003|MCSE 2003|MCTS(5*)| MCTIP:SA
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2011 5:45am