George Karnos
Ansys Employee

You stated that you use version 2023 R2, but the error references version 2024 R2 (v242)

Suggestions:

Change OS language to English
If that does not work. Uninstall and rename the c:\program files\Ansys inc directory to c:\Program files\Ansys.old
Next, reinstall by right-clicking on the setup.exe and choosing "run as administrator"