How to Fix OneDrive Sharing Window Stuck Loading in File Explorer
Question details
The user is experiencing an issue where the OneDrive sharing dialog in Windows File Explorer gets stuck in a continuous loading state, despite the sharing function working normally via the web interface.

- Product
- OneDrive
- Device & OS
- Windows
- Scenario
- Attempting to share a synced file or folder directly from Windows File Explorer using the OneDrive native context menu sharing option.
- Observed behavior
- The sharing window remains stuck on an infinite loading screen and fails to display the sharing link or permission options.
Ensure your computer is connected to a stable internet connection and that all your current file sync operations have finished before attempting to reset the application.
Reset the OneDrive Sync Application
Resetting OneDrive forces the application to clear its local configuration and cache, which often resolves stuck UI dialogs without deleting any of your saved files.
A standard reinstallation often leaves residual configuration files behind. Using the built-in reset command guarantees that the application's local cache is completely flushed, forcing the sharing window to load freshly from Microsoft's servers.
Press the Windows key + R simultaneously on your keyboard to open the Windows Run dialog box.
Type the following path exactly: %localappdata%\Microsoft\OneDrive\onedrive.exe /reset and press Enter.
The OneDrive cloud icon in your system tray will disappear and should automatically reappear after a minute or two.
If the icon does not reappear on its own, open the Windows Start menu, type 'OneDrive', and click on the application to launch it manually.

Verify Windows and Update OneDrive
Outdated versions of Windows or the OneDrive sync client can cause compatibility bugs with File Explorer integrations.
Share Documents Seamlessly with WPS Office
Avoid operating system-level sync glitches by using WPS Office's built-in cloud sharing features. You can quickly generate secure sharing links, manage permissions, and collaborate directly from within your documents.
- 1. Open your document: Launch WPS Office and open the file you wish to share with your collaborators.
- 2. Access the sharing menu: Click the 'Share' button located prominently in the top right corner of the application workspace.
- 3. Set permissions and generate link: Choose whether recipients can view or edit the document, then click 'Create Link' to generate a URL you can immediately copy and paste.

Frequently Asked Questions
Why is my OneDrive sharing window suddenly stuck loading?
This commonly occurs when the local OneDrive application cache becomes corrupted or loses its sync connection with the Windows File Explorer shell. A quick reset forces the cache to clear and establishes a fresh connection.
Will running the OneDrive reset command delete my locally saved files?
No. Resetting OneDrive via the command line only clears the application's configuration settings and temporary UI cache. Your synced files, folders, and personal data remain perfectly safe on your hard drive and in your cloud storage.
Can I still share files if the Windows File Explorer window won't load?
Yes. As a temporary workaround, you can log into the OneDrive web application through any internet browser. The web interface operates independently of Windows File Explorer and will allow you to generate sharing links and manage access normally.
How do I know if I am running an outdated version of OneDrive?
Click the OneDrive cloud icon in your system tray, navigate to 'Help & Settings', select 'Preferences' (or 'Settings' depending on your layout), and click on the 'About' tab. This screen displays your exact version number, which you can compare to the latest release notes online.




