None of the "generate project file" options when I right click my file

Using UE5.4 and Windows 10

I have bought a course and in the first 10 minutes It asks me to regenerate project files - there is no option to do this and I have spent almost a week going down rabbit holes with stuff like file association, but nothing has worked. Just to clarify, here is all of the stuff I have tried:

Reinstalling the Epic Games Launcher and UE5.4 multiple times

Copying the unrealversionselector.exe file from the Epic Games folder to the UE5.4\Engine\Binaries\ Win65 Location
( Running this asks me to register that directory as an unreal engine instillation - this gives registration successful)

setting the default program for my .uproject file to “unreal engine” - This failed and gave me “invalid command line”. Doing this made me try to use the fix project files association prompt which kept popping up in the epic launcher

but this does absolutely nothing

Any help would be greatly appreciated, and I am sorry for this post being so messy but it is the first time I have used forums

Have you installed Visual Studio? You won’t be able to generate the project files without it.

Here’s a guide on how to do it.

If your project does not run at all via .uproject then run the file UEInstallDirectory\Engine\Binaries\Win64\UnrealEditor.exe and in the menu that opens, find your project file.