# Installed Elasticsearch 7.1.1 via MSI now What?

**URL:** https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888
**Category:** Elasticsearch
**Created:** [June 9, 2019, 6:26pm UTC](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888 "2019-06-09T18:26:31Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![chobo2](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@chobo2](https://discuss.elastic.co/u/chobo2)
#### Post date: [June 9, 2019, 6:26pm UTC](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888/1 "2019-06-09T18:26:31Z")

</div>

Hi

I am new to elasticsearch, I sort of just want to get up and running asap and see if this product will be right for me.

I installed the msi and then tried to run : [http://localhost:9200/](http://localhost:9200/) but I get "The site cannot be reached".

I am on my personal windows 10 computer with just a basic firewall and such.

I can't even tell if elasticserach is runing.

---

<div class="post-metadata">

### Author: ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)
#### Post date: [June 10, 2019, 12:15am UTC](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888/2 "2019-06-10T00:15:41Z")

</div>

When installing using the MSI,

1. did you choose to install Elasticsearch as a service, and to start as part of installation
2. did the installation end successfully?

---

<div class="post-metadata">

### Author: ![chobo2](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@chobo2](https://discuss.elastic.co/u/chobo2)
#### Post date: [June 10, 2019, 3:29am UTC](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888/3 "2019-06-10T03:29:07Z")

</div>

@forloop

I uninstalled then retried following [this tutorial](https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-install.html)

now I get

```
PS C:\Program Files\Elastic\Elasticsearch\7.1.1\bin> .\elasticsearch
An exception occurred while trying to start elasticsearch.: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Elastic\Elasticsearch\7.1.1\logs' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
   at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
   at System.IO.Abstractions.DirectoryWrapper.CreateDirectory(String path)
   at Elastic.ProcessHosts.Elasticsearch.Process.ElasticsearchProcess.Start()
   at Elastic.ProcessHosts.Service.Service.Run()
   at Elastic.ProcessHosts.Elasticsearch.Program.Main(String[] args)
Elasticsearch.exe does not have permission to write exception to event log
```

---

<div class="post-metadata">

### Author: ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)
#### Post date: [June 10, 2019, 3:45am UTC](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888/4 "2019-06-10T03:45:26Z")

</div>

You need to have admin permissions to start elasticsearch, or the user with which you're starting elasticsearch must have access to `C:\Program Files\Elastic\Elasticsearch\7.1.1\logs`.

What parameters did you use to install Elasticsearch? Specifically, did you choose to install Elasticsearch as a service and if so, what credentials did you choose to run the service?

---

<div class="post-metadata">

### Author: ![chobo2](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@chobo2](https://discuss.elastic.co/u/chobo2)
#### Post date: [June 10, 2019, 4:59am UTC](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888/5 "2019-06-10T04:59:11Z")

</div>

@forloop

I followed this tutorial : [https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-install.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-install.html)

I did not set any credentials up but as per the tutorial I choose "do not install as service"

---

<div class="post-metadata">

### Author: ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)
#### Post date: [June 10, 2019, 5:11am UTC](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888/6 "2019-06-10T05:11:25Z")

</div>

Can you try running Elasticsearch.exe as an administrator?

---

<div class="post-metadata">

### Author: ![chobo2](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@chobo2](https://discuss.elastic.co/u/chobo2)
#### Post date: [June 10, 2019, 3:02pm UTC](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888/7 "2019-06-10T15:02:31Z")

</div>

Ok I think that worked

```
{
  "name" : "DESKTOP-R4NR03R",
  "cluster_name" : "elasticsearch",
  "cluster_uuid" : "xYu5AJX-RgGq0tB9dF-HDA",
  "version" : {
    "number" : "7.1.1",
    "build_flavor" : "unknown",
    "build_type" : "unknown",
    "build_hash" : "7a013de",
    "build_date" : "2019-05-23T14:04:00.380842Z",
    "build_snapshot" : false,
    "lucene_version" : "8.0.0",
    "minimum_wire_compatibility_version" : "6.8.0",
    "minimum_index_compatibility_version" : "6.0.0-beta1"
  },
  "tagline" : "You Know, for Search"
}

```

So everytime I want to use elastic serach I have to run that .exe as admin as I did not install it as a service correct?

---

<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: [July 8, 2019, 3:06pm UTC](https://discuss.elastic.co/t/installed-elasticsearch-7-1-1-via-msi-now-what/184888/8 "2019-07-08T15:06:15Z")

</div>

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