# How do I delete the registry on a Windows Service?

**URL:** <https://discuss.elastic.co/t/how-do-i-delete-the-registry-on-a-windows-service/205120>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 24, 2019, 4:54pm UTC](https://discuss.elastic.co/t/how-do-i-delete-the-registry-on-a-windows-service/205120 "2019-10-24T16:54:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhare](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mhare/32/52213_2.png) [@mhare](https://discuss.elastic.co/u/mhare)\
**Post date:** [October 24, 2019, 4:54pm UTC](https://discuss.elastic.co/t/how-do-i-delete-the-registry-on-a-windows-service/205120/1 "2019-10-24T16:54:20Z")

</div>

While developing my Filebeat fed pipelines, I find a need to delete the Filebeat registry from time to time to force a re-read of all the data.  
When I was running Filebeat from the command line it was easy, there is a 'data' directory that contains the registry and I can just remove that, forcing a re-read by Filebeat

I do not see a 'data' directory in my install that runs as a Windows service. Where is the registry when running as a Windows service?

Thanks

- mike

---

<div class="post-metadata">

**Author:** ![mhare](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mhare/32/52213_2.png) [@mhare](https://discuss.elastic.co/u/mhare)\
**Post date:** [October 24, 2019, 5:09pm UTC](https://discuss.elastic.co/t/how-do-i-delete-the-registry-on-a-windows-service/205120/2 "2019-10-24T17:09:37Z")

</div>

Never mind, found it.  
C:\ProgramData\filebeat\registry

---

<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:** [November 21, 2019, 5:09pm UTC](https://discuss.elastic.co/t/how-do-i-delete-the-registry-on-a-windows-service/205120/3 "2019-11-21T17:09:40Z")

</div>

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