# Password set up is deprecated

**URL:** <https://discuss.elastic.co/t/password-set-up-is-deprecated/141219>\
**Category:** Elasticsearch\
**Created:** [July 23, 2018, 4:28pm UTC](https://discuss.elastic.co/t/password-set-up-is-deprecated/141219 "2018-07-23T16:28:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gokul\_15](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gokul\_15](https://discuss.elastic.co/u/Gokul_15)\
**Post date:** [July 23, 2018, 4:28pm UTC](https://discuss.elastic.co/t/password-set-up-is-deprecated/141219/1 "2018-07-23T16:28:07Z")

</div>

i have subscribed to platinum trail version,,even though i am unable to access xpack pack security feature..  
error shows like this:  
\setup-passwords.bat is deprecated, use C:\elasticsearch-6.3.0\bin\elasticsearch-setup-passwords.bat  
Sets the passwords for reserved users

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [July 23, 2018, 9:52pm UTC](https://discuss.elastic.co/t/password-set-up-is-deprecated/141219/2 "2018-07-23T21:52:22Z")

</div>

Hi

As the message states, `setup-passwords.bat` has been renamed to `elasticsearch-setup-passwords.bat` so please use this instead. See [our documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-passwords.html)

> i have subscribed to platinum trail version

Also please be aware that security is [by default disabled for trial licenses](https://www.elastic.co/guide/en/elasticsearch/reference/current/configuring-security.html#configuring-security), so you will need to explicitly enable it by setting

```auto
xpack.security.enabled: true

```

in your `elasticsearch.yml`

---

<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 20, 2018, 9:52pm UTC](https://discuss.elastic.co/t/password-set-up-is-deprecated/141219/3 "2018-08-20T21:52:23Z")

</div>

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