# Install Winlogbeat with user account

**URL:** <https://discuss.elastic.co/t/install-winlogbeat-with-user-account/342642>\
**Category:** Beats\
**Tags:** beats-module\
**Created:** [September 8, 2023, 8:29pm UTC](https://discuss.elastic.co/t/install-winlogbeat-with-user-account/342642 "2023-09-08T20:29:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JJ007](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jj007/32/124111_2.png) [@JJ007](https://discuss.elastic.co/u/JJ007)\
**Post date:** [September 8, 2023, 8:29pm UTC](https://discuss.elastic.co/t/install-winlogbeat-with-user-account/342642/1 "2023-09-08T20:29:22Z")

</div>

Hi,

I am trying to install winlogbeat and run as user who is not an Adminsitrator  
Saw a link - request for enhancement ([[Winlogbeat] Document minimum permissions for Windows service user · Issue #15773 · elastic/beats · GitHub](https://github.com/elastic/beats/issues/15773#issuecomment-1361227846))

I have

1. provided full access to folder structure for the user
2. add user to “Manage auditing and security log”
3. add user to “Logon as a service” permissions for the service to start correctly
4. add user to BUILTIN\Event Log Readers

Still not able to start the service and see this error in the log.  
{"log.level":"info","@timestamp":"2023-09-08T16:04:35.070-0400","log.origin":{"file.name":"instance/beat.go","file.line":426},"message":"winlogbeat stopped.","service.name":"winlogbeat","ecs.version":"1.6.0"}  
{"log.level":"error","@timestamp":"2023-09-08T16:04:35.078-0400","log.origin":{"file.name":"instance/beat.go","file.line":1274},"message":"Exiting: unable to try a lock of the data path: open C:\ProgramData\winlogbeat\winlogbeat.lock: Access is denied.","service.name":"winlogbeat","ecs.version":"1.6.0"}

Dont see any winlogbbeat.lock file. It says it doesn't have access, but the user has full access on the folder structure

---

<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:** [October 6, 2023, 10:30pm UTC](https://discuss.elastic.co/t/install-winlogbeat-with-user-account/342642/2 "2023-10-06T22:30:23Z")

</div>

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