8000 GitHub - sumsarj/win-work-logger: Reads unlock/lock events of windows and calculates active time from the events.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Reads unlock/lock events of windows and calculates active time from the events.

License

Notifications You must be signed in to change notification settings

sumsarj/win-work-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

win-work-logger

Reads unlock/lock events of windows and calculates active time from the events. Perhaps windows already support this feature out of box - but this was more fun.

To enable unlock/lock events in windows:

  1. Open Local Group Policy Editor
  2. Click on "Logon/Logoff" under Computer Configuration>Windows Settings>Security Settings>Advanced Audit Policy Configuration>System Audit Policies - Local Group Policy Object>Logon/Logoff
  3. Configure subcategory "Audit Other Logon/Logoff Events" to be Success and Failure

Dependencies:

  • Tested on python3.11 only
  • pywin32
  • pyuac

About

Reads unlock/lock events of windows and calculates active time from the events.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0