I have used the script from "batch file which asks for username/password + registration" (topic already in stackoverflow)... here's my question: Is there any way that i could add a lockout to a batch-file or execute a shutdown command after 5 incorrect attempts? (the timeout at the bottom is for 24 hours) Example Situation: Username: bobTESTattempt1 Password: 1234 [enter] Password is incorrect 4 attempts remaining!
(the next 3 attempts are used)
Username: bobTestattempt5 Password 123342 [enter] Password is incorrect 0 attempts remaining! [enter]
ACCOUNT LOCKED OUT TIMEOUT 86400
Here you go