Fix OneDrive Not Signing In After Windows 11 Hardware Upgrade
Question details
The user is unable to start or sign in to Microsoft OneDrive after completing a hardware upgrade and reinstalling the operating system.

- Product
- Microsoft OneDrive
- Device & OS
- Windows 11
- Scenario
- Attempting to use OneDrive after replacing the computer's motherboard and processor, followed by a fresh installation of Windows.
- Observed behavior
- The OneDrive desktop application will not start, the system tray icon is missing, and all attempts to sign in via the desktop app or browser fail.
Ensure your Windows 11 installation has completed all pending updates and verify that you have a stable internet connection before attempting to repair OneDrive.
Reset and Restart the OneDrive Application
Resetting the OneDrive application cache forces the software to refresh its configurations, which often resolves sign-in loops caused by hardware changes.
Major hardware changes, such as a motherboard replacement, can invalidate security tokens tied to your device's Trusted Platform Module (TPM). Resetting OneDrive helps clear these outdated tokens.
Press the Windows key + R simultaneously on your keyboard to open the Run command window.
Type %localappdata%\Microsoft\OneDrive\OneDrive.exe /reset into the box and press Enter. The command prompt may briefly flash on your screen.
Wait about two to three minutes. Press Windows + R again, type %localappdata%\Microsoft\OneDrive\OneDrive.exe, and press Enter to restart the application.
Look for the OneDrive cloud icon in the bottom-right corner of your taskbar and attempt to sign in with your Microsoft account.

Clear Obsolete Credentials from Windows
Removing old cached login data prevents conflicts between your old hardware's security keys and your newly installed motherboard.
Reinstall OneDrive from Microsoft
If resetting the app does not work, the OneDrive installation files themselves may be corrupted or missing essential updates following the Windows reinstallation.
Try WPS Office for Seamless Document Management
If you are facing persistent authentication issues with Microsoft services after upgrading your PC hardware, consider switching to WPS Office. It is a free, lightweight, and easy-to-use alternative that bypasses complex Windows TPM dependencies.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package for Windows.
- 2. Install WPS Office: Run the downloaded file and follow the quick setup wizard to install the software on your newly upgraded PC.
- 3. Sign In for Cloud Access: Create or sign in to your WPS account using email or third-party logins to instantly access reliable cloud storage.

Frequently Asked Questions
Why does a motherboard replacement cause OneDrive to stop working?
Windows 11 utilizes your device's Trusted Platform Module (TPM) chip on the motherboard to encrypt and store login credentials. When you replace the motherboard, the hardware ID changes, causing existing authentication tokens for apps like OneDrive to become invalid.
How can I access my OneDrive files if the desktop app still won't sign in?
Even if the desktop application is malfunctioning, your files remain safely stored in the cloud. You can access, download, and manage your files by logging into the OneDrive web portal via any browser.
What should I do if both the desktop and browser sign-in attempts fail?
If browser sign-ins are also failing, the issue may lie with your Microsoft account itself or your network configuration. Temporarily disable any third-party firewalls or VPNs. If it still fails, contact Microsoft Support to verify if your account has been temporarily locked due to suspicious hardware changes.




