# No valid Visual C++ toolchain was found /VS 2022 must be installed 

**URL:** <https://forums.unrealengine.com/t/no-valid-visual-c-toolchain-was-found-vs-2022-must-be-installed/2438202>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, question\
**Created:** [April 3, 2025, 7:09pm UTC](https://forums.unrealengine.com/t/no-valid-visual-c-toolchain-was-found-vs-2022-must-be-installed/2438202 "2025-04-03T19:09:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icarus660](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Icarus660](https://forums.unrealengine.com/u/Icarus660)\
**Post date:** [April 3, 2025, 7:09pm UTC](https://forums.unrealengine.com/t/no-valid-visual-c-toolchain-was-found-vs-2022-must-be-installed/2438202/1 "2025-04-03T19:09:45Z")

</div>

Hi All,

Hoping this is the right category - apologies if not.

I’m hoping someone can advise on a build issue we’re having with UE and VS 2022. Our devices have just been moved to AzureAD/InTune. By default, users have no admin rights on the devices.

If I try to generate project files, i’m now receiving this error;

> C:\Program Files\Epic Games\UE\_5.5\Engine\Binaries\DotNET\UnrealBuildTool\>dotnet UnrealBuildTool.dll -projectfiles -project=“D:/redacted/redacted.uproject” -game -rocket -progress  
> Log file: C:\Users\John\AppData\Local\UnrealBuildTool\Log\_GPF.txt
> 
> Generating VisualStudio project files:  
> Discovering modules, targets and source code for project…  
> No valid Visual C++ toolchain was found (minimum version 14.38.33130, preferred version 14.38.33130). Please download and install Visual Studio 2022 17.8 or later and verify that the “MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8)” component is selected in the Visual Studio 2022 installation options.  
> Total execution time: 0.46 seconds  
> Visual Studio 2022 x64 must be installed in order to build this target.

I’ve reinstalled the latest version of VS 2022 Professional twice, and made sure that MSVC v143 x64/x86 build tools (v14.38-17.8) has been installed, but it continues to error. I’ve also confirmed the MSVC files/folders are there.

**however** as a test, if we elevate CMD and run the following;

```auto
"C:/Program Files/Epic Games/UE_5.5/Engine/Build/BatchFiles/Build.bat" -projectfiles -project="D:/redacted/redaced.uproject" -game -rocket -progress 
```

It will generate the files without errors, and it detects the C++ build tools and VS 2022 x64.

Does UE need to run with with privileges, is there a registry that needs to be adjusted or am I missing something? Will these devices need to be local devices? All policies have been previously removed from the device as part of testing.

Any wisdom would be appreciated!

Thanks

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [April 3, 2025, 9:17pm UTC](https://forums.unrealengine.com/t/no-valid-visual-c-toolchain-was-found-vs-2022-must-be-installed/2438202/2 "2025-04-03T21:17:44Z")

</div>

> [@Icarus660](#):
>
> Does UE need to run with with privileges,

if you mean _admin_ privileges, then no.  
im assuming you’ve restarted right? that is necessary to update the path.

---

<div class="post-metadata">

**Author:** ![Alkbabic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alkbabic](https://forums.unrealengine.com/u/Alkbabic)\
**Post date:** [April 27, 2025, 9:25am UTC](https://forums.unrealengine.com/t/no-valid-visual-c-toolchain-was-found-vs-2022-must-be-installed/2438202/3 "2025-04-27T09:25:39Z")

</div>

> [@Icarus660](#):
>
> **ver** as a test, if

I have same error…  
Also then compiling for Windows executable.  
… -skipdeploy -distribution -log=“C:\Users\alika\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+epic+UE\_5.5\UBA-…-Win64-Shipping.txt”  
UATHelper: Packaging (Windows): Log file: C:\Users\alika\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+epic+UE\_5.5\UBA-…-Win64-Shipping.txt  
UATHelper: Packaging (Windows): Cleaning idfp binaries…  
UATHelper: Packaging (Windows): No valid Visual C++ toolchain was found (minimum version 14.38.33130, preferred version 14.38.33130). Please download and install Visual Studio 2022 17.8 or later and verify that the “MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8)” component is selected in the Visual Studio 2022 installation options.  
UATHelper: Packaging (Windows): Visual Studio 2022 x64 must be installed in order to build this target.  
UATHelper: Packaging (Windows): Took 0.68s to run dotnet.exe, ExitCode=6  
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\alika\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+epic+UE\_5.5…-Shipping.txt)  
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 2s  
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)  
UATHelper: Packaging (Windows): BUILD FAILED

---

<div class="post-metadata">

**Author:** ![RhyzzG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RhyzzG](https://forums.unrealengine.com/u/RhyzzG)\
**Post date:** [November 7, 2025, 8:55pm UTC](https://forums.unrealengine.com/t/no-valid-visual-c-toolchain-was-found-vs-2022-must-be-installed/2438202/4 "2025-11-07T20:55:19Z")

</div>

Did you ever find a fix?

---

<div class="post-metadata">

**Author:** ![Alkbabic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alkbabic](https://forums.unrealengine.com/u/Alkbabic)\
**Post date:** [December 13, 2025, 8:54pm UTC](https://forums.unrealengine.com/t/no-valid-visual-c-toolchain-was-found-vs-2022-must-be-installed/2438202/5 "2025-12-13T20:54:33Z")

</div>

you me asking?
