Share via

Executable making a "sub" executable shows in the Administrator Command Prompt :"Error Access Denied"

Anonymous
2024-03-04T19:45:07+00:00

As mentioned in the title, I have used the 'cl' <insert.exe> command to generate and executable from source, the initial program works very well with no issue. Its not a source code issue from the C program but a security issue from within Windows.

The executable then creates a "sub" executable from itself that I want to launch after. When running the Developer Command Prompt it stated "Access Denied". When running the Administrator Developer Command Prompt it stated "Access Denied". When I modified the settings in the UAC to the lowest that it could be (slider pulled down all the way) it again responds with "Access Denied".

A banner pops up when I click to open the executable on the GUI "This app cant run on your PC check with the software publisher".

Access Denied shows up in CMD, ACMD, and PowerShell shows red.

I browsed the previous questions on the forum and have seen the Group Policy, Uncheck the Administrative rights checkbox in property, and the open as admin. This didn't work.

This executable is supposed to be designed to take a file, split it up into different pieces based on the binary values they have and then recombine them at a later step. Recreating a perfect copy of the file bit by bit.

***moved from Windows / Windows 10 / Security & privacy***

Windows for home | Windows 10 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-03-07T09:46:51+00:00

    Thanks for visiting Microsoft Community.  

    I wish I could handle your problem, however, the issues on The executable file makes the "child" executable file appear in the administrator command prompt: "Access denied" is out of reach of the response support community. It is more suitable for publishing on Microsoft Learn (English only), you can click on "Ask a question", there are experts who can provide more professional solutions in that place. Here is a link :

    Windows - Microsoft Q&A

    to the forum where you can raise specific scenarios and share your idea to help solve the problem.

    Sincerely hope that your question will be dealt with appropriately after contact the correct department. Thank you for your understanding!

    Kirito|Microsoft Community Support Specialist

    Was this answer helpful?

    0 comments No comments