Solved

UAC Shields Odd Behavior

Posted on 2014-10-13
4
157 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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...
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
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…

708 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

13 Experts available now in Live!

Get 1:1 Help Now