Wrapper-Free Solution to Run a LabVIEW-Built .Exe File as a Windows Service

Updated May 3, 2018

Reported In


  • LabVIEW

Programming Language

  • LabVIEW G

Issue Details

I want to automate some tasks on a Windows Server, using LabVIEW as the programming environment, and run the code as a Windows Service. I am aware that there are various wrapper programs available to allow an executable to be encapsulated and correctly started, stopped, restarted etc. by the Windows Service Manager. However, I would prefer an all-native-LabVIEW wrapper-free solution. Is there any means of integrating the calls to the Windows Service Manager as part of a VI?


It is currently not possible to program a wrapper-free Windows Service directly from LabVIEW.

Additional Information

Windows Services must be derived from a specific .NET class named System.ServiceProcess.ServiceBase. LabVIEW's G language is not a .NET language and has its own compiler. LabVIEW interfaces .NET, which is why it is possible to use existing .NET classes. However, it is not possible to create new .NET classes in LabVIEW that are derived from an existing .NET class.


Not Helpful