Forum Discussion
OneDrive Context Menu Missing on Windows 11
- Apr 24, 2025
We also had this issue in our environment. For us, it was the following two registry values that blocked the OneDrive context menu:
HKLM\SOFTWARE\Policies\Microsoft\Windows\Appx\AllowDevelopmentWithoutDevLicense
HKLM\SOFTWARE\Policies\Microsoft\Windows\Appx\AllowAllTrustedAppsAfter deleting these, the Windows Explorer process and OneDrive need to be restarted.
Apparently, this issue also existed back then with Teams, see the following link: https://learn.microsoft.com/en-us/microsoftteams/troubleshoot/teams-administration/fix-new-teams-installation-issues
Just an update that we found the cause of the missing context menu in our environment.
We were implementing security hardening policies at the time and this was caused by setting the Windows Installer policy 'AlwaysInstallElevated' to 'Disabled' in both HKLM and HKCU. In the Intune Settings Catalog this policy is named 'MSI Always Install With Elevated Privileges' and 'MSI Always Install With Elevated Privileges (User)'
https://learn.microsoft.com/en-us/windows/win32/msi/alwaysinstallelevated
With this policy set it was only after Onedrive updated itself that the context menu disappeared. After deleting this property from registry, the context menu returned after reinstalling the Onedrive client (Also after the Onedrive client autoupdated).
I've had the same issue for months now and have been pulling my hair out to try and figure out which Intune policy is the one removing the menu. I tried what you did and removed the registry entries and uninstalled and reinstalled OneDrive and it didn't come back. Was there anything else you found or was that it?
I'm certain the menu goes away when OneDrive updates as I've had it installed for a few weeks with the menu in tact but it updated on the 18th and went away again. I'm going to remove all policies and reinstall to get the menu back and then apply the policies again without the two you mention and hope that does it.
- JosciApr 24, 2025Copper Contributor
We also had this issue in our environment. For us, it was the following two registry values that blocked the OneDrive context menu:
HKLM\SOFTWARE\Policies\Microsoft\Windows\Appx\AllowDevelopmentWithoutDevLicense
HKLM\SOFTWARE\Policies\Microsoft\Windows\Appx\AllowAllTrustedAppsAfter deleting these, the Windows Explorer process and OneDrive need to be restarted.
Apparently, this issue also existed back then with Teams, see the following link: https://learn.microsoft.com/en-us/microsoftteams/troubleshoot/teams-administration/fix-new-teams-installation-issues
- whatamidoingMay 26, 2025Copper Contributor
Thanks Josci, this is the fix applicable for my case.
I've deleted the key and waiting to see if it reverts back to them (bother were present with value 0).
- whatamidoingJul 27, 2025Copper Contributor
Apparently the issue re-occurred and deleting those registry keys no longer works to re-enable back the menu. I need to revisit this and try to figure out again what's causing this...
- cdaniel29May 07, 2025Copper Contributor
Awesome, these two keys fixed it for me when the others wouldn't.
Thanks!