On the client from Windows, you can run the bat file, the pause command will prevent the window from closing:

iperf -c HOST -t 5
pause

You can download the version for Windows on the website iperf.fr
If iperf 2 is installed on the server, then the same is downloaded for Windows. The client of the third version did not connect to the server on the second one.