# Deploying Winlogbeat with Octopus Deploy

**URL:** <https://discuss.elastic.co/t/deploying-winlogbeat-with-octopus-deploy/322565>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [January 5, 2023, 4:08pm UTC](https://discuss.elastic.co/t/deploying-winlogbeat-with-octopus-deploy/322565 "2023-01-05T16:08:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paolovalladolid](https://avatars.discourse-cdn.com/v4/letter/p/edb3f5/32.png) [@paolovalladolid](https://discuss.elastic.co/u/paolovalladolid)\
**Post date:** [January 5, 2023, 4:08pm UTC](https://discuss.elastic.co/t/deploying-winlogbeat-with-octopus-deploy/322565/1 "2023-01-05T16:08:07Z")

</div>

Looking for some guidance on using Octopus Deploy to deploy Winlogbeat.

The approach I've been trying is to deploy a wrapper Powershell script, which would then invoke the install-service-winlogbeat.ps1 script, which I have packaged ina winlogbeat-contents folder, along with winlogbeat.yml, cert files, etc.

The problem with this approach is the Windows account used by Octopus Deploy does not have the permissions to execute the New-Service command in install-service-winglobeat.ps1.

I guess one alternative is to use the "Deploy a Windows Service" step built into Octopus Deploy and hope it magically works.

Anyone else with experience deploying Winlogbeat with Octopus Deploy instead of the manual method described in [Winlogbeat quick start: installation and configuration | Winlogbeat Reference [8.5] | Elastic](https://www.elastic.co/guide/en/beats/winlogbeat/current/winlogbeat-installation-configuration.html)? The manual method works fine in our lower environment servers, but due to our company security policies, we can't deploy Winlogbeat with the manual procedure.

---

<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:** [February 2, 2023, 6:08pm UTC](https://discuss.elastic.co/t/deploying-winlogbeat-with-octopus-deploy/322565/2 "2023-02-02T18:08:22Z")

</div>

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