# Running as a service on a windows OS

**URL:** <https://discourse.nodered.org/t/running-as-a-service-on-a-windows-os/37639>\
**Category:** General\
**Created:** [17 December 2020 03:35 UTC](https://discourse.nodered.org/t/running-as-a-service-on-a-windows-os/37639 "2020-12-17T03:35:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 December 2020 11:07 UTC](https://discourse.nodered.org/t/running-as-a-service-on-a-windows-os/37639/4 "2020-12-17T11:07:36Z")

</div>

Just for completeness, NSSM can also direct stdout/stderr etc to a logfile (and do rotation)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/3/c304bff6ccc1e038e076f267b9c4d2ad23526ae9.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/c/5cf0bfe071eb76509d028b082a3beb9ea83b3f1c.png)

NOTE: I split this thread from an old (unrelated thread [Copy Node-red Install on Windows server offline](https://discourse.nodered.org/t/copy-node-red-install-on-windows-server-offline/18135/4))

---

_[View the full topic](https://discourse.nodered.org/t/running-as-a-service-on-a-windows-os/37639)._
