0

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?

  • How many different users? – Moab Nov 18 '19 at 13:07
  • @Moab around 200, but it increases and decreases since the factory users are not fixed. – Tak Nov 18 '19 at 13:09
  • 1
    I don't know of a way to do it natively in windows, so you would have to use a third party utility, which is off topic here at SU. Maybe someone will have a solution later today, interesting question. – Moab Nov 18 '19 at 13:15
1
  1. 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.

  2. 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
  3. Maybe there is a third party solution

| improve this answer | |
  • This is what I initially thought as well. The downside of this solution is if the factory users forget to logout. – Burgi Nov 27 '19 at 10:12
  • 1
    @Burgi There si a Group Policy and Task Scheduler solution for that. – Leshy Nov 27 '19 at 11:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.