Run Emby Server as a Windows Service with AlwaysUp

How to Launch Emby Server as a Windows Service with AlwaysUp

Start your Emby Media Server as soon as your computer boots and keep it running unattended in the background. Ensure that your media is always available, 24/7!

The Emby ecosystem supports the sharing of videos, music and other media across all devices on your network. If you have lots of content on your PC, the Emby Server Windows component let you share your files with other devices running Emby.

Normally Emby Server will only start after you log in, but we will show you how to launch the server automatically after a reboot without anyone having to attend.

To install Emby Server as a Windows Service:

  1. Download and install Emby Server for Windows, if necessary.

  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 Emby Server executable, EmbyServer.exe. If you have installed Empy in the default location (using the setup.exe installer), this will be:

      C:\Users\[USER-NAME]\AppData\Roaming\Emby-Server\system\EmbyServer.exe
      where [USER-NAME] is the name you specify when logging in to Windows. Since we installed Emby in the "Administrator" account, that value will appear in this tutorial.

    • In the Start the application field, select Automatically, but shortly after the computer boots. Emby will start 1-2 minutes after a reboot — after critical windows services (such as event logging and networking) have fully initialized and are ready to go.

    • In the Name field, enter the name that you will call the application in AlwaysUp. We have stuck with the default of EmbyServer but you can specify a different name if you like.

    Emby Server Windows Service: General Tab

  6. Click over to the Logon tab, check the box at the top and enter the username and password of the Windows account where you installed Emby Server. This is very important: The software will not work properly as a service if it runs in the default system account!

    Emby Server Windows Service: Logon Tab

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

    We also recommend checking both the Stop all copies of the application running on this computer and Also whenever the application is restarted boxes, to ensure that only a single copy of Emby Server is active at any time.

    Emby Server Windows Service: Startup Tab

  8. We are now done configuring Emby Server to run as a service so click the Save >> button to record your settings. In a few seconds, an entry for EmbyServer will show up in the AlwaysUp window. It is not yet running though, and the state will be Stopped:

    Emby Server Windows Service: Created

  9. Before we start Emby Server from AlwaysUp, let's turn off some of the server's features that may conflict with 24x7 operation.

    1. Start Emby Server on your desktop, if necessary.

    2. Right-click on the Emby tray icon () and select Configure Emby from the menu:

      Configure Emby

    3. Highlight Settings on the left and make sure that the Run server at startup box is not checked. This capability would start Emby when you log in — no longer needed now that we have installed a windows service.

      Disable Emby start at login

    4. And on the right, scroll down and expand the Automatic Updates section. Un-check both boxes there. This disables all automatic updates, which can occur at "inconvenient" times and play havoc with 24/7 operation. Be sure to manually update Emby once in a while though!

      Disable Emby automatic updates

    5. Click the Save button to record your changes. And finally, close Emby by right-clicking on its tray icon and selecting Exit.

  10. To start Emby Server from AlwaysUp, choose Application > Start "EmbyServer". The server will start invisibly in the background, on the isolated Session 0. You will NOT see Emby's familiar tray icon on your desktop.

    Emby Server Windows Service: Running

    Fire up your web browser and browse to the Emby URL. You should be able to control the server as normal from there:

    Emby Server Windows Service: Running on the Desktop

    If you ever need to see the Emby tray icon, select Application > Restart "EmbyServer" in this session to restart the server visibly on your desktop:

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

    We encourage you to edit Emby Server in AlwaysUp and check out the many other settings that may be appropriate for your environment. For example, send an email when the Emby Server crashes or stops for any reason, boost the priority of the server process, restart the media server nightly to cure memory leaks, and much more.



Emby Server 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.

  • Review the Emby logs (available via the web interface) for errors and warnings. Consider enabling debug logging if you are technical and can decode the cryptic details:

    Review Emby Server logs

  • From AlwaysUp, select Application > Report Activity > Today... to bring up a HTML report detailing the interaction between AlwaysUp and Emby. The AlwaysUp Event Log Messages page explains the messages that may turn up.

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

  • Contact us and we will be happy to help!

Download & Try it Free!

Download AlwaysUp and Run as a Service Today! Version 15.1 New!

7.9 MB Installer
Our 12,000+ customers include...
Compatible with Windows 11 Compatible with Windows Server 2022 Compatible with Windows 10
Over 94,000 installations, and counting!
 
AlwaysUp is number 1! Run as a Service with AlwaysUp

Rock-solid for the past 19+ years!