Unable to build C++ Project in Offline Unreal Engine 5.7

I’ve created an SCCM package using the .msi for the Unreal Editor Offline version, which works great. However, attempting to create a blank C++ project with Visual Studio 2022 Community installed results with an error about unauthorized access to the whole Engine folder and sub-folders.

Error:

Unhandled exception: UnauthorizedAccessException: Access to the path 'C:\Program Files\Epic Games\5.7\Engine\Intermediate\ProjectFiles' is denied.

I can get around this by accessing the folder’s security properties and giving Users Modify access. A C++ project can then be created.

What is a better fix for this since this is deployed to over 60 computers? Standard users need to be able to create a project without special access.

Thank you :slight_smile:

On all windows versions, writing to any folder in Program Files is for users of privileg access only. You can either write a powershell script that publishes the engine and sets the rights, or you install it do a different path.

This is nothing unreal specific.

1 Like