Skip to content

Running Emby Server as a Windows Service

Luke edited this page Oct 29, 2017 · 18 revisions

Before setting up a Windows Service, you'll need to install Emby Server from the Emby website.

To setup a Windows Service, we'll be using a program called NSSM that can turn any app into a Windows Service. To begin:

  • Download NSSM.
  • Copy nssm.exe to C:\Windows\system32
  • Alternatively, if you'd prefer not to put it in system32, you can put it anywhere and then add it to the system PATH variable.
  • Open command prompt as admin and type "nssm install" to open the NSSM user interface.

Follow this guide to create your Windows Service, but incorporate the following changes:

  • Application path: path to EmbyServer.exe
  • Startup directory: folder containing the above executable
  • Arguments: -service
  • Service name: Emby Server (or other name of your choice)

Then, on the exit actions tab, make sure to configure the exit action to not automatically restart:

This is important because without this, using the Shutdown button inside Emby Server will cause NSSM to automatically restart Emby Server.

Getting started

Media organization

Server

Emby 4.0 Migration

Hardware Acceleration

Users

Live TV

Emby Apps

Offline Downloading

Dlna

Sync

Plugins

Emby Premiere

Advanced Topics

Clone this wiki locally