Windows 10: access denied message when I try to run C++ program

Discus and support access denied message when I try to run C++ program in Windows 10 BSOD Crashes and Debugging to solve the problem; On windows 10, HP laptop computer, I wrote simple program: main{} that doesn't do anything, compiled it and tried to execute it and received error... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by danflat2, Mar 4, 2021.

  1. danflat2 Win User

    access denied message when I try to run C++ program


    On windows 10, HP laptop computer, I wrote simple program:

    main{}

    that doesn't do anything, compiled it and tried to execute it and received error message "access denied"

    Why? What am I doing wrong? How can I fix this?

    This happens in any new folder that I create or any name I give the file containing my source code

    :)
     
    danflat2, Mar 4, 2021
    #1
  2. Paola Gar Win User

    c-drive not accessible, access denied

    Based on the error message you're getting, we'd like to know if you've tried repairing Office? If not, kindly follow the steps below:

    • Click Search/Cortana.
    • Type Programs and Features and then press Enter.
    • Look for Microsoft Office from the list and then right-click to select
      Repair
      .

    It will automatically fix any issues that might be causing the problem. After running a repair, kindly check if you'll now be able to access (Caccess denied message when I try to run C++ program :) drive.

    Tell us what would be the result.
     
    Paola Gar, Mar 4, 2021
    #2
  3. Paola Gar Win User
    c-drive not accessible, access denied

    Hi,

    To better understand the issue, we'd like to get the following information:

    • How are you trying to access (Caccess denied message when I try to run C++ program :) Drive?
    • What troubleshooting steps have you done so far?
    • If possible, kindly send us a screenshot of the complete error message you're getting.

    Looking forward to your response.
     
    Paola Gar, Mar 4, 2021
    #3
  4. tcebob Win User

    access denied message when I try to run C++ program

    Access to Program Files denied

    I've set up Avast to run my daily scan via the program ashcmd.exe and then display the report file, "quick.txt", which is stored in C:\ProgramData\AVAST Software. I was able to edit the report and save it last week but today I got the message
    Is there a way to access the file and save it?
     
    tcebob, Mar 4, 2021
    #4
Thema:

access denied message when I try to run C++ program

Loading...
  1. access denied message when I try to run C++ program - Similar Threads - access denied message

  2. “ C:\ is not accessible, Access is denied.”

    in Windows 10 Gaming
    “ C:\ is not accessible, Access is denied.”: I suddently cannot access to my c local disk, said “ C:\ is not accessible, Access is denied.” Even my account is adm, while I log in after restarting my pc or sigh out my account, nothing is showing up except my wallpaper engine, and takes about 10mins to show everything...
  3. “ C:\ is not accessible, Access is denied.”

    in Windows 10 Software and Apps
    “ C:\ is not accessible, Access is denied.”: I suddently cannot access to my c local disk, said “ C:\ is not accessible, Access is denied.” Even my account is adm, while I log in after restarting my pc or sigh out my account, nothing is showing up except my wallpaper engine, and takes about 10mins to show everything...
  4. c:\ is not accessible.......Access is denied

    in Windows 10 Gaming
    c:\ is not accessible.......Access is denied: Windows 10 c:\ is not accessible.......Access is deniedJust recently I have started to have this problem when trying to access c::Computer runs fine , but, also programs cant update because of this.I have tried all the suggestions on here and for c:: properties\ security and...
  5. c:\ is not accessible.......Access is denied

    in Windows 10 Software and Apps
    c:\ is not accessible.......Access is denied: Windows 10 c:\ is not accessible.......Access is deniedJust recently I have started to have this problem when trying to access c::Computer runs fine , but, also programs cant update because of this.I have tried all the suggestions on here and for c:: properties\ security and...
  6. Access Denied Message

    in Windows 10 Network and Sharing
    Access Denied Message: Hi when I try to open certain travel operator websites eg Jet2.com, TUI etc I get the Access Denied message. I've tried to open on on Explorer, Edge & Google but nothing works.Does anyone now I can correct this please? Thanks...
  7. error message: C:\ access denied

    in AntiVirus, Firewalls and System Security
    error message: C:\ access denied: I changed user permission and now can't access C:\. I did not change administrator permissions. Please help. https://answers.microsoft.com/en-us/windows/forum/all/error-message-c-access-denied/dc9a6df5-daa4-400d-9fae-a032c47036b0
  8. Accessed Denied Message

    in AntiVirus, Firewalls and System Security
    Accessed Denied Message: I was trying to look on a few retail sites DSW, Lowes tonight and for the first time received this message: Access Denied You don't have permission to access "http://www.lowes.com/" on this server. Reference #18.6ffb3b17.1592013686.4233a38 Any ideas on how to fix this?...
  9. "Access Denied" message

    in Windows 10 Network and Sharing
    "Access Denied" message: I get an "Access Denied" message when attempting to connect to a shopping site I use on a regular basis. Please understand that I have few tech skills or vocabulary....all of the YouTube instructions are impossible to understand. I need a step by step instruction that I can...
  10. "Access Denied" message

    in Windows 10 Network and Sharing
    "Access Denied" message: I get an "Access Denied" message when attempting to connect to a shopping site I use on a regular basis. Please understand that I have few tech skills or vocabulary....all of the YouTube instructions are impossible to understand. I need a step by step instruction that I can...