Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] UnauthorizedAccessException #2892

Open
3 of 4 tasks
Dantez1609 opened this issue Sep 14, 2024 · 10 comments
Open
3 of 4 tasks

[ERROR] UnauthorizedAccessException #2892

Dantez1609 opened this issue Sep 14, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@Dantez1609
Copy link

Acknowledgement of preliminary instructions

  • I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
  • I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
  • I am using the latest version of Bloxstrap.
  • I did not answer truthfully to all the above checkboxes.

What problem did you encounter?

Good afternoon, please tell me. This error occurred when reinstalling bloxstrap.
System.UnauthorizedAccessException: Access to the path 'C:\Users\ADCC~1\AppData\Local\Temp\Rar$EXa576.30260\Logs' is denied.

2024-09-14T20:29:16Z [App::OnStartup] Starting Bloxstrap v2.7.0
2024-09-14T20:29:16Z [App::OnStartup] Compiled Tuesday, 9 July 2024 at 9:03:19 PM from commit a7d2a2c (tag/v2.7.0)
2024-09-14T20:29:16Z [App::OnStartup] Loaded from %UserProfile%\Downloads\Bloxstrap-v2.7.0 (1).exe
2024-09-14T20:29:16Z [LaunchSettings::Parse] Parsing launch arguments
2024-09-14T20:29:16Z [LaunchSettings::Parse] No launch arguments to parse
2024-09-14T20:29:16Z [InstallChecker::Check] Could not find install location. Checking if drive has changed...
2024-09-14T20:29:16Z [InstallChecker::Check] Drive has not changed, folder was likely moved or deleted
2024-09-14T20:29:16Z [JsonManager::Load] Loading from C:\Users\ADCC1\AppData\Local\Temp\Rar$EXa576.30260\Settings.json...
2024-09-14T20:29:16Z [JsonManager::Load] Failed to load!
2024-09-14T20:29:16Z [JsonManager::Load] Could not find a part of the path 'C:\Users\ADCC
1\AppData\Local\Temp\Rar$EXa576.30260\Settings.json'.
2024-09-14T20:29:16Z [JsonManager::Load] Loading from C:\Users\ADCC1\AppData\Local\Temp\Rar$EXa576.30260\State.json...
2024-09-14T20:29:16Z [JsonManager::Load] Failed to load!
2024-09-14T20:29:16Z [JsonManager::Load] Could not find a part of the path 'C:\Users\ADCC
1\AppData\Local\Temp\Rar$EXa576.30260\State.json'.
2024-09-14T20:29:16Z [JsonManager<Dictionary2>::Load] Loading from C:\Users\ADCC~1\AppData\Local\Temp\Rar$EXa576.30260\Modifications\ClientSettings\ClientAppSettings.json... 2024-09-14T20:29:16Z [JsonManager<Dictionary2>::Load] Failed to load!
2024-09-14T20:29:16Z [JsonManager<Dictionary`2>::Load] Could not find a part of the path 'C:\Users\ADCC1\AppData\Local\Temp\Rar$EXa576.30260\Modifications\ClientSettings\ClientAppSettings.json'.
2024-09-14T20:29:16Z [FastFlagManager::SetValue] Setting of 'FFlagHandleAltEnterFullscreenManually' to 'False' is pending
2024-09-14T20:29:16Z [FastFlagManager::SetValue] Setting of 'FLogNetwork' to '7' is pending
2024-09-14T20:29:16Z [RobloxDeployment::TestConnection.https://setup.rbxcdn.com] Connecting...
2024-09-14T20:29:16Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version
2024-09-14T20:29:16Z [RobloxDeployment::InitializeConnectivity] Testing connectivity...
2024-09-14T20:29:16Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version
2024-09-14T20:29:16Z [RobloxDeployment::InitializeConnectivity] Got https://setup.rbxcdn.com as the optimal base URL
2024-09-14T20:29:16Z [Logger::Initialize] Initializing at C:\Users\ADCC
1\AppData\Local\Temp\Rar$EXa576.30260\Logs\Bloxstrap_20240914T202916Z.log
2024-09-14T20:29:16Z [App::GlobalExceptionHandler] An exception occurred
2024-09-14T20:29:16Z [App::FinalizeExceptionHandling] System.UnauthorizedAccessException: Access to the path 'C:\Users\ADCC~1\AppData\Local\Temp\Rar$EXa576.30260\Logs' is denied.
at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
at System.IO.Directory.CreateDirectory(String path)
at Bloxstrap.Logger.Initialize(Boolean useTempDir)
at Bloxstrap.App.OnStartup(StartupEventArgs e)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Bloxstrap Log

N/A

@Dantez1609
Copy link
Author

I created another user and everything works but it doesn’t work for this user, tell me how to solve this problem?

@NabHeyka22
Copy link

i'm just going to explain this to you since you didn't read it
you have an antivirus and is blocking bloxstrap
solution is to add an exception or disable it

@Dantez1609
Copy link
Author

image

@Dantez1609
Copy link
Author

Не помогает, я читал и ознакомился с материалом прежде чем писать

@NabHeyka22
Copy link

sorry i don't speak russian
try to disable the antivirus

@Dantez1609
Copy link
Author

I apologize, I added this file to the list earlier so that it would not be blocked, I read and became familiar with the material before asking for help. It’s quite strange that on another PC user, everything works fine and installed quickly. In this user it gives this error

@Dantez1609
Copy link
Author

As I understand it, the installer is trying to find the ADCC~1 user, but I don't have such a user.

@bluepilledgreat
Copy link
Collaborator

how did you even manage to install in the winrar temp directory

@pizzaboxer pizzaboxer added the bug Something isn't working label Sep 15, 2024
@pizzaboxer
Copy link
Owner

To fix this, you'll need to open the Registry Editor and delete the InstallLocation key at HKEY_CURRENT_USER\SOFTWARE\Bloxstrap (better described here). Afterwards, reinstall it as normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

4 participants