UWP Source Code Getting Error code OtherCompilationError 5

When I am building the Microsoft UWP branch it fails with this error code.

1>------ Build started: Project: UnrealBuildTool, Configuration: Development Any CPU ------
1>  UnrealBuildTool -> B:\UWPUE4\MICROSOFT_UWP_UNREAL-release_uwp2\MICROSOFT_UWP_UNREAL-release_uwp\Engine\Binaries\DotNET\UnrealBuildTool.exe
2>------ Build started: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------
2>Creating makefile for ShaderCompileWorker (UnrealBuildTool.exe is newer)
2>Target is up to date
2>Deploying ShaderCompileWorker Win64 Development...
2>Total build time: 5.40 seconds (NoActionsToExecute executor: 0.00 seconds)
3>------ Build started: Project: UE4, Configuration: Development_Editor x64 ------
3>Creating makefile for UE4Editor (no existing makefile)
3>Performing full C++ include scan (no include cache file)
3>EXEC : error : System.ArgumentException: An item with the same key has already been added.
3>   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
3>   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
3>   at UnrealBuildTool.UEBuildTarget.Build(BuildConfiguration BuildConfiguration, CPPHeaders Headers, List`1 OutputItems, List`1 UObjectModules, ActionGraph ActionGraph) in B:\UWPUE4\MICROSOFT_UWP_UNREAL-release_uwp2\MICROSOFT_UWP_UNREAL-release_uwp\Engine\Source\Programs\UnrealBuildTool\Configuration\UEBuildTarget.cs:line 2403
3>   at UnrealBuildTool.UnrealBuildTool.RunUBT(BuildConfiguration BuildConfiguration, String[] Arguments, FileReference ProjectFile) in B:\UWPUE4\MICROSOFT_UWP_UNREAL-release_uwp2\MICROSOFT_UWP_UNREAL-release_uwp\Engine\Source\Programs\UnrealBuildTool\System\UnrealBuildTool.cs:line 1396
3>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.
3>Done building project "UE4.vcxproj" -- FAILED.
4>------ Skipped Deploy: Project: ShaderCompileWorker, Configuration: Development_Program x64 ------
4>Project not selected to build for this solution configuration 
========== Build: 2 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 1 skipped ==========

I am also running the latest build of UWP Unreal Engine 4.
And please note I Know the devs don’t really support this do. But I am really hoping I can get it on

I am using Visual Studio 2017Community

Looking at the following post:

I tracked down the plugin with the issue:
\Engine\Plugins\Media\MfMedia\MfMedia.uplugin

It contains 2 MfMediaFactory modules, I removed the first one and my build was able to continue.