Access denied

Fix Access Denied errors when BakoshApp tries to save bconfigs.json or install the Rust Survival server — three solutions ranked from fastest to most permanent.

What it looks like

BakoshApp shows errors in the log or interface that contain one of these messages:

  • Access denied: Administrator prompt was declined or failed.
  • Token save failed (access denied): ...

Why it happens

BakoshApp does not have permission to create or modify the file scripts\bconfigs.json inside the GTA V root folder. The usual reasons are:

  1. The game is installed in a protected Windows directory (such as C:\Program Files or C:\Program Files (x86)), where any file change requires administrator rights.
  2. The app tried to request administrator rights, but the UAC prompt was declined by the user or blocked by Windows security.
  3. The current Windows user does not have write permission to the specific game folder.
This is a permissions problem, not a BakoshApp bug

Reinstalling BakoshApp will not fix this — Windows itself is denying write access. You need to change permissions, run as administrator, or move the game out of the protected folder.

Solution 1 — Run BakoshApp as administrator (fastest)

Since the missing piece is write permission, granting it at launch is the quickest fix.

  1. Fully close BakoshApp.
  2. Find the BakoshApp shortcut on the desktop or the .exe file.
  3. Right-click it.
  4. Choose Run as administrator.
  5. If Windows (User Account Control / UAC) asks for confirmation, click Yes.
  6. Retry the action that originally failed.
Make this permanent

Right-click the BakoshApp shortcut → PropertiesCompatibility tab → check Run this program as an administratorOK. BakoshApp will now always launch with the necessary rights.

Solution 2 — Grant full control over the game folder (no admin launch needed)

You can allow your Windows account to modify files in the game folder directly:

  1. Open File Explorer and navigate to the folder where the game is installed.
  2. Right-click the main game folder → Properties.
  3. Open the Security tab.
  4. Click Edit under the list of users (you may need administrator rights).
  5. Select Users or your current Windows account in the list.
  6. In the lower block, under the Allow column, tick Full control.
  7. Click Apply, then OK in every open window.

After this, BakoshApp can save its config without requiring an admin launch.

Windows system folders like Program Files regularly conflict with mods and helper applications because of their strict security policy.

  1. Move or reinstall the game from a system folder to a user folder.
  2. Good install paths for games: C:\Games\<GameName> or a separate drive such as D:\Games\....

This not only fixes the current error, it prevents similar problems with future mods and tools.


The Rust Survival counterpart

The same Access Denied problem can also occur when installing the Rust Survival server. The symptom is Server install failed, or a message about being unable to write to a folder when you click Install Server in the Rust Survival section.

Cause: the server folder is in a protected directory (for example C:\Program Files\RustServer), or your Windows account does not have write permission to the chosen folder.

What to do
  1. Do not use Program Files. BakoshApp suggests C:\RustServer by default — that path is fine. Alternatives: C:\Games\RustServer, D:\RustServer.
  2. If the folder is already in the wrong place — open the Manage Mod tab in the Rust Survival section and click Change folder to choose a different one. The server files will need to download again, which takes a while.
  3. Launch BakoshApp as administrator (Solution 1 above — same steps).
  4. If antivirus is blocking the download or the server launch, add the server folder to your antivirus exclusions.