Unreal Engine 5 installation failing at GenerateProjectFiles.bat

Hmmm… I think the only thing you could try is updating vs studio and making sure the additional options are installed.
You may have to also pay attention to when the popup appears that allows changes to your pc. If you don’t hit the allow button in time, it sometimes times out.