Path of Backup files
Explanation
Directory and file paths must be entered using file URL syntax, as described below.
Local drive or network drive mapped to a drive letter, such as C:
file:///C:/path/file.ext
UNC path
file://server/share/path/file.ext
Spaces and non-ASCII characters must be URL encoded, e.g. space must be written as %20.
The following path variables can be used:
$(inst) = location of installation
$(user) = location of user's profile
$(username) = users login name without the domain name (since version 5.2)
$(work) = user's My Documents folder
$(home) = user's home directory
$(temp) = location of user's temporary files
$(vlang) = current language code (e.g. en-US, fr, hu)
Set paths in path lists have to be separated by spaces.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\LibreOffice\org.openoffice.Office.Paths\Paths\org.openoffice.Office.Paths:NamedPath['Backup']\WritePathHKEY_CURRENT_USER\Software\Policies\LibreOffice\org.openoffice.Office.Paths\Paths\org.openoffice.Office.Paths:NamedPath['Backup']\WritePath- Value name
- not defined in the ADMX
| State | Value written | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Enabled |
| |||||||||
| Disabled | 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.
Computer (HKLM)
Enable
# Enable: Collabora-Office/Backup
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.Office.Common\Path\Current\Backup'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Value' -Value '' -Type String
Set-ItemProperty -Path $k -Name 'Nil' -Value 1 -Type DWord
# Final
# unchecked: Final=0
Set-ItemProperty -Path $k -Name 'Final' -Value 1 -Type DWord
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.Office.Paths\Paths\org.openoffice.Office.Paths:NamedPath[''Backup'']\WritePath'
if (-not (Test-Path -LiteralPath $k)) { New-Item -Path $k -Force | Out-Null }
# Path
Set-ItemProperty -LiteralPath $k -Name 'Value' -Value '<value>' -Type StringDisable
# Disable: Collabora-Office/Backup
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Collabora-Office/Backup
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.Office.Common\Path\Current\Backup'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Nil' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Final' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.Office.Paths\Paths\org.openoffice.Office.Paths:NamedPath[''Backup'']\WritePath'
Remove-ItemProperty -LiteralPath $k -Name 'Value' -ErrorAction SilentlyContinue
Remove-ItemProperty -LiteralPath $k -Name 'Final' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (2)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Path:WritePathValue | Text boxtext | Value | REG_SZ | Required · Default (UI): $(user)/backup |
| FinalWritePathFinal | Check boxboolean | Final | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
Application
Collabora Office / LibreOffice (Collabora) — November 2026 templates
Official templates downloaded on November 12, 2026.