Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • About
  • Blog
  • Download
  • Emby Premiere
  • Sign In
  • Support
  • Emby Server
  • Installation & Setup
  • Running as Windows Service
Search Results for

    Show / Hide Table of Contents
    • Emby Documentation
    • Emby Server
      • Quick start
      • System Requirements
      • Emby Premiere
      • Installation & Setup
        • Installation
        • Running as Windows Service
        • Server Installation on Shield TV
        • Network Setup
      • Server Management
        • Server Settings
        • Network & Connectivity
          • Connecting from Client Apps
          • Secure Your Server
        • Manage Users
          • Users
          • Parental Controls
          • Passwords
          • Content Access
          • Device Access
          • Emby Connect
          • Admin Password Reset
        • Library Setup
          • Library Setup
          • Folder-based Access Control
          • Linux/Unix Permissions
          • Optional Network Paths
          • New Media Date Handling
        • Manage Metadata
          • Metadata Manager
          • Identify
          • Ordering TV Special/Extras
          • Image Editing & Image Types
        • Transcoding
          • Transcoding
          • Hardware Acceleration
            • Overview
            • Windows
            • Linux
            • Android
        • Scheduled Tasks
        • Log Files
        • Devices
        • Backing up Emby Server
        • Plugin Management
      • Features & Plugins
        • Playback Methods
        • Collections
          • Collections
        • Subtitles
          • Open Subtitles
          • Automatic Subtitle Downloads
          • Manual Subtitle Downloads
        • Extra Content
          • Channel Plugins
          • Cinema Intros
          • Music Lyrics
        • Downloads & Sync
          • Introduction
          • Download Options
          • Offline Access
          • Download Jobs
          • Folder Sync
        • Intro Skip
        • Camera Upload
        • Convert Media
        • Webhooks
        • Notifications
      • Live TV
        • Live TV Setup
        • Live TV Plugins
        • HDHomeRun Setup
        • M3U Tuners
        • Older HDHomeRun Support
        • Emby Guide Data
        • Schedules Direct
        • XML TV
        • Live TV Channel Mapping
        • Manage Channels
        • HDHomeRun Channels
        • NextPVR Tuner
        • VBox TV Gateway Tuner
        • Other EPG Sources
        • DVR Settings
      • Media Preparation
        • Naming Conventions
          • Movie Naming
          • TV Naming
          • Music Naming
          • Audio Book Naming
          • Book Naming
          • 3D Video Naming
          • Subtitles Naming
          • Trailer Naming
          • Theme Media Naming
        • Excluding Files & Folders
        • Media Stubs
        • Strm Files
      • KB Articles
        • Linux
        • Synology NAS
        • Corrupt Database
        • Synology Permissions
        • HWA fails with RDP
        • Manage Collections (Legacy)
        • Manage Playlists (Legacy)
    • Emby Apps
      • Common
        • Emby Connect
        • Keyboard and Remote Support
      • Android Mobile
      • Apple TV
      • Emby Windows
      • Google Home
      • Atmos on LG TV
      • Web App
      • Amazon Alexa
      • Android TV
        • Android TV
        • Android TV Storage Attachment
        • Shield TV Direct File Access
      • Fire TV
        • Amazon Fire TV
        • Manual Install on Fire Tablets
      • Chromecast
      • iOS
      • Roku
      • Emby for Kodi
    • Emby Premiere
      • Emby Premiere
      • Purchasing Premiere
      • Membership Options
      • Feature Matrix
      • Premiere Key Delivery
      • Keys Valid with Emby 4.0
      • Lost Premiere Keys
      • Key Invalid or Missing
      • Upgrade Membership
      • Premiere Limits
      • App Store Price Differences
      • Cancel Subscription
      • Using Multiple Servers
      • Update Credit Card
      • Change Payment Method

    Running as Windows Service

    Running Emby Server as a Windows Service

    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. Make sure to choose the 64-bit or 32-bit version of NSSM to match the architecture of your Windows installation.
    • Save nssm.exe to a folder of your choice. You'll need to keep NSSM in this folder in order for the service to function.
    • Open a command prompt as admin and "cd" to the folder containing NSSM.
    • 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.

    Warning

    Emby will not auto update while running as a service. To upgrade Emby Server, download the latest version from https://emby.media/windows-server.html. Stop the service and perform the install using the version downloaded. Restart service.

    On this Page
    Back to Top 2025 © EMBY LLC. Please see our terms of use and privacy policy.