Run Tracd as a Windows Service

How to Run Tracd as a Windows Service with AlwaysUp

Automatically Start your Tracd Python Web Server as soon as your computer boots and keep it running 24/7 in the background


Last Updated on September 4, 2026

Trac is an enhanced wiki and issue tracking system for software development projects. It includes Tracd, a lightweight standalone web server implemented in Python.


To install Tracd as a Windows Service with AlwaysUp:

  1. Download and install Trac, if necessary. Formulate the command line that will run tracd from a command prompt on your computer.

    After downgrading to Python 3.12, we installed Trac on our machine with "pip install trac":

    pip install trac

    And this command launched tracd to serve our CTC project:

    tracd -p 8080 C:\Trac\Projects\CTC
  2. Download and install AlwaysUp, if necessary.

  3. Start AlwaysUp.

  4. Select Application > Add to open the Add Application window:

    Add Application

  5. On the General tab:

    • In the Application field, enter the full path to the Tracd executable, tracd.exe.

      If you don't know the full path offhand, find it by running "where tracd" from a command prompt.

    • In the Arguments field, enter your arguments to tracd.exe. We entered the parameters identified in step 1.

    • In the Start the application field, choose Automatically, but shortly after the computer boots. This setting introduces a short delay before AlwaysUp starts tracd.exe whenever the machine boots. That should be enough time for critical supporting services to initialize themselves and be ready.

    • And in the Name field, enter the name that you will call the application in AlwaysUp. We stuck with the default Tracd but you can specify virtually anything you like.

    Tracd Windows Service: General Tab

  6. Move to the Logon tab and enter the username and password of the Windows account in which you installed and use Trac. The service must run in this account so that Trac and Python can find their settings.

    Tracd Windows Service: Logon Tab

  7. Move to the Startup tab and check the Ensure that the Windows Networking components have started box. This informs AlwaysUp that Tracd needs TCP/IP networking support to do its work.

    Tracd Windows Service: Startup Tab

  8. Click the Save button. In a couple of seconds, an application called Tracd will show up in the AlwaysUp window.

    At this point, Tracd is installed as a Windows Service. But it's not yet running and the state will be "Stopped":

    Tracd Windows Service: Installed

  9. To start Tracd from AlwaysUp, choose Application > Start "Tracd". The state will transition to "Running":

    Tracd Windows Service: Running

    Finally, open the browser and confirm that your project is being served as expected.

  10. That's it! Next time your computer boots, Tracd will start up immediately, before anyone logs on.

    We encourage you to edit Tracd in AlwaysUp and check out the many other settings that may be appropriate for your environment.

    For example, setup email notifications, capture console output, setup a sanity check to detect network failures, and much more.


Tracd not working properly as a Windows Service?

  • Consult the AlwaysUp Troubleshooter — our online tool that can help you resolve the most common problems encountered when running an application as a Windows Service.

  • From AlwaysUp, select Application > Report Activity > Today to bring up an HTML report detailing the interaction between AlwaysUp and Tracd. The AlwaysUp Event Log Messages page explains what each message means.

  • Browse the AlwaysUp FAQ for answers to commonly asked questions and troubleshooting tips.

  • Contact us and we will be happy to help!

Our 14,000+ customers include...
AlwaysUp is fully compatible with Windows 11 AlwaysUp is fully compatible with Windows Server 2025
Over 97,000 installations, and counting!
 
AlwaysUp is number 1! Run as a Service with AlwaysUp

Rock-solid for the past 20+ years!