If the device uses a local Windows account, these are the supported ways to regain access:
- If already signed in to another administrator account on the same PC:
- Open Computer Management.
- Go to Local Users and Groups > Users.
- Right-click the affected user account and select Set Password....
- Enter and confirm the new password.
- If locked out at the sign-in screen and the account is a local account:
- Select the password entry button.
- Select OK and then Reset password.
- Answer the security questions that were set up when the account was created.
- If a password reset disk was created earlier, use Use a password reset disk instead.
- If signed in to the local account and the old password is known:
- Open Settings > Accounts > Sign-in options.
- Select Password > Change.
- If no administrator account is available and the local admin password is unknown:
- A reset of the Windows device is required.
- This is a destructive action and can remove apps, settings, and data depending on the reset option chosen.
For a work or school managed Microsoft 365 device, password recovery must go through the organization admin or help desk. Microsoft support cannot retrieve or circumvent a lost or forgotten password.