How to connect to one's laptop by using only the password, and no code?

SyG 20 Reputation points
2026-11-18T09:46:15.0833333+00:00

For a couple of weeks, every time I power on my laptop for use, microsoft keeps asking me to verify my identity with a code sent to me by e-mail, that I have to check with my phone. Previoulsy I just had to enter my password, but now I have to reach for my phone every time I use my laptop.

This is not only very annoying, but also very dangerous in terms of personal security and redundancy... For instance, if I lose my phone, that means I also lose instantaneously my ability to use my laptop... That means I become completely disconnected from the Internet, and I have no way to contact, say, my phone provider or even Microsoft... And a few days ago there was the giant bug with Microsoft Outlook, and I did not receive the code emails from Microsoft anymore, which means I could not connect to my laptop anymore during nearly 24 hours...

I have read on the internet that it is maybe a "periodic security test". But this has been going on for a couple of weeks now, and it does not stop... I tried to remove the option "Send a code through email" in the Security Options of my Microsoft account, but it looks to be impossible, saying to me "You must add a new email before you remove this one".

So my question: what shall I do so that I can connect to my laptop by using just my password, and nothing else?

Windows for home | Windows 11 | Accounts, profiles, and login

Answer accepted by question author
Lychee-Ng 31,245 Reputation points Microsoft External Staff Moderator
2026-11-18T14:16:22.79+00:00

I understand how frustrating this is, SyG,

Having to reach for your phone every time you open your laptop is annoying, and you're right to worry about what happens if your phone or email isn't available. Signing in to Windows shouldn't need to depend on a code if you don't want to. Let's check the following options:

1 - Turn off two-step verification

User's image

Note: Two-step verification is designed to protect your account. If you turn it off, your account is more exposed to compromission.

2 - Set up a Windows Hello PIN

  • Go to Settings > Accounts > Sign-in options > PIN (Windows Hello)
  • Select Set up > from now on, you can choose the PIN on the sign-in screen.
  • You may also have other biometric options such as Fingerprint / Facial recognition.
  • These are more convenient than passwords, and you can sign in without extra verification.

3 - If you really want password only: switch to a local account

  • Go to Settings > Accounts > Your info > select Sign in with a local account instead
  • You can still sign in to Outlook, OneDrive and Microsoft Store separately inside each app.
  • Before you switch, make sure to save your BitLocker/device encryption recovery key (if used).

The message "You must add a new email before you remove this one" appears likely because you have security verification turned on, so it needs at least one way to verify that it's you. You cannot remove all methods when your account is set to require verification before sign-in.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most 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.