Move UE4 to a new location.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\EpicGames\Unreal Engine\4.27]
"InstalledDirectory"="D:\\UE4\\UE_4.27"
Edit, Save this as .reg and merge to registry.
Then open:
C:\ProgramData\Epic\UnrealEngineLauncher\LauncherInstalled.dat
Edit path that matches your moved build:
{
"InstallLocation": "D:\\UE4\\UE_4.27",
"NamespaceId": "ue",
"ItemId": "fbc8f00a16b9411989ae12a00060ff34",
"ArtifactId": "UE_4.27",
"AppVersion": "4.27.0-16565192+++UE4+Release-4.27-Windows",
"AppName": "UE_4.27"
}
It will work even if you have only those rows:
{
"InstallLocation": "D:\\UE4\\UE_4.27",
"NamespaceId": "ue",
"AppName": "UE_4.27"
}