Hide Microsoft cloud-based file locations in the Backstage view
| Registry value | onlinestorage |
| Group Policy | Hide Microsoft cloud-based file locations in the Backstage view |
| German version | Cloudbasierte Microsoft-Dateispeicherorte in der Backstage-Ansicht ausblenden |
| Intune settings catalog | Hide file locations when opening or saving files (User) |
| Scope | User · HKCU |
| ADMX | office16.admx · L_OnlineStorageFilter |
Group Policy path
Registry
| Value | Data |
|---|---|
HKCU\Software\policies\microsoft\office\16.0\common\internet | |
| onlinestorage | decimal 0–4294967295 |
Not configured = the value does not exist – the application default applies and users may change the setting.
PowerShell
Check the current value (read-only)
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
$key = "$root\Software\policies\microsoft\office\16.0\common\internet"
foreach ($name in @('onlinestorage')) {
try { '{0} = {1}' -f $name, (Get-ItemPropertyValue -Path $key -Name $name -ErrorAction Stop) }
catch { '{0}: not configured' -f $name }
}Admin rights needed: HKCU\Software\Policies is read-only for standard users. An elevated session writes to the admin's own HKCU – to set it for another signed-in user, change $root to Registry::HKEY_USERS\<SID>.
Enable
# --- Settings ---
$root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>'
try {
$key = "$root\Software\policies\microsoft\office\16.0\common\internet"
if (-not (Test-Path $key)) { New-Item -Path $key -Force -ErrorAction Stop | Out-Null }
New-ItemProperty -Path $key -Name 'onlinestorage' -PropertyType DWord -Value 0 -Force -ErrorAction Stop | Out-Null # range 0–4294967295
'Done.'
}
catch { Write-Error "Failed: $($_.Exception.Message)" }Reset to Not configured
# --- Settings --- $root = 'HKCU:' # other signed-in user (elevated): 'Registry::HKEY_USERS\<SID>' $key = "$root\Software\policies\microsoft\office\16.0\common\internet" Remove-ItemProperty -Path $key -Name 'onlinestorage' -ErrorAction SilentlyContinue 'Policy values removed (Not configured).'
Intune (settings catalog)
Hide file locations when opening or saving files (User)
Settings catalog → Add settings → search for the name above.
Intune Settings Catalog Viewer ↗
Alternative: custom profile (OMA-URI)
| OMA-URI | ./User/Vendor/MSFT/Policy/Config/office16v2~Policy~L_MicrosoftOfficeSystem~L_miscellaneous437/L_OnlineStorageFilter |
| Data type | String |
| Value | <enabled/> · <disabled/> |
This policy has options: add one <data id="…" value="…"/> per element after <enabled/>. The element IDs are in the ADMX file.
Cloud Policy
Cloud Policy (config.office.com → Customization → Policy Management) offers many user policies of the Microsoft 365 Apps – search for Hide Microsoft cloud-based file locations in the Backstage view. It also applies to unmanaged devices and wins over GPO and Intune for the same setting.
Microsoft 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.
Same category: Microsoft Office 2016 › Miscellaneous
- Hide the Learn more about SharePoint Hyperlinkhidelearnmorelink
- SharePoint Product Nameproductname
- Change destination URL for SharePoint hyperlinklearnmoreurl
- Show Screen Tipsscreentipscheme
- Print ticket safe modedisableprintfeaturesoncrash
- Age out documents older than n daysageoutpolicy
- Age out documents older than n days Including documents with pending uploadsageoutpolicyincludingfilespendingupload
- Number of days to keep local document versions in the local cacheageoutpolicylocalversioning
- Set the max size of the Office Document Cachemaxcachesize
- Open Directly in Office Client Applicationopendirectlyinapp
- Do not validate printers before using themvalidateprinters
- Suppress recommended settings dialogoptindisable
All policies in this category · All 945 policies of office16.admx