A Microsoft file hosting and synchronization service.
Confirm that the OneDrive desktop client is running and signed into the affected work account, then check the affected files for unresolved synchronization errors before changing Windows policies.
Since resetting and reinstalling did not help, do not repeat those steps.
1. Confirm the desktop client is active
- Look for the OneDrive cloud icon in the taskbar notification area.
- If it is absent, open Start, search for OneDrive, and launch the app with the folder icon.
- Sign in with the user’s Microsoft 365 work account if prompted.
- Open OneDrive icon → Help & Settings → Settings → Account and confirm the work account is listed.
- Wait until OneDrive reports Your files are synced, then test File Explorer → right-click a synced file → Share.
File Explorer’s OneDrive sharing integration requires the desktop client to be running. Sharing through the website can continue working when the desktop integration is unavailable.^1^
Sharing a newly created local text file successfully does not test the same feature—it may invoke Windows sharing rather than OneDrive’s cloud-sharing panel.
2. Check whether the affected files are fully synchronized
Click the OneDrive cloud icon and review its status and any listed sync problems. Test files showing a green check mark, not files still showing syncing or error indicators.
If errors are listed:
- Open the OneDrive activity panel.
- Select the reported error to identify the affected file.
- Resolve the displayed conflict, permission, filename, or file-state issue.
- Wait for the file to show as synchronized and retry Share.
OneDrive exposes the affected filename, error, and suggested resolution through its sync-status panel.^2^
If the problem involves many files in a separately synced SharePoint document library, stop and reconnect that library only after preserving any unsynchronized local changes:
- Select OneDrive cloud icon → Settings → Account.
- Locate the affected library and select Stop sync.
- In the browser, open that SharePoint document library and select Sync.
- Allow the browser to open OneDrive, then wait for synchronization to finish.
Microsoft recommends disconnecting and resynchronizing a library when numerous sync errors cannot reasonably be fixed individually; files remain in both the old local folder and the online library, but unsynchronized changes should be protected first.^3^
3. Isolate the Windows profile or device
Test the same synchronized file under these conditions:
- Another user profile on the affected computer.
- The same user on another managed computer, if available.
- Several fully synchronized files in different OneDrive folders.
If the failure follows the user across devices, review tenant sharing restrictions and Microsoft 365 service health. If it occurs only in one Windows profile or on one device, focus on the local OneDrive/File Explorer integration.
4. Conditional: Share becomes missing or greyed out
The following Microsoft procedure is specifically documented for a missing or greyed-out OneDrive context-menu command. Do not change machine-wide UAC policies merely because the currently visible Share command is unresponsive.
- Open Task Manager → Details.
- Right-click a column heading → Select columns → enable Elevated.
- Compare
OneDrive.exeandexplorer.exe.
If either process is elevated while the other is not, close the elevated process and restart it normally so both run in the same non-elevated user context.
If OneDrive.exe shows Elevated = Yes, Microsoft documents installing OneDrive per-machine. This is different from the ordinary reinstall already attempted. From an elevated Command Prompt, run the downloaded Microsoft OneDrive installer using its actual path:
"C:\path\to\OneDriveSetup.exe" /allusers
Do not enter the placeholder literally. Obtain OneDriveSetup.exe from Microsoft’s OneDrive download page or your organization’s approved software deployment source.
If both processes show Elevated = No, have an administrator compare the computer’s UAC configuration with the complete policy table in Microsoft’s procedure before making changes. Record or export the existing policy configuration and obtain organizational approval first; these are machine-wide security settings, including secure-desktop and elevation behavior.^4^
If none of these checks identifies the issue, collect the OneDrive client version, Windows version, sync status, whether the problem affects all synced files, and results from another Windows profile/device, then open a Microsoft 365 support case.
References
- Unable to share OneDrive files | Microsoft Support
- [Windows](https://support.microsoft.com/accessibility/onedrive/use-a-screen-reader-to-sync-onedrive-for-work-or-school#review-onedrive-for-work-or-school-sync-problems)
- Resolve sync issues in OneDrive for work or school
- How to change the User Account Control policies to allow OneDrive context menus | Microsoft Support