On a Windows PC, an administrator account and password can be known while still allowing Windows to start without a password prompt by configuring automatic sign-in for that account.
One supported way to achieve automatic sign-in is to use a tool like Autologon, which configures Windows’ built-in autologon mechanism so that Windows logs on a specified user automatically at startup using stored credentials.
Autologon works as follows:
- Run
autologon.exeon the PC. - Enter the administrator account name, domain (or computer name), and password.
- Select Enable.
- After this, Windows will automatically log on with that administrator account at startup without requiring the password to be typed.
Important security note: Autologon stores the password encrypted in the registry as an LSA secret, but any user with administrative rights on the machine can retrieve and decrypt it. This reduces security and should only be used in trusted environments.
If the administrator account does not yet exist or is not an administrator, an existing administrator can create or change accounts and make one an administrator via Settings → Accounts, as described in the user account management guidance.
References: