Allow override document locking
Explanation
Specifies whether the user is allowed to override the document locking mechanism in LibreOffice/Collabora Office. If disabled and the document is already opened by another user, the current user can open a document only as a copy or in read only mode.
Registry
HKEY_CURRENT_USER\Software\Policies\LibreOffice\org.openoffice.Office.Common\Misc\AllowOverrideLocking- 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: Collabora-Office/AllowOverrideLocking
$k = 'HKCU:\Software\Policies\LibreOffice\org.openoffice.Office.Common\Misc\AllowOverrideLocking'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enable or disable override locking
# unchecked: false
Set-ItemProperty -Path $k -Name 'Value' -Value 'true' -Type String
# Prevent the user from changing this setting
# value not defined in the ADMX (the GPO editor usually writes 1/0)
# 1 = checked, 0 = unchecked; default state taken from the ADML
Set-ItemProperty -Path $k -Name 'Final' -Value 1 -Type DWordDisable
# Disable: Collabora-Office/AllowOverrideLocking
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Collabora-Office/AllowOverrideLocking
$k = 'HKCU:\Software\Policies\LibreOffice\org.openoffice.Office.Common\Misc\AllowOverrideLocking'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Final' -ErrorAction SilentlyContinueOptions (2)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Enable or disable override lockingValue | Check boxboolean | Value | REG_SZ | Checked: REG_SZ = trueUnchecked: REG_SZ = false |
| Prevent the user from changing this settingFinal | Check boxboolean | Final | REG_DWORD | Checked: implicit: 1Unchecked: implicit: 0 |
Application
Collabora Office / LibreOffice (Collabora) — November 2026 templates
Official templates downloaded on November 12, 2026.