Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. UAC - Showing fake Shield icon on the Exe

UAC - Showing fake Shield icon on the Exe

Scheduled Pinned Locked Moved C / C++ / MFC
helpbusinessquestionworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    WindowsPistha
    wrote on last edited by
    #1

    Hello , Even though my application does not have the manifest file,Vista shows shield icon over my exe. Initially I thought it was because of the Installer detection Techniques, such as: 1) Analyzing the Exe name, the OS identifies the required level of Execution. 2) Analyzing the binary content of the application, where the OS identifies the required level of execution. I copied the Exe to the desktop, but it did not put the shield icon over my exe. So I came to a conclusion that the above two scenarios are not the reason for this failure. Environment: Installed OS - Vista Business. Account - Administrator with UAC turned on. The Exe was displayed under Program Files directory. To run the application Admin Rights is not required. Is there a different scenario that we need to try inorder to remove the shield icon which is displayed over the exe file Note: Previously My application had manifest file, but now we have changed the Exe inorder to make it run in the standard user privilege. (Therefore we removed the manifest file) The funniest part was, even though it displays the shield icon, UAC prompt did not pop up, when i am trying to launch the Exe and therefore the Application launched without any problem. Is this a Vista bug? what can i do remove this shield icon. Would really appreciate your help. Thanks, WindowsPistha.

    B 1 Reply Last reply
    0
    • W WindowsPistha

      Hello , Even though my application does not have the manifest file,Vista shows shield icon over my exe. Initially I thought it was because of the Installer detection Techniques, such as: 1) Analyzing the Exe name, the OS identifies the required level of Execution. 2) Analyzing the binary content of the application, where the OS identifies the required level of execution. I copied the Exe to the desktop, but it did not put the shield icon over my exe. So I came to a conclusion that the above two scenarios are not the reason for this failure. Environment: Installed OS - Vista Business. Account - Administrator with UAC turned on. The Exe was displayed under Program Files directory. To run the application Admin Rights is not required. Is there a different scenario that we need to try inorder to remove the shield icon which is displayed over the exe file Note: Previously My application had manifest file, but now we have changed the Exe inorder to make it run in the standard user privilege. (Therefore we removed the manifest file) The funniest part was, even though it displays the shield icon, UAC prompt did not pop up, when i am trying to launch the Exe and therefore the Application launched without any problem. Is this a Vista bug? what can i do remove this shield icon. Would really appreciate your help. Thanks, WindowsPistha.

      B Offline
      B Offline
      bob16972
      wrote on last edited by
      #2

      WindowsPistha wrote:

      I copied the Exe to the desktop, but it did not put the shield icon over my exe

      Do you have a standalone manifest file for it in the directory where it exists when it displays the shield? Even if the manifest does not exist in the executable as a resource, it should still look for one in the directory of the executable and use it if it fits. I've noticed those standalone manifests suffer from caching when you try to delete or remove one, the effect can linger even though the manifest no longer exists there. Various techniques to shake it loose like rebooting ultimately prevail but not after some cursing and head scratching. Anyway, just an idea.

      W 1 Reply Last reply
      0
      • B bob16972

        WindowsPistha wrote:

        I copied the Exe to the desktop, but it did not put the shield icon over my exe

        Do you have a standalone manifest file for it in the directory where it exists when it displays the shield? Even if the manifest does not exist in the executable as a resource, it should still look for one in the directory of the executable and use it if it fits. I've noticed those standalone manifests suffer from caching when you try to delete or remove one, the effect can linger even though the manifest no longer exists there. Various techniques to shake it loose like rebooting ultimately prevail but not after some cursing and head scratching. Anyway, just an idea.

        W Offline
        W Offline
        WindowsPistha
        wrote on last edited by
        #3

        Thanks Bob ! rebooting also did not help :(

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups