# Running RoonServer as a windows service

**URL:** <https://community.roonlabs.com/t/running-roonserver-as-a-windows-service/3530>\
**Category:** Roon Software Discussion\
**Created:** [September 4, 2015, 8:32pm UTC](https://community.roonlabs.com/t/running-roonserver-as-a-windows-service/3530 "2015-09-04T20:32:02Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Christian\_Riedl](https://community.roonlabs.com/letter_avatar/christian_riedl/32/5_5575768a8748004e209b776fc1b2916d.png) [@Christian\_Riedl](https://community.roonlabs.com/u/Christian_Riedl)\
**Post date:** [June 26, 2022, 10:04am UTC](https://community.roonlabs.com/t/running-roonserver-as-a-windows-service/3530/21 "2022-06-26T10:04:36Z")

</div>

Since some days (maybe since installation of build 970) I am not able to start **RoonServer as service** using **nssm** on a Windows 2019 server.

**nssm start RoonServer replies**  
RoonServer: Unexpected status SERVICE\_PAUSED in response to START control.

**Log file of nssm (RoonServer logs are empty) shows :**  
Unbehandelte Ausnahme: System.TypeLoadException: Der Typ “MessageHandler” in der Assembly “RoonApp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null” konnte nicht geladen werden.  
bei Sooloos.App.InitPing()  
bei Sooloos.App.Init()  
bei Sooloos.App.Main(String[] argv)

RoonServer starts correct when I run **RoonAppliance**. If I start **RoonServer** it immediately ends without log message.

Maybe I should start **RoonAppliance** with **nssm**?

---

<div class="post-metadata">

**Author:** ![BlackJack](https://community.roonlabs.com/user_avatar/community.roonlabs.com/blackjack/32/39743_2.png) [@BlackJack](https://community.roonlabs.com/u/BlackJack)\
**Post date:** [June 26, 2022, 10:12am UTC](https://community.roonlabs.com/t/running-roonserver-as-a-windows-service/3530/22 "2022-06-26T10:12:17Z")

</div>

Make sure that .NET Framework 3.5 is installed:

[![](https://roon-community-uploads.s3.amazonaws.com/original/3X/e/e/ee95ee785262907da58e872084bf44afa6c3fe9b.jpeg) ](https://roon-community-uploads.s3.amazonaws.com/original/3X/e/e/ee95ee785262907da58e872084bf44afa6c3fe9b.jpeg)

If that is the case or doesn’t help, follow the troubleshooting steps from the guide until RoonServer starts again or you have completed the “Next Steps”:

> **[Roon on Windows won't start or crashes right at launch](https://help.roonlabs.com/portal/en/kb/articles/roon-on-windows-won-t-start-or-crashes-right-at-launch)**
>
> There are a number of reasons why this might happen, but most frequently we find that this can happen after a Windows update. Sometimes drivers are corrupted or other changes cause Roon to crash. If you're experiencing this type of issue, please try...

---

<div class="post-metadata">

**Author:** ![Daniel\_Schillig](https://community.roonlabs.com/user_avatar/community.roonlabs.com/daniel_schillig/32/180185_2.png) [@Daniel\_Schillig](https://community.roonlabs.com/u/Daniel_Schillig)\
**Post date:** [April 5, 2023, 12:27pm UTC](https://community.roonlabs.com/t/running-roonserver-as-a-windows-service/3530/23 "2023-04-05T12:27:41Z")

</div>

You can setup an scheduled Task:

> **[How to create and schedule a Task with Create Basic Task Wizard in Windows 11/10](https://www.thewindowsclub.com/schedule-task-in-windows-7-task-scheduler)**
>
> You can use the Create Basic Task Wizard in Task Scheduler to schedule a program or task to run automatically triggered by Time or Event in Windows 10.

this worked for me!

[Previous page](https://community.roonlabs.com/t/running-roonserver-as-a-windows-service/3530.md?page=1)
