Please make sure that "Windows Subsystem for Linux" is unchecked.
(Reference) Knowledge Database
https://community.altera.com/kb/knowledge-base/error-s0-error-during-execution-of-nios2edsnios%C2%AE-ii-command-shell-bat-make-all-2/341261
Also, try unchecking the "simulation" checkbox.
(Reference) Knowledge Database
https://community.altera.com/kb/knowledge-base/why-does-the-hdmi-intel%C2%AE-fpga-ip-simulation-design-example-generation-fail-on-wi/343958
--------------------
Category: IP (Other)
Tool: Quartus® Prime
Device: Cyclone® 10 GX