Policy
Save documents to OneDrive by default
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows81, WindowsRT81, WindowsServer2012R2
This policy setting lets you disable OneDrive as the default save location. It does not prevent apps and users from saving files on OneDrive. If you disable this policy setting, files will be saved locally by default. Users will still be able to change the value of this setting to save to OneDrive by default. They will also be able to open and save files on OneDrive using the OneDrive app and file picker, and packaged Microsoft Store apps will still be able to access OneDrive using the WinRT API. If you enable or do not configure this policy setting, users with a connected account will save documents to OneDrive by default.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\OneDrive\DisableLibrariesDefaultSaveToOneDrive | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerPrevent OneDrive files from syncing over metered connectionsWindows Server 2012 R2, Windows 8.1 or Windows RT 8.1 only
- ComputerPrevent OneDrive from generating network traffic until the user signs in to OneDriveAt least Windows Server 2008 R2 or Windows 7
- ComputerPrevent the usage of OneDrive for file storageAt least Windows Server 2008 R2 or Windows 7
- ComputerPrevent the usage of OneDrive for file storage on Windows 8.1Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1 only