Solved

UAC Shields Odd Behavior

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to prioritize LOGONSERVER for clients? 1 56
access denied when running native SQL tool: SQLIOSIM 2 40
Remove Extension 3 38
Dropbox in Windows Server 2008 4 31
Redirected folders in a windows domain can be quite useful for a number of reasons, one of them being that with redirected application data, you can give users more seamless experience when logging into different workstations.  For example, if a use…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

803 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