Can't Run LabVIEW .exe From Task Scheduler When User Logged Off

Updated May 3, 2018

Reported In


  • LabVIEW

Operating System

  • Windows

Issue Details

When I try to use Windows Task Scheduler to run a LabVIEW executable while users are logged off, my executable does not run and does not throw any errors. My program should pull data from a single source and write the data out to an Excel sheet using the MS Office Report Express VI.


This issue can happen when trying to call a function within your LabVIEW program that requires user permissions to open. For example, trying to use Microsoft Excel in an executable when no user is logged on will result in the execution being stopped. A workaround for this would be to write to a .csv or TDMS file directly instead of interfacing with Excel. Some examples of how to get data to Excel alternatively from LabVIEW can be found in the Moving Data From LabVIEW Into Excel newsletter.

Additional Information

If your task is not executing properly and you aren't calling any external programs make sure that you have properly configured your task options in Task Scheduler to allow execution when users are logged out. 


Not Helpful