# Running ElasticSearch as a Windows Service on Windows 2008 R2 Server

**URL:** <https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653>\
**Category:** Elasticsearch\
**Created:** [February 7, 2013, 7:37pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653 "2013-02-07T19:37:38Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mxims\_2](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mxims\_2](https://discuss.elastic.co/u/Mxims_2)\
**Post date:** [February 7, 2013, 7:37pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/1 "2013-02-07T19:37:38Z")

</div>

Hi guys,

Is there a way I can run ElasticSearch nodes as Windows Service on Windows  
2008 R2 Servers?

Has anyone tried it? Is there any related documentation?

Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mxims\_2](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mxims\_2](https://discuss.elastic.co/u/Mxims_2)\
**Post date:** [February 8, 2013, 10:20pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/2 "2013-02-08T22:20:39Z")

</div>

Hi Guys, any help on this??

Has anyone successfully installed it as windows service on any windows  
platform?

Thanks

On Thursday, February 7, 2013 11:37:38 AM UTC-8, Mxims wrote:

> Hi guys,
> 
> Is there a way I can run Elasticsearch nodes as Windows Service  
> on Windows 2008 R2 Servers?
> 
> Has anyone tried it? Is there any related documentation?
> 
> Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![radu\_gheorghe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe/32/556_2.png) [@radu\_gheorghe](https://discuss.elastic.co/u/radu_gheorghe)\
**Post date:** [February 11, 2013, 1:13pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/3 "2013-02-11T13:13:41Z")

</div>

Hello,

I'm not on Windows if I remember correctly, it's just a matter of running  
elasticsearch.bat to make it work.

If you need a starting point for going further, check out these two links:

> <https://stackoverflow.com/questions/8760696/running-elastic-search-as-a-windows-service>

> **[Running ElasticSearch as a Service on Windows 2008 x64](https://captaincodeman.com/elasticsearch-windows-service-2008-x64)**

I'd suggest you try the steps described there and post back here when/if  
you run into issues.

## Best regards, Radu

[http://sematext.com/](http://sematext.com/) -- Elasticsearch -- Solr -- Lucene

On Sat, Feb 9, 2013 at 12:20 AM, Mxims [renjith.ck@gmail.com](mailto:renjith.ck@gmail.com) wrote:

> Hi Guys, any help on this??
> 
> Has anyone successfully installed it as windows service on any windows  
> platform?
> 
> Thanks
> 
> On Thursday, February 7, 2013 11:37:38 AM UTC-8, Mxims wrote:
> 
> > Hi guys,
> > 
> > Is there a way I can run Elasticsearch nodes as Windows Service  
> > on Windows 2008 R2 Servers?
> > 
> > Has anyone tried it? Is there any related documentation?
> > 
> > Thanks
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![sujoysett](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sujoysett](https://discuss.elastic.co/u/sujoysett)\
**Post date:** [February 11, 2013, 1:56pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/4 "2013-02-11T13:56:53Z")

</div>

Hi,

We have been using ES as a service for at least last 6 months using yajsw  
([http://yajsw.sourceforge.net/](http://yajsw.sourceforge.net/)) on Windows 2003 server and Windows 7.  
We usually configure two nodes (one master and one data) in each physical  
server, and both are registered as separate service in each server. This  
was essential for our server as our physical servers are remote machines  
and we use Windows Remote Desktop (multiple users, multiple terminals) to  
connect to them. So, running ES from any particular logged in user was  
problematic for us.

It is pretty easy enough. Following are the steps.

1. start your elasticsearch.bat
2. Grab the java pid using ProcessExplorer
3. Use the pid to generate a yajsw config file.
4. Change service name in the config file.
5. Shut down elasticsearch.
6. Register the service using the config file.
7. Start the service from Windows services screen.
8. Keep the config file safe, it will be necessary for uninstalling the  
service, if necessary.

Hope this helps.  
In case u need any more details, please ask.

-- Sujoy.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mxims\_2](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mxims\_2](https://discuss.elastic.co/u/Mxims_2)\
**Post date:** [February 12, 2013, 2:35am UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/5 "2013-02-12T02:35:14Z")

</div>

Radhu & Sujoy,

Thank you so much for your help on this. I will checkout these options and will let you know how it goes.

Thanks again.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mxims\_2](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mxims\_2](https://discuss.elastic.co/u/Mxims_2)\
**Post date:** [February 26, 2013, 5:43pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/6 "2013-02-26T17:43:04Z")

</div>

I tried installing the service using the procedure on -

> **[Running ElasticSearch as a Service on Windows 2008 x64](https://captaincodeman.com/elasticsearch-windows-service-2008-x64)**

I was able to install the service successfully. However, I see some  
stability issues with the service. The service stops abruptly with Java  
fatal error.. Any of you guys experienced this issue?

I am looking for alternative solution now.. @Sujoy, Do you have more info  
on the service you created? Do you mind sharing, the config file, other  
settings you had used for your service, please.

On Monday, February 11, 2013 6:35:14 PM UTC-8, Mxims wrote:

> Radhu & Sujoy,
> 
> Thank you so much for your help on this. I will checkout these options and  
> will let you know how it goes.
> 
> Thanks again.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mxims\_2](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mxims\_2](https://discuss.elastic.co/u/Mxims_2)\
**Post date:** [February 26, 2013, 6:31pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/7 "2013-02-26T18:31:27Z")

</div>

Sujoy,

Thanks a lot for the pointer.. I just installed a new service using the  
process you suggested - [YAJSW - Yet Another Java Service Wrapper - Introduction](http://yajsw.sourceforge.net/#mozTocId444599)

I will see how it goes... in terms of stability.

Thanks

On Tuesday, February 26, 2013 9:43:04 AM UTC-8, Mxims wrote:

> I tried installing the service using the procedure on -  
> [Running ElasticSearch as a Service on Windows 2008 x64 | Captain Codeman](http://captaincodeman.com/2011/05/20/elasticsearch-windows-service-2008-x64/)
> 
> I was able to install the service successfully. However, I see some  
> stability issues with the service. The service stops abruptly with Java  
> fatal error.. Any of you guys experienced this issue?
> 
> I am looking for alternative solution now.. @Sujoy, Do you have more info  
> on the service you created? Do you mind sharing, the config file, other  
> settings you had used for your service, please.
> 
> On Monday, February 11, 2013 6:35:14 PM UTC-8, Mxims wrote:
> 
> > Radhu & Sujoy,
> > 
> > Thank you so much for your help on this. I will checkout these options  
> > and will let you know how it goes.
> > 
> > Thanks again.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mxims\_2](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mxims\_2](https://discuss.elastic.co/u/Mxims_2)\
**Post date:** [March 7, 2013, 5:44pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/8 "2013-03-07T17:44:43Z")

</div>

Sujoy,

We have been running the service for more than a week now. So far it has  
been very stable. However I see one issue with the service, the Windows  
Service doesn't start automatically when the system reboots. If I start it  
manually after the system rebbot, it does start without any issues. I have  
configured the service's 'Startup Type' to be 'Automatic', and 'Log On As'  
to be 'Local System". Did you guys have any similar issues? Any pointeres??

Thanks

On Tuesday, February 26, 2013 10:31:27 AM UTC-8, Mxims wrote:

> Sujoy,
> 
> Thanks a lot for the pointer.. I just installed a new service using the  
> process you suggested - [YAJSW - Yet Another Java Service Wrapper - Introduction](http://yajsw.sourceforge.net/#mozTocId444599)
> 
> I will see how it goes... in terms of stability.
> 
> Thanks
> 
> On Tuesday, February 26, 2013 9:43:04 AM UTC-8, Mxims wrote:
> 
> > I tried installing the service using the procedure on -  
> > [Running ElasticSearch as a Service on Windows 2008 x64 | Captain Codeman](http://captaincodeman.com/2011/05/20/elasticsearch-windows-service-2008-x64/)
> > 
> > I was able to install the service successfully. However, I see some  
> > stability issues with the service. The service stops abruptly with Java  
> > fatal error.. Any of you guys experienced this issue?
> > 
> > I am looking for alternative solution now.. @Sujoy, Do you have more info  
> > on the service you created? Do you mind sharing, the config file, other  
> > settings you had used for your service, please.
> > 
> > On Monday, February 11, 2013 6:35:14 PM UTC-8, Mxims wrote:
> > 
> > > Radhu & Sujoy,
> > > 
> > > Thank you so much for your help on this. I will checkout these options  
> > > and will let you know how it goes.
> > > 
> > > Thanks again.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![sujoysett](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sujoysett](https://discuss.elastic.co/u/sujoysett)\
**Post date:** [March 7, 2013, 5:53pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/9 "2013-03-07T17:53:54Z")

</div>

Hi,

Is it somehow related to windows credentials?  
Can u make the service run under any user account upon restart by providing  
the log on credentials in the service?

-- Sujoy.

On Thursday, March 7, 2013 11:14:43 PM UTC+5:30, Mxims wrote:

> Sujoy,
> 
> We have been running the service for more than a week now. So far it has  
> been very stable. However I see one issue with the service, the Windows  
> Service doesn't start automatically when the system reboots. If I start it  
> manually after the system rebbot, it does start without any issues. I have  
> configured the service's 'Startup Type' to be 'Automatic', and 'Log On As'  
> to be 'Local System". Did you guys have any similar issues? Any pointeres??
> 
> Thanks
> 
> On Tuesday, February 26, 2013 10:31:27 AM UTC-8, Mxims wrote:
> 
> > Sujoy,
> > 
> > Thanks a lot for the pointer.. I just installed a new service using the  
> > process you suggested - [YAJSW - Yet Another Java Service Wrapper - Introduction](http://yajsw.sourceforge.net/#mozTocId444599)
> > 
> > I will see how it goes... in terms of stability.
> > 
> > Thanks
> > 
> > On Tuesday, February 26, 2013 9:43:04 AM UTC-8, Mxims wrote:
> > 
> > > I tried installing the service using the procedure on -  
> > > [Running ElasticSearch as a Service on Windows 2008 x64 | Captain Codeman](http://captaincodeman.com/2011/05/20/elasticsearch-windows-service-2008-x64/)
> > > 
> > > I was able to install the service successfully. However, I see some  
> > > stability issues with the service. The service stops abruptly with Java  
> > > fatal error.. Any of you guys experienced this issue?
> > > 
> > > I am looking for alternative solution now.. @Sujoy, Do you have more  
> > > info on the service you created? Do you mind sharing, the config file,  
> > > other settings you had used for your service, please.
> > > 
> > > On Monday, February 11, 2013 6:35:14 PM UTC-8, Mxims wrote:
> > > 
> > > > Radhu & Sujoy,
> > > > 
> > > > Thank you so much for your help on this. I will checkout these options  
> > > > and will let you know how it goes.
> > > > 
> > > > Thanks again.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mxims\_2](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mxims\_2](https://discuss.elastic.co/u/Mxims_2)\
**Post date:** [March 7, 2013, 6:47pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/10 "2013-03-07T18:47:53Z")

</div>

Good guess! Could be related to that.. Let me try giving the server  
credentials... and maybe I will try configuring the service with Logon type  
'network service' instead of 'local system'. Will keep you posted..

Renjith

On Thursday, March 7, 2013 9:53:54 AM UTC-8, Sujoy Sett wrote:

> Hi,
> 
> Is it somehow related to windows credentials?  
> Can u make the service run under any user account upon restart by  
> providing the log on credentials in the service?
> 
> -- Sujoy.
> 
> On Thursday, March 7, 2013 11:14:43 PM UTC+5:30, Mxims wrote:
> 
> > Sujoy,
> > 
> > We have been running the service for more than a week now. So far it has  
> > been very stable. However I see one issue with the service, the Windows  
> > Service doesn't start automatically when the system reboots. If I start it  
> > manually after the system rebbot, it does start without any issues. I have  
> > configured the service's 'Startup Type' to be 'Automatic', and 'Log On As'  
> > to be 'Local System". Did you guys have any similar issues? Any pointeres??
> > 
> > Thanks
> > 
> > On Tuesday, February 26, 2013 10:31:27 AM UTC-8, Mxims wrote:
> > 
> > > Sujoy,
> > > 
> > > Thanks a lot for the pointer.. I just installed a new service using the  
> > > process you suggested - [YAJSW - Yet Another Java Service Wrapper - Introduction](http://yajsw.sourceforge.net/#mozTocId444599)
> > > 
> > > I will see how it goes... in terms of stability.
> > > 
> > > Thanks
> > > 
> > > On Tuesday, February 26, 2013 9:43:04 AM UTC-8, Mxims wrote:
> > > 
> > > > I tried installing the service using the procedure on -  
> > > > [Running ElasticSearch as a Service on Windows 2008 x64 | Captain Codeman](http://captaincodeman.com/2011/05/20/elasticsearch-windows-service-2008-x64/)
> > > > 
> > > > I was able to install the service successfully. However, I see some  
> > > > stability issues with the service. The service stops abruptly with Java  
> > > > fatal error.. Any of you guys experienced this issue?
> > > > 
> > > > I am looking for alternative solution now.. @Sujoy, Do you have more  
> > > > info on the service you created? Do you mind sharing, the config file,  
> > > > other settings you had used for your service, please.
> > > > 
> > > > On Monday, February 11, 2013 6:35:14 PM UTC-8, Mxims wrote:
> > > > 
> > > > > Radhu & Sujoy,
> > > > > 
> > > > > Thank you so much for your help on this. I will checkout these options  
> > > > > and will let you know how it goes.
> > > > > 
> > > > > Thanks again.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Hendrik](https://avatars.discourse-cdn.com/v4/letter/h/839c29/32.png) [@Hendrik](https://discuss.elastic.co/u/Hendrik)\
**Post date:** [October 30, 2013, 3:58pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/11 "2013-10-30T15:58:10Z")

</div>

> **[Release v0.90.5.1 (EA 0.90.5, Java 7u45) · salyh/elasticsearch-msi-installer](https://github.com/salyh/elasticsearch-msi-installer/releases/tag/v0.90.5.1)**
>
> Create your own Elasticsearch msi installer with a customized ES config that fit your needs.
> Or simply download the standard preconfigured installer (see below) that comes configured with:
> 
> 2G Heap...

Am Donnerstag, 7. Februar 2013 20:37:38 UTC+1 schrieb Mxims:

> Hi guys,
> 
> Is there a way I can run Elasticsearch nodes as Windows Service  
> on Windows 2008 R2 Servers?
> 
> Has anyone tried it? Is there any related documentation?
> 
> Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Mxims\_2](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@Mxims\_2](https://discuss.elastic.co/u/Mxims_2)\
**Post date:** [October 30, 2013, 7:02pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/12 "2013-10-30T19:02:36Z")

</div>

Thank you Hendrik. I had to go for a work around when we installed this in production back in Apr. I am happy to see that elasticsearh team made it available for windows.

Sent from my iPhone

> On Oct 30, 2013, at 8:58 AM, Hendrik [h.j.saly@googlemail.com](mailto:h.j.saly@googlemail.com) wrote:
> 
> [Release v0.90.5.1 (EA 0.90.5, Java 7u45) · salyh/elasticsearch-msi-installer · GitHub](https://github.com/salyh/elasticsearch-msi-installer/releases/tag/v0.90.5.1)
> 
> Am Donnerstag, 7. Februar 2013 20:37:38 UTC+1 schrieb Mxims:
> 
> > Hi guys,
> > 
> > Is there a way I can run Elasticsearch nodes as Windows Service on Windows 2008 R2 Servers?
> > 
> > Has anyone tried it? Is there any related documentation?
> > 
> > Thanks
> 
> --  
> You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit [https://groups.google.com/d/topic/elasticsearch/zZwuxm2AZP4/unsubscribe](https://groups.google.com/d/topic/elasticsearch/zZwuxm2AZP4/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![costin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/costin/32/44950_2.png) [@costin](https://discuss.elastic.co/u/costin)\
**Post date:** [October 30, 2013, 7:49pm UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/13 "2013-10-30T19:49:23Z")

</div>

Just to clarify:

Since 0.90.5, Elasticsearch provides support for installing Elasticsearch as a service out of the box through  
service.bat [1]. The installer mentioned in this thread is outside Elasticsearch and Hendrik takes all the credit for it.

Cheers,

P.S. 0.90.6 will have some nice fixes, especially when dealing with custom memory settings.

[1] [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-service-win.html)

On 30/10/2013 9:02 PM, Renjith wrote:

> Thank you Hendrik. I had to go for a work around when we installed this in production back in Apr. I am happy to see  
> that elasticsearh team made it available for windows.
> 
> Sent from my iPhone
> 
> On Oct 30, 2013, at 8:58 AM, Hendrik \<[h.j.saly@googlemail.com](mailto:h.j.saly@googlemail.com) [mailto:h.j.saly@googlemail.com](mailto:h.j.saly@googlemail.com)\> wrote:
> 
> > [Release v0.90.5.1 (EA 0.90.5, Java 7u45) · salyh/elasticsearch-msi-installer · GitHub](https://github.com/salyh/elasticsearch-msi-installer/releases/tag/v0.90.5.1)
> > 
> > Am Donnerstag, 7. Februar 2013 20:37:38 UTC+1 schrieb Mxims:
> > 
> > ```
> > Hi guys,
> > 
> > Is there a way I can run ElasticSearch nodes as Windows Service on Windows 2008 R2 Servers?
> > 
> > Has anyone tried it? Is there any related documentation?
> > 
> > Thanks
> > 
> > ```
> > 
> > --  
> > You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit [https://groups.google.com/d/topic/elasticsearch/zZwuxm2AZP4/unsubscribe](https://groups.google.com/d/topic/elasticsearch/zZwuxm2AZP4/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com)  
> > [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to  
> [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Costin

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:09am UTC](https://discuss.elastic.co/t/running-elasticsearch-as-a-windows-service-on-windows-2008-r2-server/10653/14 "2017-07-06T02:09:43Z")

</div>


