I have a windows7 computer which is connected to a mechanical system. This computer has 2 user accounts one admin and one for the factory users. What I want to do is to have some kind of lock/log application where when the user logs in to the machine with the generic user account they will have to enter their name then "sign in" once they do that their sign-in time will be logged until the machine is locked then sign-out will be logged as well. I wonder if any idea there is a program that can do this or a way that I can do it?
Every user could have their own acc (This can be scripted) and Windows, by default, logs all login and logout events (Event ID 4624 and 4634, respectively). If users using that PC are changed in high frequency, You could make a 200 Generic name accs and keep the record of Acc <-> "Current worker" relationship.
You could add a LOGON policy - every time "Factory users acc" sign in some task get called:
- Script made in .VBS, .BAT(CMD), PowerShell
- App made with C/C++, C#, any other language
- If computer has internet access You could use Microsoft/Google forms and call them at logon
Maybe there is a third party solution