Original post at: https://siderite.dev/blog/disabling-onedrive-in-microsoft-office/
Microsoft Office is everybody's frenemy. You love to hate it, but you can't do without it. One of the things that annoys me most about the recent updates to Office is that it tries to save everything in the cloud (using Microsoft's OneDrive) rather than in My Documents or any other local storage location. This might make sense for a lot of people, but not for me. If this behavior annoys you, too, read on.
Of course there is no nice UI setting to change this, instead you need to change the registry. You do this by running Registry Editor as an Administrator and adding a new "key". Here is how to do it, step by step.
Step 1 - open Registry Editor as an Administrator
Step 2 - go to the right place
Type or paste _ HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Internet _ in the top bar
Press Enter to navigate to where you should be.
Step 3 - add a new DWORD key called _ OnlineStorage _
Step 4 - edit the key and give it value 1
Step 5 - restart your Office application
Now you should not see OneDrive locations when trying to save a file.
Advanced
If you know what you're doing, you can also copy the following into a .reg file and open it:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Internet]
"OnlineStorage"=dword:00000001
More info
You can get more information from:
How to block OneDrive use from within Microsoft 365 Apps for enterprise and Office 2016 applications - here you have a more user friendly way of doing the same, by loading a Group Policy template and using it
Keep OneDrive without integration into MS Office
The OnlineStorage key is a sum of binary flags that are used to disable various locations from office storage. The list of possible values is:
- 0: This is the default value Enables all services.
- 1 Disables OneDrive Personal.
- 2 Disables SharePoint Online and OneDrive for Business.
- 3 Disables SharePoint Online, OneDrive for Business, and OneDrive Personal.
- 4 Disables This PC.
- 8 Disables SharePoint On-Premises.
- 16 Disables Recent Places.
- 32 Disables SharePoint Online.
- 64 Disables OneDrive for Business.
- 128 Disables all third-party services.
- 4294967295 Disables all optional services.
Hope it helps!
Top comments (0)