whenever i try and generate project files or switch unreal engine versions it always fails with this same error
Running C:/Program Files/Epic Games/UE_4.14/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Unreal/Projects/test/test.uproject" -game -engine -progress
Discovering modules, targets and source code for project...
ERROR: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Epic Games\UE_4.14\Engine\Intermediate\ProjectFiles\Timestamp' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.IO.File.Create(String path)
at UnrealBuildTool.UnrealBuildTool.RunUBT(String[] Arguments, FileReference ProjectFile) in C:\Program Files\Epic Games\UE_4.14\Engine\Source\Programs\UnrealBuildTool\System\UnrealBuildTool.cs:line 1635