• Unzip Wildfly distro
  • set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_91
  • set WILDFLY_HOME=C:\dev\wildfly
  • set JBOSS_HOME=C:\dev\wildfly
  • To add a new user execute the add-user.bat script within the bin folder of your WildFly installation and enter the requested information.

If you get this error:

Calling „xxx…standalone.conf.bat“

Setting Java property to „c:\Program Files\Java\JDK1.8.0_91\bin\bin\java“

and WildFly stopping Bootprocess, then check the standalone.conf.bat and set the correct Java_HOME inside that script:

set „JAVA_HOME=C:\Program Files\Java\jdk1.8.0_91“

Do the same in the add-user.bat !