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:
- The game is installed in a protected Windows directory (such as
C:\Program FilesorC:\Program Files (x86)), where any file change requires administrator rights. - The app tried to request administrator rights, but the UAC prompt was declined by the user or blocked by Windows security.
- The current Windows user does not have write permission to the specific game folder.
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.
- Fully close BakoshApp.
- Find the BakoshApp shortcut on the desktop or the
.exefile. - Right-click it.
- Choose Run as administrator.
- If Windows (User Account Control / UAC) asks for confirmation, click Yes.
- Retry the action that originally failed.
Right-click the BakoshApp shortcut → Properties → Compatibility tab → check Run this program as an administrator → OK. 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:
- Open File Explorer and navigate to the folder where the game is installed.
- Right-click the main game folder → Properties.
- Open the Security tab.
- Click Edit under the list of users (you may need administrator rights).
- Select Users or your current Windows account in the list.
- In the lower block, under the Allow column, tick Full control.
- Click Apply, then OK in every open window.
After this, BakoshApp can save its config without requiring an admin launch.
Solution 3 — Move the game out of Program Files (recommended long-term)
Windows system folders like Program Files regularly conflict with mods and helper applications because of their strict security policy.
- Move or reinstall the game from a system folder to a user folder.
- Good install paths for games:
C:\Games\<GameName>or a separate drive such asD:\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.
- Do not use
Program Files. BakoshApp suggestsC:\RustServerby default — that path is fine. Alternatives:C:\Games\RustServer,D:\RustServer. - 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.
- Launch BakoshApp as administrator (Solution 1 above — same steps).
- If antivirus is blocking the download or the server launch, add the server folder to your antivirus exclusions.