solve problem with WMIC & JATOS running loader.bat file in Windows 11
For Windows 11 users experiencing issues running the loader.bat file (a quick command prompt window appears and disappears), the problem isn't JATOS, antivirus, or Windows Security. The issue is that "WMIC" (Windows Management Instrumentation Command-line) is no longer pre-installed in Windows 11 like it was in older versions. While installing WMIC via "dism" is an option, it's slow, prone to errors, and can apply unnecessary updates.
If you want WMIC, you can install it through optional features or the command prompt (as administrator). However, if you, like me, want to avoid potential conflicts with WSL (Windows Subsystem for Linux), I've modified the bat file to work without WMIC. Simply replace the existing loader.bat file with my modified version and run it. No other changes are needed; I've reconfigured the script to use Windows Terminal integration instead of WMIC.
you can open it via text editor and replace it with current .bat loader.

Comments
Hi, that looks nice.
As I'm not a Windows person myself, any help here would be greatly appreciated. Actually, would you be willing to create a pull request on GitHub for the
loader.batwith your fix?Best, Kristian
Greeting Kristian,
I have made a pull req.
Thanks for sharing
Thank you! I'll test it first on some Windows.
sure, be sure that it is Win 11 and check if WMIC is already there or not, though if WMIC is there, still it works fine, I have already tested it few times on 2 different computers.