Set Up a FIDO2 Security Key in Windows 11 and 10

Help Desk Geek Staff · Edited by Aseem Kishore
13 min read

Help Desk Geek is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

To set up a FIDO2 security key with Windows Hello on Windows 11 or Windows 10, open Settings > Accounts > Sign-in options > Security Key, connect the key by USB or NFC, give it its own PIN, and touch or tap it to confirm. Whether you can then use that key at the lock screen depends on your account type, so check that before you buy a key or rely on one.

Microsoft’s official documentation covers lock-screen sign-in with a security key specifically for Microsoft Entra work or school accounts on devices that are Entra-joined or hybrid-joined. If you’re on a personal Microsoft account or a local account, treat that lock-screen use as unsupported or dependent on your exact Windows build, not something to count on by default.

How a FIDO2 Security Key Works With Windows Hello

A FIDO2 security key is a small USB stick or NFC fob designed so the cryptographic credential used for sign-in stays on the hardware rather than being typed or transmitted as a password. Signing in takes the physical key, a short PIN that belongs to the key, and either a touch on the key’s sensor or a tap on an NFC reader, depending on how the key connects.

Windows lists the security key as one of the sign-in options under Settings, alongside your device PIN, fingerprint, and face sign-in (Microsoft’s Windows Hello overview). Because you don’t type a password or PIN into the sign-in page itself, a fake sign-in page has less opportunity to capture your credentials. Seeing the Security Key entry in Settings means you can manage the key’s PIN and reset it there; it doesn’t by itself mean your lock screen will accept the key on that PC.

If you’re still deciding between Windows Hello and a password, the comparison post on this site covers that question. This article starts after you’ve decided.

Here’s the short version of everything below:

ScenarioWhat to do
First-time setupSettings > Accounts > Sign-in options > Security Key > Manage
USB keyPlug it in, enter or create the key’s PIN, touch the sensor
NFC keyHold it flat on the PC’s NFC reader when prompted
Key not detectedReseat it, try another port, or hold it still on the NFC reader
PIN rejectedUse the key’s PIN, not your Windows Hello PIN
Option unavailableCheck your account type
Lost key riskRegister a backup key right away

Check Your Windows Version, Key, and Account Type

Run through these three checks first. The account check matters most, because it decides whether lock-screen sign-in will work at all.

RequirementDetails
Windows versionWindows 11 or Windows 10, fully updated. Microsoft documents Windows 10 version 1903 or later for work/school security key sign-in (Microsoft Learn); exact menus can still vary by build.
Security keyAny FIDO2-certified key, such as a YubiKey 5 NFC or YubiKey 5C NFC. Actual compatibility also depends on your Windows version, account type, and any organizational policy, not certification alone.
ConnectionUSB-A, USB-C, or NFC. NFC needs a PC with a built-in NFC reader.
AccountDocumented lock-screen support applies to Microsoft Entra work or school accounts on Entra-joined or hybrid-joined devices. Personal Microsoft accounts and local accounts fall outside that documented scenario and shouldn’t be relied on for lock-screen sign-in; see the FAQ below.

Match the connector to your ports. Many newer laptops only have USB-C, so a USB-C security key or a dual-connector key saves you from carrying a USB-A to USB-C adapter. NFC is handy for tap-and-go use. But most desktop PCs don’t have an NFC reader, so a USB connection is the safer bet for a tower.

Find your account type. Go to Settings > Accounts > Your info. An email address under your name means a Microsoft account. “Local account” means just that. Work and school accounts show up under Settings > Accounts > Access work or school.

Windows 11 Settings > Accounts > Your info page showing the account name with an email address beneath it, indicating a Microsoft account

How to Set Up a FIDO2 Security Key in Windows Settings

The Settings app handles the key itself, meaning its PIN and its reset. These steps are similar on Windows 11 and Windows 10, though menu wording and layout can vary by version and update.

  • Press Win + I to open Settings.
  • Go to Accounts > Sign-in options.
  • Under Ways to sign in, find Security Key and select it to expand the entry.
Windows 11 Settings > Accounts > Sign-in options page with the Ways to sign in list showing Facial recognition, Fingerprint recognition, PIN, Security Key, and Password, with the Security Key row highlighted
  • Click Manage. A Windows Security dialog opens and asks you to connect your key.
  • Connect the key. Use the USB steps or the NFC steps below, depending on your hardware.
  • When asked, touch the key’s metal contact or button. A blinking light on the key usually means it’s waiting for this touch.
Windows Security dialog prompting the user to touch their security key, with the key icon and a Cancel button visible
  • Once Windows reads the key, the management panel appears. It has a Security Key PIN section with Add (or Change, if the key already has a PIN) and a Reset Security Key section with Reset.
Security Key management panel showing the Security Key PIN section with the Add button and the Reset Security Key section with the Reset button, both highlighted
  • Click Add under Security Key PIN.
  • Type a new PIN, type it again to confirm, and click OK.
Windows Security dialog for creating a security key PIN, showing the New PIN and Confirm PIN fields with an OK button
  • Touch the key again if asked. Windows confirms the PIN is set, and the button now reads Change.

That PIN lives on the key itself, so it stays with the key when you use it on another PC that supports security key sign-in. It’s separate from your Windows Hello device PIN, so pick something you won’t confuse with that one.

Some keys lock themselves after too many wrong guesses, and a forgotten PIN has no recovery path. Resetting the key is the only fix, and it erases everything stored on it.

Pair a USB Security Key

  • Plug the key directly into a USB port on the PC, not into a monitor or keyboard hub.
  • Wait a second or two for Windows to see it. Windows typically recognizes FIDO2 keys without a separate driver install, though some keys include optional companion software. Many keys, including YubiKeys, don’t accept user firmware updates at all. If your key’s maker does offer a firmware or management tool, download it only from the manufacturer’s site and read its notes first, since some updates and resets erase the credentials stored on the key.
  • Touch the sensor when the dialog asks.

Expected result: the dialog moves on to the PIN prompt or the management panel. If nothing happens after 10 seconds, jump to Fix #1 below.

Pair an NFC Security Key

  • Find your PC’s NFC reader. On laptops it’s usually marked with an NFC logo near the touchpad or palm rest.
  • When the Windows Security dialog asks for the key, lay the key flat on the reader.
  • Hold it still until the dialog changes. Lifting it too early is the most common NFC failure.
  • Tap again if the dialog asks for a second confirmation.

Expected result: the same management panel as USB. NFC keys skip the “touch the sensor” step on some models, since tapping already proves the key is in your hand.

Make the Security Key Your Primary Sign-In Method

Windows doesn’t have one universal “make this the default” switch for security keys. The lock screen offers your available Windows Hello methods, and you pick the one you want.

This flow is documented for Microsoft Entra work or school accounts on Entra-joined or hybrid-joined devices. On a personal Microsoft account or local account, the security key icon may not appear at the lock screen at all, and that’s expected rather than a bug.

  • Press Win + L to lock your PC.
  • On the sign-in screen, click Sign-in options below the PIN or password box.
  • Select the security key icon (it looks like a USB stick).
  • Insert or tap your key, enter the key’s PIN, and touch the sensor or tap again if prompted.
Windows 11 lock screen with Sign-in options expanded, showing icons for PIN, password, and security key, with the security key icon highlighted

Expected result: you land on your desktop without typing your account password.

If no security key icon appears, lock-screen sign-in with a key may not be enabled for this account or device combination; the key itself may still be working fine. See Fix #4 and the FAQ.

Keep at least one other Windows Hello method turned on, such as a PIN or fingerprint. That way a key left in your bag doesn’t lock you out of your own laptop.

Use One Key on Multiple PCs and Register a Backup

The key holds its own PIN, so that PIN travels with it to every PC. On another PC, the Settings steps above only manage that PIN; actually signing in with the key still depends on that account and device supporting it, and each account may need the key registered separately (for work or school accounts, under Security info). You won’t be asked for a new PIN, because the key already has one. Just enter the existing PIN when prompted.

For work and school accounts, Microsoft allows multiple security keys to be registered per account (Microsoft Support), which leaves room for a spare.

Buy a second key and register it the same day as the first. I’d treat this as part of setup, not an optional extra. A security key is a small object that gets lost, washed with jeans, or left plugged into an office PC.

With only one key and no other sign-in method, you’re stuck in account recovery. Name each key clearly when asked, like “Blue USB-C key” or “Desk drawer backup,” so you know which one to remove if one goes missing.

Keep the backup somewhere separate from your main key. A drawer at home works fine.

Fix #1: Reseat the Key or Switch Ports

Windows can’t see the key if the USB contact is poor or the NFC tap is too brief.

  • Unplug the key and plug it back in firmly.
  • Try a different USB port, preferably one directly on the PC.
  • Skip USB hubs, docking stations, and monitor ports while troubleshooting.
  • For NFC, place the key flat on the reader and hold it still for a few seconds.
  • Check the manufacturer’s page to confirm your key actually supports the method you’re using. A USB-only key won’t respond to an NFC tap.

Expected result: the Windows Security dialog reacts as soon as the key connects.

Fix #2: Enter the Key’s PIN, Not Your Windows PIN

A rejected PIN almost always means you typed your Windows Hello device PIN instead of the key’s PIN.

  • Enter the PIN you created for the physical key in the setup steps above.
  • If you know that PIN and just want to change it, go to Settings > Accounts > Sign-in options > Security Key > Manage, connect and touch the key, then click Change under Security Key PIN and follow the prompts.

Change only works if you already know the current PIN, since it asks you to enter that PIN before setting a new one. If you’ve forgotten the PIN entirely, there’s no recovery option: skip straight to Fix #5, reset the physical key following the manufacturer’s procedure, then set a new PIN and register the key again on each PC and account.

Fix #3: Choose “Security Key” Instead of Your Phone

Chrome, Edge, and recent Windows builds may offer a passkey stored on a nearby phone before they offer a physical key. You’ll see a QR code or a phone prompt instead of a “touch your key” message.

  • In the sign-in or setup dialog, look for More choices or a similar link.
  • Select Security key.
  • Continue with your physical key.
Windows Security passkey dialog showing a phone/QR code option with the More choices link expanded and the Security key option highlighted

Fix #4: Check Your Account Type When the Option Is Unavailable

If Settings shows “This option is currently unavailable” or the lock screen never offers a key, your account type is the usual cause.

  • Go to Settings > Accounts > Your info and confirm which account you’re using.
  • If it’s a personal Microsoft account or a local account, that’s expected: Microsoft’s documentation on lock-screen key sign-in covers Microsoft Entra work or school accounts on Entra-joined or hybrid-joined devices, not personal or local accounts. Treat the feature as unsupported there rather than troubleshooting further.
  • If it’s a work or school account, the organization has to turn on security key sign-in. Contact whoever manages your account. You can’t enable it from your side.

Fix #5: Reset the Security Key

Reset is the last resort. It wipes every credential on the key, so the key stops working on every PC and account it was registered with.

  • Go to Settings > Accounts > Sign-in options > Security Key > Manage.
  • Connect the key.
  • Click Reset under Reset Security Key.
  • Follow the prompts. The exact sequence varies by key model and manufacturer; many keys require you to unplug and reinsert them, then touch the sensor within a few seconds. If the reset doesn’t complete from Settings, use the manufacturer’s own reset instructions or tool.
  • Set a new PIN with Add, then set the key up again on each PC and account.

Removing a key from your account’s sign-in methods typically just unlinks it from that account. Resetting the key is the more thorough way to clear its stored credentials, which matters before giving one away.

FAQ: Which Accounts Support Security Key Sign-In?

Do I need a Microsoft account, or will a local account work? You can manage a key’s PIN and reset it from Settings on any account type. Lock-screen sign-in with a key is a different story.

Microsoft’s documentation for that scenario specifically covers Microsoft Entra work or school accounts on Entra-joined or hybrid-joined devices. Personal Microsoft accounts and local accounts aren’t part of that documented support, so don’t plan around lock-screen sign-in working there; confirm it directly on your PC before relying on it.

Which PIN do I enter? The key’s PIN. Your Windows Hello device PIN only works on that one PC, while the key’s PIN goes wherever the key goes.

What’s the difference between USB and NFC keys? USB keys plug in and wait for a touch. NFC keys work with a tap on a supported reader. Many keys do both, which is the most flexible choice for someone with a desktop and a laptop.

Can work or school account users do this? Yes, if the organization has turned it on. Work and school users may also register keys in a browser at the My Account portal under Security info (Microsoft Support). Admin-side setup isn’t something you can do yourself. Your organization’s policy decides which methods you can register, and adding the key to your account’s security info isn’t the same as the PC being configured to accept it at the lock screen.

What happens if I lose my only key? You fall back to your other Windows Hello methods or your password. If those are gone too, you’re in account recovery. That’s why the backup key matters.

Wrapping Up

The Settings flow (Manage, add a PIN, touch or tap the key) works similarly on Windows 11 and Windows 10, though exact menus can vary by version. Lock-screen sign-in is documented for Microsoft Entra work or school accounts on Entra-joined or hybrid-joined devices, and account type decides everything beyond that. Check for the key icon on the lock screen before you retire your PIN or password.

StepActionApplies To
1Check account type in Settings > Accounts > Your infoAll accounts
2Open Security Key > Manage and connect the keyUSB and NFC keys
3Add the key’s PIN and touch to confirmAll keys
4Pick the key icon in Sign-in options at the lock screenSupported accounts
5Register a second key and keep a device PIN activeEveryone

My honest pick: buy two dual-connector NFC keys, set both up the same day, and keep a Windows Hello PIN turned on as your third fallback. If a key that worked yesterday goes undetected in every port and on a second PC, the key itself is probably failing. Switch to your backup and replace it rather than resetting it again.