Hide Microsoft cloud-based file locations in the Backstage view
Explanation
This policy setting allows you to hide Microsoft cloud-based file locations in the Backstage view in Office. This helps prevent users from opening, saving, or sharing cloud-based files to locations such as: OneDrive, SharePoint, or Third Party Services.
This policy setting only applies to Word, PowerPoint, and Excel.
To filter specific services, add the values for all services to be disabled:
1 - OneDrive Personal
4 - ThisPC
8 - SharePoint OnPrem
16 - Recent Places
32 - SharePoint
64 - OneDrive for Business
128 - Third Party Services
Special Values:
0 - (Default) All services enabled.
2 - (Legacy Value) Disable SharePoint and OneDrive for Business.
4294967295 - All optional services disabled.
For example, OneDrive Personal (1), This PC (4) and Third Party Services (128) can all be disabled with a value of 133.
This value is calculated as follows: 1 + 4 + 128 = 133
Common Setting Values:
1 - Disable OneDrive Personal
2 - Disable SharePoint Online and OneDrive for Business
3 - Disable SharePoint Online, OneDrive for Business, and OneDrive Personal
If you disable or don’t configure this policy setting, users can use any configured Microsoft cloud-based file location to open, save, and share files.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\internet- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: office16/L_OnlineStorageFilter
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\internet'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Online Storage Filter Value
Set-ItemProperty -Path $k -Name 'onlinestorage' -Value 0 -Type DWord # between 0 and 4294967295Disable
# Disable: office16/L_OnlineStorageFilter
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": office16/L_OnlineStorageFilter
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\internet'
Remove-ItemProperty -Path $k -Name 'onlinestorage' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Online Storage Filter Value:L_OnlineStorageFilterID | Numeric boxdecimal | onlinestorage | REG_DWORD | Min: 0 · Max: 4294967295 · Default (UI): 0 |
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.