# Access is denied

**URL:** <https://discuss.elastic.co/t/access-is-denied/338304>\
**Category:** Kibana\
**Created:** [July 13, 2023, 9:30am UTC](https://discuss.elastic.co/t/access-is-denied/338304 "2023-07-13T09:30:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Step-Creeper](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/step-creeper/32/123406_2.png) [@Step-Creeper](https://discuss.elastic.co/u/Step-Creeper)\
**Post date:** [July 13, 2023, 9:30am UTC](https://discuss.elastic.co/t/access-is-denied/338304/1 "2023-07-13T09:30:04Z")

</div>

I have my Elasticsearch running on the default port and am able to login, so that is running fine.  
I downloaded the kibana.zip from official elasticsearch site, extracted it to desktop, and tried running kibana.bat

This is what outputs to console...

\<\>C:\Users#######\Desktop\kibana-8.8.2\bin\>kibana-setup.bat  
Access is denied.\</\>

I have checked the user permissions under properties, and I have all admin permissions. I tried "Run as Administrator.", and that did nothing. The forums and guides etc. that I find on google have no solutions.

My first post btw, sorry if I used the \</\> wrong

---

<div class="post-metadata">

**Author:** ![eMitch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emitch/32/93607_2.png) [@eMitch](https://discuss.elastic.co/u/eMitch)\
**Post date:** [July 13, 2023, 2:57pm UTC](https://discuss.elastic.co/t/access-is-denied/338304/2 "2023-07-13T14:57:56Z")

</div>

Depending on your machine, sometimes running an exe from your desktop can be prohibited.

Can you rename the `kibana-8.8.2` folder to `kibana` and move it to `C:\Users\\%USERNAME%\Kibana` ?

Then try the batch file again.

You can also try and move the Kibana folder to the root of C:\ if you have permission.

Is this the docs that you checked?

> **[Install Kibana on Windows | Kibana Guide \[8.8\] | Elastic](https://www.elastic.co/guide/en/kibana/current/windows.html)**

---

<div class="post-metadata">

**Author:** ![Step-Creeper](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/step-creeper/32/123406_2.png) [@Step-Creeper](https://discuss.elastic.co/u/Step-Creeper)\
**Post date:** [July 14, 2023, 7:38am UTC](https://discuss.elastic.co/t/access-is-denied/338304/3 "2023-07-14T07:38:24Z")

</div>

Moving it to those locations takes away all my permissions, I can't ls to list the items in the folder. I moved it back to Desktop, and now I can do ls again. Is it possible that third party software causes this? Like application monitoring/anti-virus etc.

---

<div class="post-metadata">

**Author:** ![eMitch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emitch/32/93607_2.png) [@eMitch](https://discuss.elastic.co/u/eMitch)\
**Post date:** [July 18, 2023, 2:36pm UTC](https://discuss.elastic.co/t/access-is-denied/338304/4 "2023-07-18T14:36:10Z")

</div>

Its always possible that AV gets in the way 😅

If you have an AV - you may want to add your kibana folder to an exclusion list and give it a try.

It's surprising that you lose access when the folder is located in your \Users%USERNAME% folder since that is your user directory.

---

<div class="post-metadata">

**Author:** ![Step-Creeper](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/step-creeper/32/123406_2.png) [@Step-Creeper](https://discuss.elastic.co/u/Step-Creeper)\
**Post date:** [July 19, 2023, 5:54am UTC](https://discuss.elastic.co/t/access-is-denied/338304/5 "2023-07-19T05:54:17Z")

</div>

I ended talking to our Internal IT and Architect, they sorted it out. It was one of the AV software Agents causing this, the laptop I'm on is a Windows OS, so we have a lot of agents and stuff installed on here to monitor etc.

---

<div class="post-metadata">

**Author:** ![eMitch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emitch/32/93607_2.png) [@eMitch](https://discuss.elastic.co/u/eMitch)\
**Post date:** [July 19, 2023, 2:30pm UTC](https://discuss.elastic.co/t/access-is-denied/338304/6 "2023-07-19T14:30:25Z")

</div>

Great to hear!

---

<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:** [August 16, 2023, 2:31pm UTC](https://discuss.elastic.co/t/access-is-denied/338304/7 "2023-08-16T14:31:24Z")

</div>

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