Solved

UAC Shields Odd Behavior

Posted on 2014-10-13
4
177 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 2008 set profile 9 46
How to disable AD users from a csv  list? 4 44
FTP server backups 5 42
windows 2008 installation hangs 13 38
Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

740 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