# "You need local access to create the initial admin user. "

**URL:** <https://forum.keycloak.org/t/you-need-local-access-to-create-the-initial-admin-user/16573>\
**Category:** Configuring the server\
**Created:** [July 22, 2022, 7:25am UTC](https://forum.keycloak.org/t/you-need-local-access-to-create-the-initial-admin-user/16573 "2022-07-22T07:25:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hegdekar](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/hegdekar/32/5109_2.png) [@hegdekar](https://forum.keycloak.org/u/hegdekar)\
**Post date:** [July 22, 2022, 7:53am UTC](https://forum.keycloak.org/t/you-need-local-access-to-create-the-initial-admin-user/16573/2 "2022-07-22T07:53:36Z")

</div>

Were these variables created before starting up Keycloak?  
If yes it should have worked.

Also look into this discussion to see if this helps  
[Keycloak 17 impossible to create initial admin user - Configuring the server - Keycloak](http://forum.keycloak.org/t/keycloak-17-impossible-to-create-initial-admin-user/14474/2)

---

_[View the full topic](https://forum.keycloak.org/t/you-need-local-access-to-create-the-initial-admin-user/16573)._
