LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Win 7 Security

Solved!
Go to solution

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.

Message 1 of 4
(3,554 Views)

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.

0 Kudos
Message 2 of 4
(3,551 Views)

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://superuser.com/questions/68345/how-to-remove-uac-icon-overlays-blue-yellow-shields-in-windows-...

http://www.sevenforums.com/tutorials/11949-elevated-program-shortcut-without-uac-prompt-create.html

S. Eren BALCI
IMESTEK
0 Kudos
Message 3 of 4
(3,274 Views)
Solution
Accepted by topic author Paul_Knight_Lockheed_Mart

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.

Message 4 of 4
(3,267 Views)