Fix OneDrive Sign-In Button Not Working on Windows
It can be incredibly frustrating when you urgently need to access your synced files, but clicking the OneDrive sign-in button does absolutely nothing. If you are experiencing this unresponsive behavior, you are not alone, and it is usually a straightforward configuration issue to fix.
Problem Description: Unresponsive OneDrive Login
Users frequently report that when attempting to log into the Microsoft OneDrive desktop client, clicking the "Sign in" button yields no response. In some cases, the authentication window may briefly appear and then instantly crash or close itself. This issue is particularly stubborn, as merely reinstalling the OneDrive application often fails to restore account access.
Quick Answer for OneDrive Login Failures
To quickly resolve this, press Windows + R, paste %localappdata%\Microsoft\OneDrive\settings, and delete the PreSignInSettingsConfig.json file. Restarting OneDrive afterward usually restores the sign-in prompt's functionality.
Likely Causes Behind OneDrive Authentication Errors
- Corrupted Configuration Files: The local JSON file responsible for pre-sign-in settings can become corrupted, causing the login window to crash instantly.
- VPN and Network Interference: Virtual Private Networks or strict custom DNS settings may block communication with Microsoft's authentication servers.
- Outdated Client or OS: An obsolete OneDrive application or missing Windows updates can break compatibility with modern Microsoft sign-in protocols.
- Firewall Restrictions: Overly aggressive third-party antivirus or Windows Defender Firewall rules might be silently blocking the app's outgoing connection.
Recommended Solution: Clear OneDrive Sign-In Cache
- Verify Your Account: First, open a web browser and navigate to account.microsoft.com. Log in to confirm that your account is active and not locked.
- Close OneDrive: Right-click the OneDrive cloud icon in the Windows system tray and select "Quit OneDrive" or "Close OneDrive."
- Open AppData Settings: Press Windows Key + R to open the Run dialog box. Type
%localappdata%\Microsoft\OneDrive\settingsand press Enter. - Delete the Config File: In the folder that opens, locate the file named
PreSignInSettingsConfig.json. Right-click it and select Delete. - Restart OneDrive: Open your Start menu, search for OneDrive, and launch the application. Click the Sign In button again; it should now open normally.
Alternative Solutions for Persistent Sync Issues
- Disable VPNs and Change Networks: Temporarily disconnect from any active VPN software. If possible, switch to a different Wi-Fi network or use a mobile hotspot to rule out router-level blocking.
- Update Windows and OneDrive: Navigate to Windows Settings > Update & Security (or Windows Update) and install all pending updates. Afterwards, download and install the latest version of the OneDrive client directly from Microsoft's website.
- Adjust Firewall Settings: Temporarily disable your third-party firewall to test the connection. If it works, add OneDrive as an exception in your firewall rules.
- Reset OneDrive: If all else fails, press Windows + R, type
%localappdata%\Microsoft\OneDrive\onedrive.exe /reset, and press Enter. Note: Back up any unsynced local files to an external drive before performing a full reset.
Working with WPS Office: A Reliable Alternative
While WPS Office cannot directly fix Microsoft's OneDrive server or client configuration issues, it stands out as an excellent, free alternative if you are struggling with Microsoft's ecosystem. If you need immediate access to create, open, edit, or save Office documents (Word, Excel, PowerPoint) while your OneDrive is down, WPS Office provides seamless local editing. Furthermore, it offers its own robust cloud storage solution (WPS Cloud), allowing you to safely back up and sync your documents across devices without relying on Microsoft OneDrive.
Prevention Tips for Cloud Storage Access
- Keep your Windows operating system and the OneDrive client updated to the latest versions automatically.
- Avoid abruptly shutting down your PC while OneDrive is in the middle of "Processing changes," which can corrupt configuration files.
- Whitelist Microsoft domains in your VPN or firewall settings to ensure uninterrupted authentication.
- Regularly log into the web version of OneDrive to ensure your account credentials and security info are up to date.
FAQs About Microsoft OneDrive Connectivity
Will resetting OneDrive delete my local files?
No, resetting the OneDrive client does not delete your local files or the files already stored in the cloud. It merely forces the app to resync all your data. However, as a precaution, it is highly recommended to manually back up any newly created files that haven't synced yet before initiating a reset.
Why does the sign-in window flash and close immediately?
This is a known glitch usually caused by a corrupted local cache file known as PreSignInSettingsConfig.json. When the app tries to read this broken file to load your saved sign-in preferences, it experiences a fatal error and terminates the login window instantly.




