How to stop UBT from using Incredibuild?

I’ve posted about this before, but I can’t get the solution to work in 4.11.2: How to stop UBT from using/searching for Incredibuild? - C++ - Epic Developer Community Forums

<?xml version="1.0" encoding="utf-8" ?><Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
	<BuildConfiguration>
		<bAllowXGE>false</bAllowXGE>
	</BuildConfiguration>
</Configuration>

The above is what I put in the BuildConfiguration.xml file I created in My Documents/Unreal Engine/UnrealBuildTool/. Is this the correct location?

UBT still finds Incredibuild and launches/starts XGE tasks, etc. I would rather it not at the moment.

Thanks!

Cancel this; for some reason I must’ve placed the .xml file in the wrong location.

I’ve since created modified the BuildConfiguration.xml file in %APPDATA%\Roaming\Unreal Engine\UnrealBuildTool with the content shown above, and it’s stopped UBT from using Incredibuild.

Work for complie project in Visual Studio, but the Package is still using XGE to complie project.