04-10-2013 08:20 AM
I have a program that I have complied using LabWindows 2010. Program works fine under Windows XP, but under WIndows 7 the program gets a shield attached to the icon (see attachment). When running the program under Windows 7, it requests that an admin password be entered.
None of my other test programs have had this issue.
What is causing Window 7 to dislike this program.
Solved! Go to Solution.
04-10-2013 08:28 AM
Look at the security settings on the file. They may have been set to require administrative access even if it is not needed, and can be changed. The executable may actually require administrative access. This is usually due to hardware control. Try changing the security settings (may require disconnection from inheriting security settings) and see if it works.
05-28-2014 04:57 AM
There are many forum posts on the internet about this issue.
Some claim they found a solution.
But my opinion is that, it is there for a reason (executable requires admin privilages) and I would not remove it unless I had a very good reason, other than you finding it annoying.
http://stackoverflow.com/questions/5775350/security-center-symbol-shield-with-my-application-icon
http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html
05-28-2014 07:49 AM
Sorry, I never reply with our solution.
The program was named "Default Setup" in the target settings of CVI. It was named this since in set all our instruments to default. Win 7 saw the program as a "setup/install" program. Our IT group has our computers configured that all "setup" programs require admin rights to run.
As soon as I named the program "Instrument Defaults" in CVI and recompiled the "shield" went away and you no longer needed to be an admin to run.
It was just the word "Setup" in the name that caused the problem.