OneDrive File Issues

Fix OneDrive Crashing When Creating a Share Link in File Explorer

John WilsonJohn Wilson Nov 3, 2026 868 views

Question details

The user needs to resolve an issue where the OneDrive application crashes and its notification icon disappears from the system tray when attempting to create a share link via the File Explorer context menu.

How to Fix OneDrive Crashing When Creating a Share Link
Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Attempting to share a file directly from the local OneDrive sync folder using the right-click 'Share' context menu in Windows File Explorer.
Observed behavior
OneDrive immediately closes and crashes, and the cloud notification icon disappears from the taskbar without generating the share link.
Before you start

Ensure that your Windows operating system is fully updated, and try using the OneDrive web interface to share your files as a temporary workaround while troubleshooting the desktop client.

Solution 1Recommended

Clear File Explorer History and Disable Panes

Clearing the File Explorer cache and disabling preview panes can resolve system conflicts that cause the context menu to crash the OneDrive process.

File Explorer stores a history of recently accessed files and folders. Corrupted cache data here can interfere with context menu extensions like OneDrive's share feature. Additionally, the Preview and Details panes in File Explorer sometimes lock files, causing the sharing process to fail and the app to crash.

1
Open Folder Options

Open File Explorer, click on the 'View' tab at the top, and select 'Options' to open the Folder Options window.

2
Clear Explorer History

Under the 'General' tab, locate the 'Privacy' section at the bottom and click the 'Clear' button next to 'Clear File Explorer history'.

3
Disable View Panes

Go back to the 'View' tab within the main File Explorer window and ensure that both the 'Preview pane' and 'Details pane' are toggled off.

4
Restart and Test

Restart your computer to apply the changes, then right-click a file in your OneDrive folder and select 'Share' to see if the issue is resolved.

Clear File Explorer History and Disable Panes
Safe Procedure: Clearing File Explorer history only removes the recent files list in Quick Access; it does not delete any of your actual files or data.
Free Microsoft Office alternative

Share Files Seamlessly with WPS Office

If OneDrive integration issues continue to disrupt your workflow, consider switching to WPS Office. It offers a lightweight, highly compatible alternative to Microsoft Office, complete with its own built-in cloud storage and secure file-sharing capabilities—all for free.

  1. 1. Open your file: Launch WPS Office and open the document, spreadsheet, or presentation you wish to share.
  2. 2. Click Share: Click the 'Share' button located in the top right corner of the application interface.
  3. 3. Generate Link: Select 'Create Link', set your desired view or edit permissions, and copy the link to share with collaborators instantly.
Built-in WPS Cloud storage for seamless file sharing via secure linksFully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight installation that ensures smooth system performance without crashingFamiliar user interface that requires zero learning curve
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive disappear from the taskbar when I click Share?

This usually indicates that the background process (OneDrive.exe) has crashed unexpectedly. This can be triggered by a corrupted File Explorer cache, conflicting preview panes, or a bug in a specific build update of the OneDrive sync client.

How can I share a OneDrive file if File Explorer keeps crashing?

You can bypass File Explorer entirely by logging into your account on the OneDrive web interface (onedrive.live.com). Simply right-click the file within your browser and select 'Share' to generate a link without triggering the local Windows crash.

Are Citrix environments known to cause OneDrive sharing issues?

Yes, version mismatches between local desktop OneDrive clients and Citrix virtual environments can lead to context menu conflicts. Ensuring both environments use the exact same stable build of OneDrive often resolves the discrepancy.

Does clearing the File Explorer cache delete my actual files?

No. Clearing the File Explorer history through Folder Options only removes the temporary record of recently opened files and folders from the Quick Access view. It is completely safe and does not modify your saved data.