Solved

UAC Shields Odd Behavior

Posted on 2014-10-13
4
161 Views
Last Modified: 2014-10-21
I have included manifest 'AsInvoker' in my application and the UAC Shield thankfully vanished.

problem:
Yesterday at one customers place (Windows 2008 Server) again the Shied appeared.
After much attempts I renamed the folder and the Shield disappeared. My application does not have the word 'Setup or Update' in it. Even if I prefixed '1' to the name the shield disappears. Odd behavior, any explanations ?
0
Comment
Question by:Allan_Fernandes
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 500 total points
ID: 40380938
My apologies - I'll provide the content directly rather than linking to another site.

Does the shield appear on the application EXE immediately after installing it (if it has an installer - you might just be extracting a zip file) or does some other action get taken first that might only be occurring on this server? You mention that renaming the EXE causes the shield to disappear (and I assume the application then runs without prompting), but just to be clear, it also disappears when you rename the folder and not the EXE file? If there was an attached manifest that specified that it needed elevation, I'd expect the behavior to change when you rename the EXE, but renaming the folder should keep everything intact.

The TechNet article on UAC mentions that the following things can trigger a UAC prompt (search the page for "Installer Detection Technology" to find the section with these, and some other, details):

• Filename includes keywords like "install," "setup," "update," etc.
• Keywords in the following Versioning Resource fields: Vendor, Company Name, Product Name, File Description, Original Filename, Internal Name, and Export Name.
• Keywords in the side-by-side manifest embedded in the executable.
• Keywords in specific StringTable entries linked in the executable.
• Key attributes in the RC data linked in the executable.
• Targeted sequences of bytes within the executable.

Unfortunately, it's vague on details (like a list of keywords) but instead cryptically notes that "The keywords and sequences of bytes were derived from common characteristics observed from various installer technologies". If you can provide the name of your EXE (before you rename it), somebody might be able to identify exactly what's triggering the UAC request.
0
 

Author Comment

by:Allan_Fernandes
ID: 40386046
Sorry about the delay.

My folder contains few exe's like Staller.exe and also Snap.exe which behave fine ie: no UAC Shield . Problem is with DSafeReplicator.exe and DSafeClient.exe (has sockets, updates registry) show shield. If I rename to DSafeClient1.exe / DSafeReplicator - Copy.exe  there is no Shied. This means nothing to do with exe contents. Yes Manifest is there with respective Exe name and 'AsInvoker'. I know it sounds crazy. Now I have renamed base folder to sDSafe instead of DSafe and all is fine despite the file names being DSafeReplicator.exe and DSafeClient.exe .

>> Does the shield appear on the application EXE immediately
The Shield appears immediately though I do not know about first installation.
Also I have my own installation program with SFX zip that I open in the temp area and then move it to user selected location.

Thanks
0
 

Author Closing Comment

by:Allan_Fernandes
ID: 40396213
Just closing
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now