Hey ,
They was a user with a similar issue where their RunUAT.bat was causing an error. Here is a link to the issue: RunUAT.bat ERROR: AutomationTool was unable to run successfully - Platform & Builds - Epic Developer Community Forums
Let me know if this helps with your issue. Thanks!