ActivePerl is a widely-used Perl distribution. A Perl script can be run as a Windows Service using FireDaemon Pro allows you to have the script start automatically at boot prior to login, start multiple instances of the script and more. This HOWTO will show you how to set it up. You can also use FireDaemon Fusion to manage FireDaemon and other Windows services via a web browser.

ActivePerl Setup Under FireDaemon Pro

Download the latest version of ActivePerl from the ActivePerl website.

By default ActivePerl installs to "C:\Perl" so for the purposes of this HOWTO, we will use that directory.

ActivePerl has many executables that you can use, but the one you would use for most scripts is "perl.exe"

Download and install FireDaemon Pro into the directory of your choice, typically C:\Program Files\FireDaemon.

Next start the FireDaemon GUI from the desktop shortcut. Click on the "Create a new service definition" button in the toolbar (or type Ctrl+N) and enter the information into the fields as you see below. Adjust the paths to suit your installation. Note the required parameters.

  • Executable: The path to your perl.exe file. For the purposes of this HOWTO, the path is C:\Perl\bin\perl.exe.
  • Working Directory: The directory in which your Perl script resides. For the purposes of this HOWTO, the path is C:\Perl\bin.
  • Parameters: The name of your Perl script including its extension (e.g.

Now click on the Settings tab. You can change the Process Priority to allocate more CPU time to ActivePerl or specify which CPU or core ActivePerl will run on (in the case of multi-processor, hyperthreaded or multi-core CPUs).

Now click on the Lifecycle tab. Make sure "Console Application" is checked.

Now click on the OK button to install and start your Perl script!