Open in the explorer

Keep printer settings

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Collabora Office › Common › Security User Configuration › Policies › Administrative Templates › Collabora Office › Common › Security
Supported on
Collabora Office 21.06 or higher
ADMX file
Collabora-Office.admx
Internal name
Collabora-Office/KeepDocPrinterSettingsOnSaving

Explanation

Specifies whether to keep printer settings on saving if "Remove personal information on saving" is enabled.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\LibreOffice\org.openoffice.Office.Common\Security\Scripting\KeepDocPrinterSettingsOnSaving
HKEY_CURRENT_USER\Software\Policies\LibreOffice\org.openoffice.Office.Common\Security\Scripting\KeepDocPrinterSettingsOnSaving
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.

Computer (HKLM)

Enable

# Enable: Collabora-Office/KeepDocPrinterSettingsOnSaving
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.Office.Common\Security\Scripting\KeepDocPrinterSettingsOnSaving'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Keep printer settings
# unchecked: false
Set-ItemProperty -Path $k -Name 'Value' -Value 'true' -Type String
# Final
# 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 DWord

Disable

# Disable: Collabora-Office/KeepDocPrinterSettingsOnSaving
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": Collabora-Office/KeepDocPrinterSettingsOnSaving
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.Office.Common\Security\Scripting\KeepDocPrinterSettingsOnSaving'
Remove-ItemProperty -Path $k -Name 'Value' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Final' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (2)

LabelControlRegistry valueREG typeConstraints / details
Keep printer settingsValueCheck boxbooleanValueREG_SZ
Default choice (UI): #0
Checked: REG_SZ = true
Unchecked: REG_SZ = false
FinalFinalCheck boxbooleanFinalREG_DWORD
Checked: implicit: 1
Unchecked: implicit: 0

Application

Collabora Office / LibreOffice (Collabora) — November 2026 templates

Official templates downloaded on November 12, 2026.