Need help with setting up launcher

So my problem is that I recently installed Win 10, and I had all Unreal files on an external hard drive, but ever since I installed Win 10, the Launcher couldn’t “recognize” the engine and content I already have. So my question is: how to make the Launcher find and recognize the engine and content I have?
Thank for the help in advance

For marketplace assets, they have to exist within the launcher.

This is usually the case for binary engine builds too. Its not guaranteed, but sometimes you can try to run UnrealVersionSelector found in Engine\Binaries\Win64\UnrealVersionSelector-Win64-Shipping.exe

That program updates your registry and lets Unreal Engine know where various engine builds exist.