LabVIEW 2021 Public Beta

Showing results for 
Search instead for 
Did you mean: 

[New Feature] "Run When Opened" Security Warning

LabVIEW will warn the user when opening VIs that have “Run when opened” behavior:



The intention is to protect users from malicious code disguised as examples. Note that LabVIEW will not prompt for VIs in “trusted” locations such as the LabVIEW folder.


Known Issue

  • The ability to configure this security warning using Tools»Options»Security is not in this Beta, but in the released version you will be able to disable the prompt universally or for specific VIs.

Christina Rogers
Product Owner, LabVIEW R&D
Message 1 of 3



great that NI recognizes this problem and implements countermeasures 🙂


- will it also be possible to add new folders to the trusted locations?

- will it be possible to completely turn off this feature (LabVIEW.ini tokens ?)


Background: my CI build tool-chain runs a vi from console (not using LabVIEW-CLI yet since my build tools predate these recent developments)


Or I finally might have to rework my CI build tools ...


Thanks, Benjamin

0 Kudos
Message 2 of 3

There is an INI token that disables the dialog completely, and this will be accessible via Tools»Options in the release (but this setting isn't in this Beta).


We aren't currently planning to add trusted folders; however, you can add specific trusted VIs.

Christina Rogers
Product Owner, LabVIEW R&D
0 Kudos
Message 3 of 3