# Installing Filebeat on Windows

**URL:** <https://discuss.elastic.co/t/installing-filebeat-on-windows/102992>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 6, 2017, 10:33am UTC](https://discuss.elastic.co/t/installing-filebeat-on-windows/102992 "2017-10-06T10:33:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![prachi1](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@prachi1](https://discuss.elastic.co/u/prachi1)\
**Post date:** [October 6, 2017, 10:33am UTC](https://discuss.elastic.co/t/installing-filebeat-on-windows/102992/1 "2017-10-06T10:33:27Z")

</div>

I am trying to install Filebeat on windows7 64 bit. I entered the following commands while running cmd with elevated rights.

cd C:\elastic\filebeat-5.2.1-windows-x86\_64

filebeat-5.2.1-windows-x86\_64\>filebeat.exe -e -c filebeat.yml -d "publish"

The error I got is filebeat.exe is not a valid wind32 application  
filebeat.exe is not recognized as an internal or external command or operation batch file.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [October 6, 2017, 9:53pm UTC](https://discuss.elastic.co/t/installing-filebeat-on-windows/102992/2 "2017-10-06T21:53:20Z")

</div>

Try adding a `.\` in front so that it doesn't search along the `%PATH%` for filebeat.exe.

`> .\filebeat.exe -e -c filebeat.yml -d "publish"`

---

<div class="post-metadata">

**Author:** ![prachi1](https://avatars.discourse-cdn.com/v4/letter/p/a183cd/32.png) [@prachi1](https://discuss.elastic.co/u/prachi1)\
**Post date:** [October 10, 2017, 8:50am UTC](https://discuss.elastic.co/t/installing-filebeat-on-windows/102992/3 "2017-10-10T08:50:36Z")

</div>

I tried this but it's not working.  
Still showing the error filebeat.exe is not a valid Win2 application

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [October 10, 2017, 1:22pm UTC](https://discuss.elastic.co/t/installing-filebeat-on-windows/102992/4 "2017-10-10T13:22:11Z")

</div>

Maybe you have a corrupted binary. Can you try to download the file again and verify the integrity of the zip against the published sha1 value from the download site.

---

<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 7, 2017, 1:22pm UTC](https://discuss.elastic.co/t/installing-filebeat-on-windows/102992/5 "2017-11-07T13:22:24Z")

</div>

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