Don't warn about website opening the product when using Office URI
Explanation
By default, when user clicks an Office URI link, Internet Explorer issues a warning that a website is trying to open a program, and asks for confirmation.
This setting allows to disable the warning for Office URIs supported by the product (ms-word:, ms-excel:, ms-powerpoint:, ms-visio:, ms-access:, vnd.libreoffice.command:). Remember that this setting may be overridden by user if set in user settings.
When enabled, no warning will be issued when user clicks a supported Office URI link.
When disabled, the warning will be issued in this case.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\LibreOffice\OfficeURIOpenProgramNoWarnHKEY_CURRENT_USER\Software\Policies\LibreOffice\OfficeURIOpenProgramNoWarn- Value name
- not defined in the ADMX
| State | Value written | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enabled |
| |||||||||||||||||||||||||||||||||
| Disabled |
|
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.
Computer (HKLM)
Enable
# Enable: Collabora-Office/OfficeURIOpenProgramNoWarn
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-word'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 0 -Type DWord
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-powerpoint'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 0 -Type DWord
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-excel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 0 -Type DWord
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-access'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 0 -Type DWord
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\vnd.libreoffice.command'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 0 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-word'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 0 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-powerpoint'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 0 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-excel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 0 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-access'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 0 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\vnd.libreoffice.command'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 0 -Type DWordDisable
# Disable: Collabora-Office/OfficeURIOpenProgramNoWarn
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-word'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 1 -Type DWord
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-powerpoint'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 1 -Type DWord
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-excel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 1 -Type DWord
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-access'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 1 -Type DWord
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\vnd.libreoffice.command'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 1 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-word'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 1 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-powerpoint'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 1 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-excel'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 1 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-access'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 1 -Type DWord
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\vnd.libreoffice.command'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'WarnOnOpen' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": Collabora-Office/OfficeURIOpenProgramNoWarn
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-word'
Remove-ItemProperty -Path $k -Name 'WarnOnOpen' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-powerpoint'
Remove-ItemProperty -Path $k -Name 'WarnOnOpen' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-excel'
Remove-ItemProperty -Path $k -Name 'WarnOnOpen' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\ms-access'
Remove-ItemProperty -Path $k -Name 'WarnOnOpen' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Microsoft\Internet Explorer\ProtocolExecute\vnd.libreoffice.command'
Remove-ItemProperty -Path $k -Name 'WarnOnOpen' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-word'
Remove-ItemProperty -Path $k -Name 'WarnOnOpen' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-powerpoint'
Remove-ItemProperty -Path $k -Name 'WarnOnOpen' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-excel'
Remove-ItemProperty -Path $k -Name 'WarnOnOpen' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\ms-access'
Remove-ItemProperty -Path $k -Name 'WarnOnOpen' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Wow6432Node\Microsoft\Internet Explorer\ProtocolExecute\vnd.libreoffice.command'
Remove-ItemProperty -Path $k -Name 'WarnOnOpen' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Application
Collabora Office / LibreOffice (Collabora) — November 2026 templates
Official templates downloaded on November 12, 2026.