I want Windows to auto shutdown into hibernation mode (not energy saving) after a specified amount of failed login attempts.
I thought I could do it with task scheduler and was looking for the Windows Even ID to trigger a shutdown command.
So I searched my logs and also EventID.net but the closest thing I could find was Event ID 529 (http://www.eventid.net/display-eventid- ... hase-1.htm).
There seems to be no unique ID for the third failed attempt. But now I am wondering how does that trigger work then!? (https://www.howtogeek.com/howto/29395/t ... -password/)Description:
Reason: Unknown user name or bad password.
User Name: <user name>
Domain: <domain name>
Logon Type: <logon type>
Logon Process: <process name>
Authentication Package: <package name>
Workstation Name: <computer name>
Maybe Autohotkey is the solution?
Code: Select all
net accounts /lockoutthreshold:3 net accounts /lockoutduration:30 net accounts /lockoutwindow:30