Unreal Engine 5 C++ project creation always failed

This might help… apparently it happens if you have older Win10SDK versions installed in your Visual Studio Environment

Hope it helps