Running LabVIEW Executable with Administrator Access

Updated Aug 23, 2023

Reported In

Software

  • LabVIEW Application Builder Module

Issue Details

  • My program requires administrator privileges, how do I ensure it runs with administrator access?
  • How do I ensure that my LabVIEW program runs with elevated privileges?

Solution

To ensure that a built LabVIEW program runs with elevated permissions, the manifest file for the executable must be edited. This is accomplished by using the Manifest Tool, 'mt.exe', which ships with the Windows SDK.

Please refer to this LabVIEW help page on how to edit the manifest file.