This seems like exactly the same post i have
but i have been playing around and might have a small fix u can try
i suggest backing up this folder
\Engine\Build\BatchFiles\
okay so here’s what i did at least i can build now without errors
firstly we need to give the unrealbuildtool admin rights
\Engine\Binaries\DotNET navigate to this location go to unrealbuiltool.exe and right click and say run as administrator
save it double click to see if it pops up the all mighty yes no
now we do the following
As i did build a few html pages here and there i noted that the bat files used for building the unreal code uses "….." or "…" for some reason my pc wont allow this to ever work even when i was building html pages that my pc doesn’t like this one bit
anyway the way around this is to edit the buil.bat in batchscripts
now give it an absolute path in my case
C:\TEMP\UnrealEngine\4.9
it should be quite easy to know what path to put where in the bat file
i can say after doing this my unreal engine would build fine (Github source) but i would highly suggest that something about the bat scrips be done as my pc kept complaining about the scripts being malware
maybe inherent the locations needed by some c# or c++ code
ill still be playing around because my vs 2013 still doesn’t want to work with UE4.9.1
next up is a clean format and install
if this doesn’t work ill be digging in the source code to see if i can find a way to perform something similar to one click just to get all the possible executable to run with admin rights
Regards
PS please let me know if this works