# cl.exe ERROR: NtQueryInformationFile with class 9 not implemented when creating Unreal C++ project

**URL:** <https://forums.unrealengine.com/t/cl-exe-error-ntqueryinformationfile-with-class-9-not-implemented-when-creating-unreal-c-project/2495511>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, question\
**Created:** [May 7, 2025, 2:31pm UTC](https://forums.unrealengine.com/t/cl-exe-error-ntqueryinformationfile-with-class-9-not-implemented-when-creating-unreal-c-project/2495511 "2025-05-07T14:31:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsi6800](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tsi6800](https://forums.unrealengine.com/u/tsi6800)\
**Post date:** [May 7, 2025, 2:31pm UTC](https://forums.unrealengine.com/t/cl-exe-error-ntqueryinformationfile-with-class-9-not-implemented-when-creating-unreal-c-project/2495511/1 "2025-05-07T14:31:35Z")

</div>

Hi there,

When creating a blank C++ project with Unreal I encounter the following build error:

cl.exe ERROR: NtQueryInformationFile with class 9 not implemented

I tried to follow the setup instructions for Visual Studio 2022 from

[Setting Up Visual Studio Development Environment for C++ Projects in Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community](https://dev.epicgames.com/documentation/en-us/unreal-engine/setting-up-visual-studio-development-environment-for-cplusplus-projects-in-unreal-engine)

[Packaging error ‘detected compiler newer than visual studio 2022’ - beginner - Development / Programming & Scripting - Epic Developer Community Forums](https://forums.unrealengine.com/t/packaging-error-detected-compiler-newer-than-visual-studio-2022-beginner/2174644/17)

Additionally I checked where NtQueryInformationFile is defined and found NtosKrnl.lib which seems to be part of Windows Driver Kit (WDK). So I installed that as well in my Visual Studio Installer.

But the build failure remains. Here the full log:

```auto
Running C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/Build.bat Development Win64 -Project="C:/work/UnrealProjects/QuickStart/QuickStart.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Using bundled DotNet SDK version: 8.0.300
Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" Development Win64 -Project="C:/work/UnrealProjects/QuickStart/QuickStart.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Log file: C:\Users\XXX\AppData\Local\UnrealBuildTool\Log.txt
Creating makefile for QuickStartEditor (no existing makefile)
@progress push 5%
Parsing headers for QuickStartEditor
  Running Internal UnrealHeaderTool C:\work\UnrealProjects\QuickStart\QuickStart.uproject C:\work\UnrealProjects\QuickStart\Intermediate\Build\Win64\QuickStartEditor\Development\QuickStartEditor.uhtmanifest -WarningsAsErrors -installed
Total of 0 written
Reflection code generated for QuickStartEditor in 1.339406 seconds
@progress pop
Building QuickStartEditor...
Using Visual Studio 2022 14.38.33145 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Determining max actions to execute in parallel (10 physical cores, 20 logical cores)
  Executing up to 10 processes, one per physical core
Using Unreal Build Accelerator local executor to run 7 action(s)
  Storage capacity 40Gb
---- Starting trace: 250507_161326 ----
UbaSessionServer - Disable remote execution (remote sessions will finish current processes)
------ Building 7 action(s) started ------
UbaSessionServer - cl.exe ERROR: NtQueryInformationFile with class 9 not implemented
[1/7] Compile [x64] SharedPCH.UnrealEd.Project.ValApi.Cpp20.cpp
cl.exe ERROR: NtQueryInformationFile with class 9 not implemented
[2/7] Resource Default.rc2
Trace file written to C:/Users/bau29101/AppData/Local/UnrealBuildTool/Log.uba with size 2.6kb
Total time in Unreal Build Accelerator local executor: 0.37 seconds
Total execution time: 16.53 seconds

```

I appreciate any help

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1228079_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [May 7, 2025, 4:36pm UTC](https://forums.unrealengine.com/t/cl-exe-error-ntqueryinformationfile-with-class-9-not-implemented-when-creating-unreal-c-project/2495511/2 "2025-05-07T16:36:08Z")

</div>

Hello there @tsi6800!

Your setup look in order, indeed, as you are following the correct guidelines for VS and compiler setup. From what I could gather from the community, the error call you are receiving regarding NtQueryInformationFile, is tied to the Unreal Build Accelerator progress.

The first step for dealing with a possible UBA conflict is to ensure that you are on the latest version of UE5, and that all build tools associated are up to date, from the launcher. If the issue persists, the next step would be to test disabling UBA for this particular build:

> **[Practical Debugging Tips for UnrealBuildAccelerator | Knowledge base](https://dev.epicgames.com/community/learning/knowledge-base/jB32/unreal-engine-practical-debugging-tips-for-unrealbuildaccelerator#commonubacommandlinetoggles&options)**
>
> This tutorial will provide some practical debugging tips to help diagnose issues encountered while using Unreal Build Accelerator.
