How to Fix OneDrive Stuck Signing In Away from the Office
Question details
The user needs to resolve an issue where OneDrive fails to sign in when working remotely, despite functioning normally at the office.

- Product
- Microsoft OneDrive
- Device & OS
- Windows 10
- Scenario
- Working from home or remotely using a corporate laptop.
- Observed behavior
- OneDrive remains stuck on the sign-in screen and cannot authenticate or sync files when used outside the corporate network.
Ensure you have a stable internet connection and verify with your IT administrator if a corporate VPN is required to access company services remotely.
Reset the OneDrive App
Resetting OneDrive can resolve sync and sign-in issues by clearing the app's internal cache without losing any of your files.
This process restarts the sync engine and clears potential background errors causing the infinite sign-in loop.
Press the Windows key + R to open the Run dialog, type 'wsreset.exe', and click OK to clear the Windows Store cache.
Press Windows + R again, enter '%localappdata%\Microsoft\OneDrive\onedrive.exe /reset', and click OK.
If Windows cannot find the file, use 'C:\Program Files\Microsoft OneDrive\onedrive.exe /reset' or 'C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset'.
Open the Start menu, search for OneDrive, and launch the application to initiate a fresh sign-in.

Clear Cached Credentials and Unlink Your PC
Old or corrupted sign-in credentials can prevent OneDrive from authenticating correctly on a different network.
Connect to the Corporate VPN
Corporate network policies may require a VPN connection to authenticate remote login requests.
Try WPS Office for Seamless Document Management
If you frequently experience authentication and sync issues with Microsoft services, consider switching to WPS Office. It provides a lightweight, highly compatible alternative with its own built-in WPS Cloud, ensuring you can securely access, edit, and sync your work from anywhere without complex corporate network configurations.
- 1. Download and Install: Visit the official WPS Office website to download the free application for your Windows computer.
- 2. Sign In to WPS Cloud: Create a free WPS account to instantly enable 1GB of cloud storage for remote syncing.
- 3. Edit and Sync Anywhere: Open your existing Word, Excel, or PowerPoint files and let WPS Cloud automatically sync your progress securely.

Frequently Asked Questions
Why does OneDrive sign in automatically at the office but gets stuck at home?
This usually occurs because your organization has set up conditional access policies. These policies automatically authenticate you when connected to the office network, but require secondary verification, a specific IP address, or a corporate VPN when you try to access the files from a home network.
Will running the OneDrive reset command delete my locally saved files?
No, running the reset command only clears the application's cache and sync configurations. All your local files and cloud data will remain completely intact.
What should I do if Windows cannot find the OneDrive reset file path?
If the default '%localappdata%' path fails, try entering 'C:\Program Files\Microsoft OneDrive\onedrive.exe /reset' or 'C:\Program Files (x86)\Microsoft OneDrive\onedrive.exe /reset' in the Run dialog, as the installation directory may differ depending on your Windows version.
How do I know if my cached credentials are causing the sign-in loop?
If you recently changed your corporate password but OneDrive is still trying to authenticate using the old password saved in your system, it will get stuck in a sign-in loop. Clearing the Windows Credential Manager forces OneDrive to prompt you for the updated password.




