Add one more JVM flag to your batch script: -XX:+UseParallelGC

So your full command: %JAVA_HOME%\java.exe -XX:+UseParallelGC -Djava.net.preferIPv4Stack=true -jar UBNT_Discovery_Tool_v2.5.1.jar If the above steps seem daunting, there is a fallback : Use an older Java 8 Runtime exclusively for this tool , isolated from your system.

Azul Zulu 11.56.19+ (or Liberica Full JDK 11).