Skip to main content

First login

mii creates one administrator, admin, with a random password. Nobody chose it, so change it after you sign in.

Console sign-in page
Console sign-in page

Find the password​

Get-Content C:\ProgramData\MakeIntelligent\FIRST-LOGIN.txt

Only Administrators and SYSTEM can read the file.

In Lite the file looks like this:

mii Lite first login
URL: http://localhost:8080
username: admin
password: <generated>
Change this password after signing in, then delete this file.

The password is 43 characters (32 random bytes, base64url). It is created once at the first start and also stored in secrets/admin.password. Changing the password later does not rewrite the file.

Sign in and change the password​

  1. Open http://<server>:8080.
  2. Enter Username admin and the password. You can set another first-administrator name with MI_ADMIN_USERNAME in mii.env before the first start.
  3. Open Settings → Profile.
  4. Click Change password. Enter Current password, New password and Confirm new password, then click Update password.
  5. Delete FIRST-LOGIN.txt.
No forced change

mii does not force a password change at the first login. Do it yourself.

Password policy​

Local accounts follow these rules:

RuleValue
Length12 to 128 characters
WhitespaceNo leading or trailing whitespace
Character classesAt least 2 of lowercase, uppercase, digits, symbols
RepetitionNot a single repeated character
User nameMust not contain the user name (when it has 3 or more characters)
Common passwordsA denylist is checked (for example password, changeme, admin123, qwerty, and product words like mii, scada, plc)

Passwords are stored with argon2id.

Lockout and rate limit​

ProtectionBehaviour
Account lockout5 failed sign-ins lock the account for 15 minutes
Sign-in rate limitPer client address: a burst of 10, then one attempt every 6 seconds. Error MI-4003 with Retry-After.
SessionThe access token lasts 1 hour and renews while you work. A session ends at most 12 hours after the sign-in.

LDAP and SSO accounts change their password in the directory, not in mii. See LDAP and SSO.

Switch the language​

The Console starts in Turkish. Click the TR / EN button in the top bar, or choose the language in Settings → Profile → Language. The choice is stored in your browser.

Lost the admin password​

Another administrator can set a new one in Settings → Users (New password (optional) on the user). The generated password is also kept in the secrets (secrets/admin.password in Lite).

Troubleshooting​

SymptomCauseFix
FIRST-LOGIN.txt not foundService never started, or wrong pathCheck mii status; see the path for your platform above.
"Too many attempts" (MI-4003)Rate limitWait for the Retry-After time.
Account locked5 failed attemptsWait 15 minutes, or ask another administrator to reset the password.
New password rejectedPolicyUse 12 or more characters, mixed classes, not common.