Specify the UNC path to store Office telemetry data: registry value commonfileshareUserHKCU\software\policies\microsoft\office\16.0\osm

Policy ID
L_OfficeOSMCommonFileShare
Scope
User Configuration
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Office 2016 › Telemetry Dashboard

Registry

commonfileshare

REG_SZUser
Enabled value
Depends on the option value
Element
UNC path to store Office telemetry data:
Value type
REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\osm]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"commonfileshare"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\software\policies\microsoft\office\16.0\osm" /v "commonfileshare" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\osm' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\osm' -Name 'commonfileshare' -PropertyType String -Value '<enter value>' -Force | Out-Null