How to Set Up a Microsoft Account USB Security Key Without a Phone
Question details
The user is attempting to configure a hardware security key but is blocked by a setup process that only displays a QR code, which requires a smartphone to scan.

- Product
- Microsoft Account Security
- Device & OS
- not provided
- Scenario
- Setting up multi-factor authentication (MFA) using a physical USB security key without relying on a mobile phone.
- Observed behavior
- The security-key setup process defaults to a cross-device QR code scan prompt, offering no clear on-screen instruction to plug in a USB key directly.
Ensure you have a FIDO2-compliant USB security key (such as a YubiKey) ready, and confirm that your computer has an available, working USB port before initiating the setup.
Bypass the Cross-Device QR Code Prompt
Windows and Microsoft accounts often default to mobile passkeys via a QR code. You can manually switch to the local hardware key option.
Modern authentication systems often try to use your smartphone as a roaming authenticator by displaying a QR code. If you want to use a dedicated physical USB key, you must dismiss this default screen and select the local security key option.
Log into your Microsoft Account settings, navigate to Security > Advanced security options, and choose to add a new way to sign in or verify, selecting 'Security key'.
When the QR code appears asking you to scan with your phone, look for a link that says 'Use a different device', 'Try another way', or simply click 'Cancel' on the specific QR popup while keeping the underlying Windows Security prompt open.
From the alternative options presented by Windows Security, choose 'Security key' or 'Windows Hello or external security key'.
Plug your USB security key into the computer's USB port. When the system prompts you, physically touch the gold contact or button on the key to complete the registration.

Consult Microsoft Q&A for Advanced MFA Support
If the QR code loop cannot be bypassed, you will need to reach out to dedicated Microsoft Windows Security engineers.
Experience Hassle-Free Productivity with WPS Office
While you troubleshoot complex Microsoft account and MFA security issues, you don't have to put your work on hold. WPS Office offers a lightweight, highly compatible alternative to Microsoft Office that lets you view, edit, and create documents without complicated login barriers.
- 1. Download the Installer: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set up the software in minutes.
- 3. Start Working Immediately: Open your existing Office documents directly in WPS Office and continue working without worrying about account lockouts.

Frequently Asked Questions
Why does the security key setup ask for a QR code instead of prompting my USB drive?
Modern operating systems often prioritize 'cross-device authentication' (using a smartphone as a passkey). The system displays a QR code by default for mobile users, requiring you to manually click 'Use a different device' or 'Cancel' on the QR screen to reveal the local USB hardware key option.
Do I absolutely need a smartphone for Microsoft multi-factor authentication?
No. While Microsoft strongly encourages using the Microsoft Authenticator app via a smartphone, you can secure your account using a FIDO2-compliant USB security key or Windows Hello (biometrics/PIN) on your computer.
What type of USB key works for Microsoft account setups?
Microsoft supports any FIDO2-compliant physical security key. Popular and fully compatible options include the YubiKey series by Yubico and Google Titan Security Keys.
Why can't the Microsoft Office forum help with my USB security key issue?
The Office support forum primarily deals with software usage, document formatting, and application troubleshooting. Multi-factor authentication, passkeys, and USB security keys are handled at the operating system and account infrastructure level, which is why experts on the Microsoft Q&A platform under the 'Windows Security' tag are better equipped to help.




