If the code appears after entering your Microsoft account password, turn off two-step verification for a personal account or set up a Windows Hello PIN if the prompt is on the Windows 10 lock screen.
If this is the Windows 10 sign-in screen
Set up a PIN so Windows uses that device-specific credential instead of repeatedly signing in with your email address, password, and verification code:
- Complete the code request once and reach the Windows desktop.
- Select Start → Settings → Accounts → Sign-in options.
- Select Windows Hello PIN → Add.
- Verify your identity and create a PIN.
- At the next Windows sign-in, select Sign-in options if necessary, choose the PIN icon, and enter the PIN.
Windows 10 supports a PIN, password, fingerprint, or facial recognition for signing in.^1^
If the prompt appears on a Microsoft website or in an app
For a personal Microsoft account such as Outlook.com, Hotmail, or Live:
- Enter
https://account.microsoft.com/securitydirectly in your browser. - Sign in and select Manage how I sign in.
- Under Additional security → Two-step verification, select Turn off.
- Follow the confirmation prompts.^2^
Turning it off reduces account protection and does not guarantee that codes will never be requested. Microsoft can still require identity verification periodically or when it considers a sign-in unusual, such as from a new device or location.^2^
If it is a work or school account
The code requirement may be enforced by the organization’s multifactor authentication policy. In that case, it cannot normally be removed from Windows account settings; contact the organization’s IT administrator. Organizational policies can require additional authentication based on factors including device, location, role, and task.^3^
Do not disable or remove verification methods merely to suppress the prompt unless another recovery method is already configured. A personal Microsoft account must retain at least one verification method.^4^
References