# win\_nssm - How to specify Startup directory

**URL:** <https://forum.ansible.com/t/win-nssm-how-to-specify-startup-directory/20347>\
**Category:** Ansible Project\
**Created:** [January 25, 2016, 10:56pm UTC](https://forum.ansible.com/t/win-nssm-how-to-specify-startup-directory/20347 "2016-01-25T22:56:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe\_Levis](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@Joe\_Levis](https://forum.ansible.com/u/Joe_Levis)\
**Post date:** [January 25, 2016, 10:56pm UTC](https://forum.ansible.com/t/win-nssm-how-to-specify-startup-directory/20347/1 "2016-01-25T22:56:55Z")

</div>

Does anyone know a way to specify the Startup directory when installing a new service using win\_nssm? I may be missing something in the documentation, but I don’t see it.

[![](https://lh3.googleusercontent.com/-nbqNBGG3bHE/Vqan3VWQLrI/AAAAAAAAAao/GcnVPs-Fj88/s320/Screen%2BShot%2B2016-01-25%2Bat%2B2.55.01%2BPM.png)](https://lh3.googleusercontent.com/-nbqNBGG3bHE/Vqan3VWQLrI/AAAAAAAAAao/GcnVPs-Fj88/s1600/Screen%2BShot%2B2016-01-25%2Bat%2B2.55.01%2BPM.png)

Thanks,

-Joe

---

<div class="post-metadata">

**Author:** ![Joe\_Levis](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@Joe\_Levis](https://forum.ansible.com/u/Joe_Levis)\
**Post date:** [January 26, 2016, 12:33am UTC](https://forum.ansible.com/t/win-nssm-how-to-specify-startup-directory/20347/2 "2016-01-26T00:33:12Z")

</div>

For now, I’m just running a raw nssm command to set the startup directory after win\_nssm installs it. However, it would be nice if win\_nssm provided the option to do this upon install.
