Fail2ban is not available for Windows but there are some alternatives that runs on Windows with similar functionality. The best Windows alternative is IPBanPro. It's not free, so if you're looking for a free alternative, you could try EvlWatcher or Cyberarms Intrusion Detection and Defense. If that doesn't suit you, our users have ranked more than 10 alternatives to Fail2ban and ten of them are available for Windows so hopefully you can find a suitable replacement. Other interesting Windows alternatives to Fail2ban are win2ban, AiP Defense, RdpGuard and e.guardo Smart Defender.
Free and works on Windows, easy to setup