Open in the explorer

Path of My Documents folder

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Collabora Office › Common › Paths User Configuration › Policies › Administrative Templates › Collabora Office › Common › Paths
Supported on
Collabora Office 5.3-49 or higher
ADMX file
Collabora-Office.admx
Internal name
Collabora-Office/MyDocuments

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['Work']\WritePath
HKEY_CURRENT_USER\Software\Policies\LibreOffice\org.openoffice.Office.Paths\Paths\org.openoffice.Office.Paths:NamedPath['Work']\WritePath
Value name
not defined in the ADMX
StateValue written
Enabled
KeyValueData
Software\Policies\LibreOffice\org.openoffice.Office.Common\Path\Current\WorkValueREG_SZ = (empty string)
Software\Policies\LibreOffice\org.openoffice.Office.Common\Path\Current\WorkNilREG_DWORD = 1
Disablednot 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/MyDocuments
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.Office.Common\Path\Current\Work'
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[''Work'']\WritePath'
if (-not (Test-Path -LiteralPath $k)) { New-Item -Path $k -Force | Out-Null }
# Path
Set-ItemProperty -LiteralPath $k -Name 'Value' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

# Revert to "Not configured": Collabora-Office/MyDocuments
$k = 'HKLM:\Software\Policies\LibreOffice\org.openoffice.Office.Common\Path\Current\Work'
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[''Work'']\WritePath'
Remove-ItemProperty -LiteralPath $k -Name 'Value' -ErrorAction SilentlyContinue
Remove-ItemProperty -LiteralPath $k -Name 'Final' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (2)

LabelControlRegistry valueREG typeConstraints / details
Path:WritePathValueText boxtextValueREG_SZ
Required · Default (UI): $(work)
FinalWritePathFinalCheck boxbooleanFinalREG_DWORD
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0

Application

Collabora Office / LibreOffice (Collabora) — November 2026 templates

Official templates downloaded on November 12, 2026.