Hello everybody !
A very useful batch file that will solve your problem of bulk unlocking in all domain controllers in a domain and uses the Unlock tool from joeware freeware tools (
Free Tools ) ,is here :
We have 5 domain controllers and we want to unlock all locked accounts in every dc with only one click.
Open Notepad and paste the following code. Do the necessary changes in server names and save the text file with the extension '.bat' . Download the unlock.exe tool and put the 2 file in a folder. Run the batch file and everything should work ok.
---------START OF CODE:-------------
cls
@ECHO OFF
unlock server1 *
unlock server2 *
unlock server3 *
unlock server4 *
unlock server5 *
pause