Unable to share OneDrive files

Unable to share OneDrive files

If you can't see the option to "Share" or "View online" within the context menu, your sync client may be running with elevated privileges. This is not supported (see Invalid file names and file types in OneDrive, OneDrive for Business, and SharePoint).

Context menu, without Share option

Verify whether OneDrive is running with elevated privileges

To check whether OneDrive.exe or Explorer.exe is running with elevated privileges, follow these steps:

  1. Open Task Manager.

  2. Select the Details tab.

  3. Add an Elevated column by right-clicking on top of an existing column and using the Select columns option.

  4. Check the Elevated column for the OneDrive.exe and Explorer.exe processes.

    Task Manager screenshot showing OneDrive.exe

Install OneDrive using the per machine install option

By default, the OneDrive sync client installs per user, meaning OneDrive.exe needs to be installed for each user account on the PC under the %localappdata% folder. With the per machine installation option, you can install OneDrive under the “Program Files (x86)” directory, meaning all profiles on the computer will use the same OneDrive.exe binary. Other than where the sync client is installed, the behavior is the same.

Removing the elevated privileges

If your OneDrive.exe or Explorer.exe is running with elevated privileges, as displayed above, and you cannot install OneDrive using the per machine installation option, follow these steps to resolve the issue:

  1. Set the User Account Control (UAC) to the lowest setting within the Control Panel. (See more about User Account Control (UAC).)

  2. Change the Security settings using the steps below:

    1. Run secpol.msc to open the Local Security Policy.

    2. Expand Local Policies and open the Security Options.

    3. Look for the policies regarding the User Account Control and set them as in the image below:

      Important: Adapt the local security settings according to your organization's policy.

      Local Security Policy window, with Security Options showing corrected OneDrive settings

    4. Restart the computer.

After following the steps above, the context menu should look similar to this:

Context menu correctly displaying Share


Need more help?

OneDrive storage plan and billing questions


Get online help
See more support pages for OneDrive and OneDrive for Business.
For the OneDrive mobile app, see Troubleshoot OneDrive mobile app problems.

Email Support icon

Email support
If you still need help, shake your mobile device while you're in the OneDrive app or email the OneDrive support team. To contact OneDrive for Business support from your PC or Mac, select the OneDrive icon in the notification area or menu bar, then select More > Send feedback > I don't like something.

OneDrive for Business Admins can also view the OneDrive for Business Tech Community, Help for OneDrive for Business Admins, or contact Office 365 for business support.

Office 365 community forums

Letting us know your location may help us resolve your issue more quickly.

All fixed? If you contacted us and OneDrive starts working again, please let us know by replying to the email we sent you.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.