Ask Your Question
0

4.2 Registry configuration backend not applying all settings [closed]

asked 2014-02-07 14:31:02 +0200

episodeiv gravatar image

updated 2015-08-31 08:24:53 +0200

Alex Kemp gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-03-01 01:09:37.364033

3 Answers

Sort by » oldest newest most voted
1

answered 2014-02-07 22:12:29 +0200

Andras Timar gravatar image

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
edit flag offensive delete link more

Comments

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..

winfried gravatar imagewinfried ( 2014-03-27 10:43:40 +0200 )edit
0

answered 2014-07-22 17:27:34 +0200

blank gravatar image

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

edit flag offensive delete link more
0

answered 2014-06-24 21:49:08 +0200

pitpit gravatar image

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

edit flag offensive delete link more

Comments

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 ...(more)

pitpit gravatar imagepitpit ( 2014-06-24 22:38:41 +0200 )edit

Question Tools

2 followers

Stats

Asked: 2014-02-07 14:31:02 +0200

Seen: 2,253 times

Last updated: Jul 22 '14