how to login without a code being required

Sandy Marble 0 Reputation points
2026-11-12T19:21:26.7733333+00:00

When I login first thing in the morning, I enter my email and password but then it wants a code.

How do I remove the request for a code?

Windows for home | Windows 10 | Security and privacy
0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-11-12T19:25:27.56+00:00

    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:

    1. Complete the code request once and reach the Windows desktop.
    2. Select Start → Settings → Accounts → Sign-in options.
    3. Select Windows Hello PIN → Add.
    4. Verify your identity and create a PIN.
    5. 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:

    1. Enter https://account.microsoft.com/security directly in your browser.
    2. Sign in and select Manage how I sign in.
    3. Under Additional security → Two-step verification, select Turn off.
    4. 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

    1. [Windows 10](https://support.microsoft.com/accounts-billing/security/user-account-access-in-windows#sign-in)
    2. How to use two-step verification with your Microsoft account
    3. Security defaults in Microsoft Entra ID
    4. Removing a sign-in verification method
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.