# Node Red as a "Service" on Windows 10 Lenovo PC

**URL:** <https://discourse.nodered.org/t/node-red-as-a-service-on-windows-10-lenovo-pc/84807>\
**Category:** General\
**Created:** [22 January 2024 18:58 UTC](https://discourse.nodered.org/t/node-red-as-a-service-on-windows-10-lenovo-pc/84807 "2024-01-22T18:58:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![damica51](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@damica51](https://discourse.nodered.org/u/damica51)\
**Post date:** [22 January 2024 18:58 UTC](https://discourse.nodered.org/t/node-red-as-a-service-on-windows-10-lenovo-pc/84807/1 "2024-01-22T18:58:57Z")

</div>

As of now I manually start "PowerShell" and then Node-Red. I'm wanting to run both as a Windows Service can this be done? Is there a better way?

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [22 January 2024 19:04 UTC](https://discourse.nodered.org/t/node-red-as-a-service-on-windows-10-lenovo-pc/84807/2 "2024-01-22T19:04:01Z")

</div>

Hi @damica51

You wouldn't run powershell as the service, to start Node RED, instead, you configure Node RED as a service.

The tool to use is NSSM.

see here: [Running Node-RED as a service on Windows using NSSM · GitHub](https://gist.github.com/dceejay/576b4847f0a17dc066db)

---

<div class="post-metadata">

**Author:** ![damica51](https://avatars.discourse-cdn.com/v4/letter/d/eb8c5e/32.png) [@damica51](https://discourse.nodered.org/u/damica51)\
**Post date:** [22 January 2024 22:40 UTC](https://discourse.nodered.org/t/node-red-as-a-service-on-windows-10-lenovo-pc/84807/3 "2024-01-22T22:40:00Z")

</div>

Thanks, I will read so that I understand before I do anything.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [5 February 2024 22:40 UTC](https://discourse.nodered.org/t/node-red-as-a-service-on-windows-10-lenovo-pc/84807/4 "2024-02-05T22:40:15Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
