Can't Generate Project files in 5.4 (access denied to missing folder)

The error message suggests that the project is unable to generate VS files due to a lack of permissions to access the project files directory. The directory in question is “C:\Program Files\Epic Games\UE_5.4\Engine\Intermediate\ProjectFiles”.

To resolve this issue, you can try the following steps:

  1. Open an elevated command prompt (right-click on the command prompt and select “Run as administrator”).
  2. Navigate to the project directory using the “cd” command.
  3. Run the “icacls” command to check the permissions on the project directory.
  4. If the permissions are not set correctly, run the “icacls” command with the appropriate permissions. For example, you can run the following command to give read and write permissions to the current user:
icacls "C:\Program Files\Epic Games\UE_5.4\Engine\Intermediate\ProjectFiles" /grant:F <username>:F

Replace <username> with the username of the current user.

  1. After changing the permissions, try generating the VS files again.
2 Likes