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 Software and Apps
    C:\ is not accessible, Access is denied: I noticed this problem started this morning when the WhatsApp app wasn't working and wouldn't download from the Microsoft StoreI then tried accessing my C: and I get But I'm typing this from the PC where C is not accessible.I've tried several solutions I've found online.When...
  3. Trying to run chkntfs /x c: as admin results in "Access is Denied"

    in Windows 10 Gaming
    Trying to run chkntfs /x c: as admin results in "Access is Denied": I'm trying to stop check disk from automatically running on startup.The following should do that via cmd, but I'm getting "Access is Denied" while running CMD as admin:chkntfs /x c:How can I solve this?...
  4. Trying to run chkntfs /x c: as admin results in "Access is Denied"

    in Windows 10 Software and Apps
    Trying to run chkntfs /x c: as admin results in "Access is Denied": I'm trying to stop check disk from automatically running on startup.The following should do that via cmd, but I'm getting "Access is Denied" while running CMD as admin:chkntfs /x c:How can I solve this?...
  5. “ 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...
  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...