# ELK migration from executable to service on windows

**URL:** <https://discuss.elastic.co/t/elk-migration-from-executable-to-service-on-windows/113604>\
**Category:** Elasticsearch\
**Created:** [December 29, 2017, 4:51pm UTC](https://discuss.elastic.co/t/elk-migration-from-executable-to-service-on-windows/113604 "2017-12-29T16:51:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AshishC](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishc/32/45312_2.png) [@AshishC](https://discuss.elastic.co/u/AshishC)\
**Post date:** [December 29, 2017, 4:51pm UTC](https://discuss.elastic.co/t/elk-migration-from-executable-to-service-on-windows/113604/1 "2017-12-29T16:51:40Z")

</div>

Hi All,

I have installed elasticsearch (unzip the zip installer and running it using cmd ) on windows server and started using it since last 2 weeks.

But now, I would like to run it as service rather than running it from cmd prompt. In order to do that, I have used the msi installer to install the elasticsearch as service.

It is up and running on the same host/port. I also copied the data folder from previous elasticsearch. But I still don't see the content of previous data.

What things do I need to consider to copy existing data ( and template). Do I need to apply the template again on the new MSI instance as well?

Version 6.0.1 (both exe and msi)

Thanks  
Ashish

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 29, 2017, 7:17pm UTC](https://discuss.elastic.co/t/elk-migration-from-executable-to-service-on-windows/113604/2 "2017-12-29T19:17:20Z")

</div>

FYI we’ve renamed ELK to the Elastic Stack, otherwise Beats and APM feel left out! 😉

> [@AshishC](#):
>
> I also copied the data folder from previous elasticsearch.

What are the commands you ran?

---

<div class="post-metadata">

**Author:** ![AshishC](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashishc/32/45312_2.png) [@AshishC](https://discuss.elastic.co/u/AshishC)\
**Post date:** [December 29, 2017, 8:58pm UTC](https://discuss.elastic.co/t/elk-migration-from-executable-to-service-on-windows/113604/3 "2017-12-29T20:58:38Z")

</div>

Thanks for the info Mark, yes it makes sense.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 26, 2018, 8:58pm UTC](https://discuss.elastic.co/t/elk-migration-from-executable-to-service-on-windows/113604/4 "2018-01-26T20:58:43Z")

</div>

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