UAC Shields Odd Behavior on Windows Server 2008

After much work with UAC I have managed to remove the Shield from the Icon so now my application runs without prompting, as I have included in manifest 'AsInvoker'.

problem:
Once in a while when I change the Exe File for an upgrade or bug fix, then the prompt comes up again. This happens one in 1000 times.
If I rename the Folder / Exe file then it works fine again. Could someone give an explanation for this odd behaviour.

Please note that my application does not have the word 'Setup or Update' in it. Even if I prefixed '1' to the name the shield disappears.

This has been observed only on Windows Server 2008
Allan_FernandesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

santhoshuCommented:
With what I understand from the above post, you have disabled UAC, but still it prompts for username sometimes.  Am I correct?

If yes, did you go to this registry and set EnableLUA to 0?

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

If not, then set EnableLUA to 0 and it will disable UAC forever.

Also from the run prompt, type secpol.msc, it will bring the Local Security Policy Window.  In the Local Security Policy, go to Local Policies  -->  Security Options  -->  and on the right pane you have policies starting with word "User Account Control".  Check all of them are disabled.  If not, then check which policies are enabled and one of them might be the culprit.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.