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

WindowsError: [Error 5] or [Error 225]. Access is denied #884

Open
erkuo521 opened this issue Jul 10, 2019 · 2 comments
Open

WindowsError: [Error 5] or [Error 225]. Access is denied #884

erkuo521 opened this issue Jul 10, 2019 · 2 comments

Comments

@erkuo521
Copy link

erkuo521 commented Jul 10, 2019

WinError 5 and 255 are Windows error messages that commonly occur when the installation of a software application is prevented due to antivirus software incorrectly identifying the installer as a potential threat. Specifically, these errors may be encountered when attempting to install the PlatformIO Core software.

WinError 5 typically indicates an "Access Denied" error, suggesting that the installer lacks the necessary permissions to complete the installation. This error arises when the antivirus software blocks the installer from accessing certain system resources or files required for the installation process.

WinError 255, on the other hand, is a more general error code that signifies an "Internal Error." In this case, it means that the antivirus software has flagged the PlatformIO Core installer as suspicious or potentially malicious, preventing the installation from proceeding.

Solutions

  1. Try to disable the antivirus for a short period while installing PlatformIO. Also, you can whitelist %HOME_DIR%/.platformio folder.
  2. Manually install PlatformIO Core using this script and restart VSCode.
@ivankravets ivankravets changed the title Installation%20Manager WindowsError: [Error 5] Access is denied Jul 13, 2019
@ivankravets
Copy link
Member

Hi,

Thanks for the report! We rewrote PlatformIO Core installer from the scratch. Please download and install the latest PlatformIO IDE for VSCode 2.0 Beta as described in Try Beta section on that page.

Please respond to this thread if it helped you or you still have an issue. We will reopen this issue again.

Regards,
Your friends at PlatformIO

@ivankravets ivankravets changed the title WindowsError: [Error 5] Access is denied WindowsError: [Error 5] or [Error 225]. Access is denied May 31, 2023
This was referenced May 31, 2023
@HazemRagabElsayed
Copy link

image

Another problem that need to be solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants