# INstall filebeat on windows

**URL:** <https://discuss.elastic.co/t/install-filebeat-on-windows/330343>\
**Category:** Beats\
**Tags:** windows, filebeat\
**Created:** [April 20, 2023, 3:59am UTC](https://discuss.elastic.co/t/install-filebeat-on-windows/330343 "2023-04-20T03:59:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neelam\_Zanvar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/neelam_zanvar/32/103116_2.png) [@Neelam\_Zanvar](https://discuss.elastic.co/u/Neelam_Zanvar)\
**Post date:** [April 20, 2023, 3:59am UTC](https://discuss.elastic.co/t/install-filebeat-on-windows/330343/1 "2023-04-20T03:59:06Z")

</div>

Hi, I am following the steps mentioned in the document

![](https://us1.discourse-cdn.com/elastic/original/3X/f/a/fafcd8eb1c830dfbcdee1be8ac38b7bcfdce1c45.png)[elastic.co](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation-configuration.html)

![](https://static-www.elastic.co/v3/assets/bltefdd0b53724fa2ce/blt280217a63b82a734/6202d3378b1f312528798412/elastic-logo.svg)

### [Filebeat quick start: installation and configuration | Filebeat Reference...](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-installation-configuration.html)

to install filebeat on windows.  
but when i run the following command

```auto
.\install-service-filebeat.ps1

```

or

```auto
PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1

```

i am getting the following error

```auto
PS C:\Program Files\Filebeat> PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-filebeat.ps1
The argument '.\install-service-filebeat.ps1' to the -File parameter does not exist. Provide the path to an existing '.ps1' file as an argument to the -File parameter.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

```

Same when i try it from command prompt also as admin in both cases.  
Please help me understand where i am going wrong with the installation

---

<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:** [April 20, 2023, 4:12am UTC](https://discuss.elastic.co/t/install-filebeat-on-windows/330343/2 "2023-04-20T04:12:19Z")

</div>

It's best if you don't create multiple topics on the same question, it makes it harder for people to assist you.

See [Install filebeat on windows](https://discuss.elastic.co/t/install-filebeat-on-windows/330279/1).

---

<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:** [April 20, 2023, 4:12am UTC](https://discuss.elastic.co/t/install-filebeat-on-windows/330343/3 "2023-04-20T04:12:22Z")

</div>


