Regenerate QR code for personal Microsoft Account

Abstract: Regenerate expired or compromised QR codes for personal Microsoft Accounts to securely re-link devices and restore two-step verification access.

Created: 2026-09-07 by
You can regenerate the QR code for your personal Microsoft Account by navigating to the security settings on the official account website. This process is essential when your current code expires or becomes compromised, allowing you to securely link your device again using a fresh authentication token without needing to recreate your entire account profile.

Understanding the Purpose of the Account QR Code

The QR code associated with a personal Microsoft Account serves as a rapid authentication mechanism, primarily used for linking new devices, enabling two-step verification, or connecting apps like Outlook and OneDrive. Unlike static passwords, these codes are dynamic and time-sensitive, designed to provide a secure bridge between your digital identity and physical hardware. When you attempt to sign in to a new Windows PC or mobile device, the system often requests this visual scan to verify ownership instantly.

If you find that your existing QR code is no longer working, has expired, or was never generated correctly, you must request a new one through the web interface. The native application menus on some devices do not always offer a direct "regenerate" button, which is why accessing the cloud-based account portal is the most reliable method. This ensures that the backend server invalidates the old session and issues a valid, fresh credential for your next login attempt.

Accessing Your Microsoft Account Security Settings

To begin the regeneration process, you must first access the central hub for all account management tasks. Open any modern web browser on a computer or smartphone where you have internet access. Navigate to the official Microsoft Account homepage at account.microsoft.com. It is crucial to ensure you are signed in with the specific personal account that requires the new QR code. If you are currently logged into a different profile, use the sign-out option located in the top-right corner before entering your credentials.

Once authenticated, locate the navigation menu. On desktop browsers, this is typically found in the top right corner under your profile icon. Select the option labeled "Security" or "View my Microsoft Account." This action redirects you to the main dashboard where various security tools are aggregated. If you encounter difficulties logging in due to lost access methods, you may need to refer to recovery guides such as Windows 10 (Home) Account Password Recovery (Linked Microsoft Account) to regain entry to your primary credentials.

Navigating to Two-Step Verification Options

Within the Security dashboard, look for the section dedicated to verifying your identity. Microsoft frequently updates its interface, but the core functionality remains consistent. Find the subsection titled "Two-step verification" or "Advanced security options." Click on the link that allows you to manage your verification methods. This area controls how the system sends confirmation codes via email, text message, or authenticator applications.

In this section, you will see a list of configured devices and methods. If you are looking to generate a QR code for an authenticator app like Microsoft Authenticator, Google Authenticator, or Authy, you need to select the option to add a new phone number or configure a new app. The system will present a dialog box containing a newly generated QR code. This code is unique to your current session and will expire after a short period if not scanned immediately.

If your previous QR code was linked to a lost device, ensure you remove the old device entry from this list before generating a new one. This prevents confusion during the setup process and ensures that push notifications are sent only to the intended new device. For users experiencing connectivity issues with shared resources, understanding the separation between account security and network permissions is vital, as detailed in Unable to Connect Shared Disks in Windows using Microsoft Account.

Scanning and Finalizing the New QR Code

Once the new QR code appears on your screen, open the authenticator app on your target device. Use the app's built-in camera scanner to capture the image displayed on the web page. Ensure that the lighting is adequate and the code is fully within the frame. Upon successful scanning, the app will automatically populate the secret key required for time-based one-time passwords (TOTP).

After scanning, the app may ask you to name the account for easy identification. Enter a descriptive name, such as "Personal Microsoft," to distinguish it from work or school accounts. You may also be prompted to enter a six-digit code generated by the app to confirm that the synchronization was successful. Complete this step to finalize the regeneration process. Your device is now linked to your Microsoft Account with a fresh, active authentication token.

It is important to note that regenerating this code does not change your password or email address. It simply refreshes the cryptographic handshake between your account and the device. If you continue to experience issues with notifications or device pairing, reviewing notification settings as outlined in How to Disable Microsoft Account Notifications in Windows 11 may help isolate whether the problem lies with the authentication stream or the delivery mechanism.

Troubleshooting Common Regeneration Issues

If the QR code fails to appear, check your internet connection and ensure that pop-up blockers are disabled for the Microsoft domain. Sometimes, corporate firewalls or ad-blocking extensions interfere with the generation script. Clearing your browser cache and cookies can also resolve stale session errors that prevent new codes from loading.

Another common issue arises when attempting to link a device that is already heavily integrated with the OS, such as a fresh Windows installation. In cases where standard QR regeneration seems insufficient, users might consider alternative setup paths. For instance, some advanced users prefer creating local accounts during initial setup to avoid immediate cloud dependency, a strategy discussed in How to Install Windows 11 on Your 24H2 Pro Computer Without a Microsoft Account?. However, for most personal users, sticking to the official QR regeneration flow within the security settings is the most stable long-term solution.

Frequently Asked Questions

How long does a regenerated QR code remain valid?

A regenerated QR code for Microsoft Authenticator is generally valid for a short window, typically around 10 minutes, once displayed. If you fail to scan it within this timeframe, the code will expire, and you must return to the security settings to generate a new one. Always keep the browser tab open while scanning to minimize the risk of expiration.

Can I use the same QR code on multiple devices?

No, each QR code is uniquely tied to a single device and session for security reasons. If you wish to use the same Microsoft Account on multiple phones or tablets, you must scan the QR code individually on each device. This ensures that each device maintains its own independent time-synced token for authentication.

What happens if I lose access to my authenticator app?

If you lose access to the device holding your authenticator app, you should immediately log into your Microsoft Account from a trusted browser. Navigate to the Two-step verification settings and remove the lost device. Then, follow the standard regeneration steps to link a new device. Having backup recovery emails or phone numbers configured beforehand is critical in this scenario.

Does regenerating the QR code change my password?

No, the process of regenerating a QR code for two-factor authentication does not alter your account password. Your password remains unchanged unless you explicitly choose to update it in the separate "Change password" section of your account settings. The QR code is solely for verifying your identity during login attempts.

Why is my QR code not scanning properly?

Scanning failures are often caused by poor lighting, screen glare, or low resolution on the displaying device. Try adjusting the brightness of your monitor or taking a screenshot of the QR code and displaying it on a larger screen. Additionally, ensure that your authenticator app has camera permissions enabled and that the code is fully visible within the scanning frame.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More