Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 788299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:20:27+00:00 2026-05-14T21:20:27+00:00

I have a exe was complied by VC6 and the file name is patch.exe,

  • 0

I have a exe was complied by VC6 and the file name is patch.exe, there is no manifest was added, in that case, the EXE file requires administrator privileges, even though I removed all codes, just keep a empty main(), the result is same. But if I change the EXE from patch.exe to a.exe, the issue is gone.

Below is my test result.
1. EXE was complied by VC6
2. Without manifest or didn’t specific privileges in manifest
3. the exe name included “patch” substring, case-insensitive

Is it a Microsoft issue? Why?

Tried VC2008, I can’t repeat it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:20:28+00:00Added an answer on May 14, 2026 at 9:20 pm

    The UAC feature of Vista, etc. does use the filename of the executable to guess whether it’s going to need escalated Admin privileges. So “legacy” installation programs such as setup.exe, install.exe, patch.exe (and others too I guess) which won’t include a manifest will get appropriate privileges even if users don’t do “Run as Administrator…” for it.

    As to why the VC2008 version doesn’t cause an escalation request? I don’t know. Maybe there’s a manifest embedded into it somewhere that is explicitly or implicitly saying it doesn’t need it.

    A question along these lines has already been asked on StackOverflow.

    How to prevent Vista from requiring elevation on patch.exe?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a compiled .exe file (compiled with gfortran and -g option) that crashes.
I have a .exe file that I've compiled on windows. But when I run
I have a .exe and many plug-in .dll modules that the .exe loads. (I
I have an exe that I know was written in java. I understand that
I have an EXE that I want to distribute, but I don't want to
I have an exe file simpleservice.exe in the physical path F:\SAMPLEPRODUCT\Bin ,, i need
I have an EXE file using a DLL file which is using another DLL
I have a .exe assembly and a set of referenced assemblies that I would
I have an exe that is built and placed into a Setup project for
We have a VB6 project that compiles to an ActiveX EXE that happens to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.