I was using version 4.4 and everything was working well.
Today I got some error that it cannot build the project because unrealbuildtool was not found. I tried something but couldn’t do it. So i thought of reinstalling it.
So when I deleted all the files and tried reinstalling it, i got the following error.
Could you confirm that nothing changed in your Unreal Engine installation between when you upgraded to 4.4 and when this issue began occurring? Another user ran into the same error message when trying to build version 4.3 and it turned out to be their anti-virus software flagging the UnrealBuildTool as a security risk and quarantining it. If you run into the same issue again, take a look at your anti-virus software to make sure it is not giving a false-positive response to the UnrealBuildTool before trying to re-install the Engine.
When you mentioned that you needed to install the Engine in a different folder from where you had installed it previously, what error message were you seeing that made you have to do that?
I am telling you here exactly what happened from starting to the end.
I was working in Vs when I got the error unable to build. Then I tried to generate project files to rebuilt it but got the error unable to find UnrealBuildTool. Then I tried removing everything form UE4 folder and rebuilding it but got got the error which I linked.