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. Access is denied when trying to zip a folder

    in AntiVirus, Firewalls and System Security
    Access is denied when trying to zip a folder: Today I noticed that my access is denied when I try and ZIP a folder. I have tried to zip numerous folders in my documents and pictures. I can edit and save files in this location, just not zip them. I have tried checking the properties in the temp folder and I should have...
  3. 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
  4. 'Access is denied' message when trying to connect to NAS share drives

    in Windows 10 Network and Sharing
    'Access is denied' message when trying to connect to NAS share drives: I am unable to connect to my NAS share drives on Win10 Explorer. I am running v2004 Build 19041.421. When I try to map to the NAS drive I get 'Access is denied' message. I have researched this extensively online and have tried all the various fixes but nothing works. I...
  5. 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?...
  6. "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...
  7. "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...
  8. I get an 'Access Denied' message when trying to manage accounts on active directory

    in Windows 10 Software and Apps
    I get an 'Access Denied' message when trying to manage accounts on active directory: Hey I've been getting notifications that there's issues with a work or school account, which I do not have access to and would never need, so I wanted to remove it. When I click manage in the settings the webpage that opens up says access denied. How do I remove all trace...
  9. "Access Denied" message on trying to access network shared folders

    in Windows 10 Network and Sharing
    "Access Denied" message on trying to access network shared folders: Hello Everyone, Have a situation, would appreciate your valuable support and answer on this. I have a small office environment with a Windows Server 2012 Standard edition in place along with 6 Windows PCs connected to a basic network system, wherein which non of the...
  10. Access denied when trying to end task

    in Windows 10 Performance & Maintenance
    Access denied when trying to end task: Hello! Sometimes a process will hang for apparently no reason. The usual practice is to open Task Manager and terminate the process (select it and click End task). But there are a couple of applications that hang for good and cannot terminate them. I get an Access Denied...