# 【Windows】pipe\\\\elastic-agent-system: Access is denied

**URL:** <https://discuss.elastic.co/t/windows-pipe-elastic-agent-system-access-is-denied/316344>\
**Category:** Elastic Security\
**Created:** [October 11, 2022, 2:46pm UTC](https://discuss.elastic.co/t/windows-pipe-elastic-agent-system-access-is-denied/316344 "2022-10-11T14:46:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![xqaiviwjxzw](https://avatars.discourse-cdn.com/v4/letter/x/bbce88/32.png) [@xqaiviwjxzw](https://discuss.elastic.co/u/xqaiviwjxzw)\
**Post date:** [October 11, 2022, 2:46pm UTC](https://discuss.elastic.co/t/windows-pipe-elastic-agent-system-access-is-denied/316344/1 "2022-10-11T14:46:17Z")

</div>

I am installing Elastic Agent 8.4.1 on a Win10 system using the command line and I get the following error and the server fleet keeps showing updates, how do I fix it?  
The error is displayed：  
Error: failed to communicate with Elastic Agent daemon: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing open \\.\pipe\elastic-agent-system: Access is denied."

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/5/8530665096197d20ef137a25734df36d6fce1062.png)

---

<div class="post-metadata">

**Author:** ![Lee\_Hinman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lee_hinman/32/74973_2.png) [@Lee\_Hinman](https://discuss.elastic.co/u/Lee_Hinman)\
**Post date:** [October 18, 2022, 5:42pm UTC](https://discuss.elastic.co/t/windows-pipe-elastic-agent-system-access-is-denied/316344/2 "2022-10-18T17:42:53Z")

</div>

Any chance your version of Windows is localized (not English)? If so we had a bug with the permissions check ([Fix admin permission check on localized windows by michalpristas · Pull Request #1552 · elastic/elastic-agent · GitHub](https://github.com/elastic/elastic-agent/pull/1552))

---

<div class="post-metadata">

**Author:** ![xqaiviwjxzw](https://avatars.discourse-cdn.com/v4/letter/x/bbce88/32.png) [@xqaiviwjxzw](https://discuss.elastic.co/u/xqaiviwjxzw)\
**Post date:** [October 26, 2022, 8:51am UTC](https://discuss.elastic.co/t/windows-pipe-elastic-agent-system-access-is-denied/316344/3 "2022-10-26T08:51:08Z")

</div>

Yes, the Windows versions are Korean version and Russian version, is there any temporary solution? Or do I need to wait to upgrade to version 8.5 and when will version 8.5 be available?

---

<div class="post-metadata">

**Author:** ![wsouza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wsouza/32/92547_2.png) [@wsouza](https://discuss.elastic.co/u/wsouza)\
**Post date:** [November 12, 2022, 10:56pm UTC](https://discuss.elastic.co/t/windows-pipe-elastic-agent-system-access-is-denied/316344/4 "2022-11-12T22:56:53Z")

</div>

Consider the following:

1. Disable windows defender
2. Create an output rule in the windows firewall, releasing the Elastic agent
3. Some rule in your edge firewall blocking communication

During installation, did you open the powershell terminal, with admin privilege, and enable running powershell scripts? `powershell.exe -ep bypass`

I also suggest taking a look at the link [Endpoint management | Elastic Security Solution [8.5] | Elastic](https://www.elastic.co/guide/en/security/current/ts-management.html)

---

<div class="post-metadata">

**Author:** ![xqaiviwjxzw](https://avatars.discourse-cdn.com/v4/letter/x/bbce88/32.png) [@xqaiviwjxzw](https://discuss.elastic.co/u/xqaiviwjxzw)\
**Post date:** [November 18, 2022, 8:09am UTC](https://discuss.elastic.co/t/windows-pipe-elastic-agent-system-access-is-denied/316344/5 "2022-11-18T08:09:59Z")

</div>

Thank you for your reply, the upgrade to version 8.5.0 seems to have solved the problem, still need to keep watching the issue

---

<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:** [December 16, 2022, 8:10am UTC](https://discuss.elastic.co/t/windows-pipe-elastic-agent-system-access-is-denied/316344/6 "2022-12-16T08:10:34Z")

</div>

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