Windows 10: Data WinError 5 access Denied to folder and traceback errno 2

Discus and support Data WinError 5 access Denied to folder and traceback errno 2 in Windows 10 Software and Apps to solve the problem; Hello,I have been running into an issue with a file and tried many solutions to fix, sfc scan among others.I have inserted an image of the error with... Discussion in 'Windows 10 Software and Apps' started by A126FO, Mar 30, 2025.

  1. A126FO Win User

    Data WinError 5 access Denied to folder and traceback errno 2


    Hello,I have been running into an issue with a file and tried many solutions to fix, sfc scan among others.I have inserted an image of the error with text pasted at the bottom as well.I am unsure of other solutions at this point, and any help is greatly appreciated.Failed to execute script 'main' due to unhandled exception: [WinError 5] Access is denied: './data'Traceback most recent call last: File "", line 13, in FileNotFoundError: [Errno 2] No such file or directory: './data/config/timezone.json'During handling of the above exception, another exception occurred:Traceback most recent cal

    :)
     
    A126FO, Mar 30, 2025
    #1
  2. Veepo Win User

    VS Code and Python error: PermissionError: [WinError 5] Access is denied: 'C:\\users\\User\\AppData\\Local\\Application Data'

    Hello,

    I tried running VS Code as administrator but still get this error:

    PermissionError: [WinError 5] Access is denied: 'C:\\users\\User\\AppData\\Local\\Application Data'

    but when I did a 'whoami' it shows <computername>\<user> - not administrator.

    How do I get around this?

    Thanks,

    V
     
    Veepo, Mar 30, 2025
    #2
  3. Geethu B Win User
    Unable to access a folder, it denies permission

    Hi,

    Thank you for contacting Microsoft Community. I understand that you have an issue with permission.
    I will surely help you to fix this issue.

    To understand the issue better, I would need more information from your end.1. Is the issue specific with a particular folder?

    2. What is the complete error message?

    This issue could have occurred due to these reasons:


    • Permission issue.

    • Corrupt User Account.

    • Damaged files.

    I suggest you to try the steps under the section Issue 1:
    I get an "Access Denied" error message when accessing or working with files and folders
    in the following article and check if it helps.

    "Access Denied" or other errors when accessing or working with files and folders in Windows

    "Access Denied" or other errors when you access or work with files and folders in Windows - Microsoft Support

    Note:

    1. Applies to Windows 10.

    2. You may need to be logged on as an administrator to change file and folder permissions.

    Hope this information helps. Reply to the post with updated status of the issue so that we can assist you further.
     
    Geethu B, Mar 30, 2025
    #3
  4. i1yas Win User

    Data WinError 5 access Denied to folder and traceback errno 2

    acceess denied to specific folder

    Hey i hide some folder which contain my personal data like family pic and some other stuff using a free software absolute folder hider but then i shift from windows 32 bit to 64 bit and forget to unhide my folder and now folder is hidden and whenever i tried to acceess typing folder patch in adrees path error occur that D:\Data is not acceessable
    access denied..
    is there any way to get my stuff back?
     
    i1yas, Mar 30, 2025
    #4
Thema:

Data WinError 5 access Denied to folder and traceback errno 2

Loading...
  1. Data WinError 5 access Denied to folder and traceback errno 2 - Similar Threads - Data WinError access

  2. Data WinError 5 access Denied to folder and traceback errno 2

    in Windows 10 Gaming
    Data WinError 5 access Denied to folder and traceback errno 2: Hello,I have been running into an issue with a file and tried many solutions to fix, sfc scan among others.I have inserted an image of the error with text pasted at the bottom as well.I am unsure of other solutions at this point, and any help is greatly appreciated.Failed to...
  3. VS Code and Python error: PermissionError: [WinError 5] Access is denied:...

    in Windows 10 Gaming
    VS Code and Python error: PermissionError: [WinError 5] Access is denied:...: Hello,I tried running VS Code as administrator but still get this error:PermissionError: [WinError 5] Access is denied: 'C:\\users\\User\\AppData\\Local\\Application Data'but when I did a 'whoami' it shows <computername>\<user> - not administrator.How do I get around...
  4. VS Code and Python error: PermissionError: [WinError 5] Access is denied:...

    in Windows 10 Software and Apps
    VS Code and Python error: PermissionError: [WinError 5] Access is denied:...: Hello,I tried running VS Code as administrator but still get this error:PermissionError: [WinError 5] Access is denied: 'C:\\users\\User\\AppData\\Local\\Application Data'but when I did a 'whoami' it shows <computername>\<user> - not administrator.How do I get around...
  5. VS Code and Python error: PermissionError: [WinError 5] Access is denied:...

    in Windows 10 Network and Sharing
    VS Code and Python error: PermissionError: [WinError 5] Access is denied:...: Hello,I tried running VS Code as administrator but still get this error:PermissionError: [WinError 5] Access is denied: 'C:\\users\\User\\AppData\\Local\\Application Data'but when I did a 'whoami' it shows <computername>\<user> - not administrator.How do I get around...
  6. Access is denied on the Start Menu folder in the Program Data

    in Windows 10 Customization
    Access is denied on the Start Menu folder in the Program Data: I'm trying to install an app but it doesn't push through or complete because of the error below. I'm already an admin and have full control on that directory. Even just adding a folder on the smart Menu, will not allow me. I'm on the administrators group and already change...
  7. Access is denied on the Smart Menu folder in the Program Data

    in Windows 10 Gaming
    Access is denied on the Smart Menu folder in the Program Data: I'm trying to install an app but it doesn't push through or complete because of the error below. I'm already an admin and have full control on that directory. Even just adding a folder on the smart Menu, will not allow me. I'm on the administrators group and already change...
  8. Access is denied on the Smart Menu folder in the Program Data

    in Windows 10 Software and Apps
    Access is denied on the Smart Menu folder in the Program Data: I'm trying to install an app but it doesn't push through or complete because of the error below. I'm already an admin and have full control on that directory. Even just adding a folder on the smart Menu, will not allow me. I'm on the administrators group and already change...
  9. Error 5 Access is denied

    in Windows 10 Gaming
    Error 5 Access is denied: Hello,First of all I do not speak very well English but I will try to describe my issue as best as I can.I use Razer Synapse. I bought a new PC with Win 10 and Synapse was working like for 2 days and all of sudden the software has stopped working. I tried to fix it and I even...
  10. access denied error 5

    in Windows 10 Drivers and Hardware
    access denied error 5: I can't download and install Lenovo h50-50 updates nor drivers, a note with denied access and error 5 is dispayed. https://answers.microsoft.com/en-us/windows/forum/all/access-denied-error-5/f89f5fc4-2a48-4119-8509-789e01585056