copy file startup-config
filename: Factory_Default_Config.cfg
reload
Let me know if you have a better way to do this.
ev.bat contents:This will find failed logon attempts on all the domain controllers and dump them into text files under C:\temp. When someone asks why they keep getting locked out, I quickly go to \\myserver\c$\temp and browse the log files. Search for the username and there will be many entries in the log with an IP address. The IP address will be a PC or email server with the failed logon attempts.
eventcombmt /dc /evt:"529 644 675 676 681 4740 4771" /et:safa /log:sec /start