Policy
Prevent the usage of OneDrive for file storage
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016
This policy setting lets you prevent apps and features from working with files on OneDrive. If you enable this policy setting: * Users can’t access OneDrive from the OneDrive app and file picker. * Packaged Microsoft Store apps can’t access OneDrive using the WinRT API. * OneDrive doesn’t appear in the navigation pane in File Explorer. * OneDrive files aren’t kept in sync with the cloud. * Users can’t automatically upload photos and videos from the camera roll folder. If you disable or do not configure this policy setting, apps and features can work with OneDrive file storage.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\OneDrive\DisableFileSyncNGSC | 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 storage on Windows 8.1Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1 only
- ComputerSave documents to OneDrive by defaultWindows Server 2012 R2, Windows 8.1 or Windows RT 8.1 only