4.2 Registry configuration backend not applying all settings

I’m trying to use the new registry configuration backend that was added in 4.2 with the ultimate goal of concocting some admxfiles for easy Active Directory-based configuration.

I have tried to set multiple values by hand in the registry, but only succeeded with one I got from a presentation on that subject.

Using the following registry file sets the appropriate option in the UI and stops the user from changing it:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common\Security\Scripting\WarnCreatePDF]
"Value"="true"
"Final"=dword:00000001

But taking an example from the release notes has no apparent affect:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.UserProfile\Data\o]
"Value"="Example Corp."
"Final"=dword:00000001

Using those settings, I don’t see the organization value set in the UI. All other settings I’ve tried (setting the work path at HKEY_CURRENT_USER\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Paths\Paths\org.openoffice.Office.paths:NamedPath['Work'], setting the default file format etc.) don’t have any effect either.

Is there anything I’m missing?

Regards,
Dennis

I tested 4.2.0.4 on Windows 7 (32-bit), and I set some random settings here and there. All worked…

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice]
    
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common\Security]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common\Security\Scripting]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common\Security\Scripting\WarnCreatePDF]
"Value"="true"
"Final"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common\Security\Scripting\WarnSignDoc]
"Value"="true"
"Final"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.OptionsDialog]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.OptionsDialog\OptionsDialogGroups]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.OptionsDialog\OptionsDialogGroups\ProductName/#fuse]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.OptionsDialog\OptionsDialogGroups\ProductName/#fuse\Pages]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.OptionsDialog\OptionsDialogGroups\ProductName/#fuse\Pages\OnlineUpdate/#fuse]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.OptionsDialog\OptionsDialogGroups\ProductName/#fuse\Pages\OnlineUpdate/#fuse\Hide]
"Value"="true"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Setup]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Setup\Product]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Setup\Product\ooName]
"Value"="TimarOffice"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.UserProfile]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.UserProfile\Data]

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.UserProfile\Data\l]
"Value"="Budapest"
"Final"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.UserProfile\Data\o]
"Value"="Timar Company"
"Final"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.UserProfile\Data\street]
"Value"="The Street Where I Live 12."
"Final"=dword:00000001

I have the same problem as episodeiv; from the registry settings as Andras showed only the WarnCreatePDF works.
Andras, do we need to change something to the registrymodifications.xcu as well?

I tried with version 4.2.0, 4.2.1 and 4.2.2, all on Windows 7-64 professional.
I want to use the group policies on our network to ‘synchronize’ some settings in the company, but then I need to get it to work on a single machine first…

I’m trying to use this nice feature using this key :

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common\Cache\GraphicManager\TotalCacheSize/#fuse
“Value” = “209715200”

And it does not work. there is no modification in memory settings (4.2.5 /x64)

even trying with the example

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.UserProfile\Data\o]
“Value”=“Example Corp.”
“Final”=dword:00000001

nothing added

can someone provide a REG file that we could use to test this feature ?

Pierre

I’ve used this adm file with GPO

CLASS MACHINE

CATEGORY “LibreOffice”

POLICY “Cache”
KEYNAME
“SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common\Cache\GraphicManager\TotalCacheSize/#fuse
EXPLAIN “Cache mémoire”
PART “explication part.” TEXT END PART
PART “Default value: Do not warn” TEXT END PART
PART Value DROPDOWNLIST
VALUENAME Value
ITEMLIST
NAME “100 Mo” VALUE “104857600”
NAME “200 Mo” VALUE “209715200”
END ITEMLIST
END PART
END POLICY

POLICY “WarnCreatePDF”
KEYNAME
“Software\Policies\LibreOffice\org.openoffice.Office.Common\Security\Scripting\WarnCreatePDF”
EXPLAIN “Specifies whether to warn when creating PDF documents with personal/hidden data.”
PART “Specifies whether to warn when creating PDF documents with personal/hidden data.” TEXT END PART
PART “Default value: Do not warn” TEXT END PART
PART Value DROPDOWNLIST
VALUENAME Value
ITEMLIST
NAME “Warn” VALUE “true”
NAME “Do not warn” VALUE “false”
END ITEMLIST
END PART
PART Final CHECKBOX
VALUENAME Final
END PART
END POLICY
END CATEGORY

Of course WarnCreate PDF works fine, but not TotalCacheSize

I just want to chnage this setting :
268435456

Can someone help me and told me what am I doing wrong ?

get path working with using this

 Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common\Path]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common\Path\Current]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Common\Path\Current\AutoCorrectf]
    "Value"="$(insturl)/share/autocorr;$(userurl)/autocorr"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Paths]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Paths\Paths]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Paths\Paths\NamedPath['AutoCorrect']]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Paths\Paths\NamedPath['AutoCorrect']\IsSinglePath]
    "Value"="true"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Paths\Paths\NamedPath['AutoCorrect']\UserPaths]
    "Value"="file:///u:/1;file:///u:/2"

    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\LibreOffice\org.openoffice.Office.Paths\Paths\NamedPath['AutoCorrect']\WritePath]
    "Value"="file:///w:/1;file:///w:/2"

u can use multiple path separated by ;

IsSinglePath ( true ou false) keep only UserPath when is set true
path must be write like this file:///drive:/path/subpath/
$(userurl) and $(insturl) are full path of lo setup and le userprofile