# Winlogbeat起動時にエラー

**URL:** <https://discuss.elastic.co/t/winlogbeat/221349>\
**Category:** 日本語による質問・議論はこちら\
**Created:** [February 28, 2020, 2:05am UTC](https://discuss.elastic.co/t/winlogbeat/221349 "2020-02-28T02:05:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![knm](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@knm](https://discuss.elastic.co/u/knm)\
**Post date:** [February 28, 2020, 2:05am UTC](https://discuss.elastic.co/t/winlogbeat/221349/1 "2020-02-28T02:05:36Z")

</div>

winlogbeatをwindows10で起動しようとするとエラーになります。  
解消方法などございましたらご教授いただけると嬉しいです。

powershellでStart-Serviceコマンド実行時に、

> Start-Service : 次のエラーのため、サービス 'winlogbeat (winlogbeat)' を開始できません: '.' コンピューター  
> で winlogbeat サービスを開けません。  
> 発生場所 行:1 文字:1  
> + Start-Service winlogbeat  
> + ~~~~~~~~~~~~~~~~~~~~~~~~  
> + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [St  
> art-Service], ServiceCommandException  
> + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

というエラーになります。

 ![エラー](https://us1.discourse-cdn.com/elastic/original/3X/8/7/877f66dff8e1ebbe9a0dd04e7ce94f2560ab5fc0.png)

---

<div class="post-metadata">

**Author:** ![tsgkdt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsgkdt/32/39151_2.png) [@tsgkdt](https://discuss.elastic.co/u/tsgkdt)\
**Post date:** [February 28, 2020, 1:04pm UTC](https://discuss.elastic.co/t/winlogbeat/221349/2 "2020-02-28T13:04:57Z")

</div>

こんにちわ。

Windows10 Proで同じようにやってみましたが、通常のPowerShellの実行では同じエラーになりましたが、  
PowerShellを「管理者として実行」で開いて、コマンドを実行するとエラーになりませんでした。

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/2/b2dce76cef6e4fd850cb9c092d27bb6116252982.png)

お試しください。

---

<div class="post-metadata">

**Author:** ![knm](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@knm](https://discuss.elastic.co/u/knm)\
**Post date:** [March 2, 2020, 7:54am UTC](https://discuss.elastic.co/t/winlogbeat/221349/3 "2020-03-02T07:54:40Z")

</div>

ご記入ありがとうございました。

原因は不明なのですが、  
C:\Program Files\Elastic\Beats\7.6.0\winlogbeat\logs  
内のログファイルのアクセス権限と、  
C:\Program Files\Elastic\Beats\7.6.0\winlogbeat\data\winlogbeat.lock  
のアクセス権限をeveryone フルアクセスを与えると、とりあえず起動しました。

ありがとうございました。

---

<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:** [March 30, 2020, 7:54am UTC](https://discuss.elastic.co/t/winlogbeat/221349/4 "2020-03-30T07:54:42Z")

</div>

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