This error can be caused by several issues, however try the following:
See this tutorial for how to run a system check, do only steps 4 - 11.
If that does not fix the issue, check in Windows settings, Apps, Installed apps which versions , ie x64 and/or x86 of the Visual C++ 2015-2022 you have installed.
Download the Visual Studio 2015-2022 installer from here, if you both the x64 and x86 versions download both.
Uninstall the current installed C++ 2015-2022 and install the downloaded version.
Disclaimer: doing the re-install is at your own risk.