Hi I have a little problem with the feature of the OpenOffice Document Recovery window.
We run an webservice application which generates OpenOffice text (ODT) reports automatically.
Sometimes there are tiny errors in the definition files which can't be prevented when automatically generate those documents based on customer input.
After the odt file is generated we use Openoffice automation by starting OpenOffice, open the regenerated file, update the table of content and save/export it to the ms word format or pdf.
So this runs independently on a server. Everytime one opened document is faulty (once a week) and the application closes, the next time the openoffice is started, the Recovery window appears and will blocks any automation with it...
So is there a way to deactivate this feature? So that it won't block OpenOffice Automation on a server?
How to deactivate the "OpenOffice Document Recovery" Window!
How to deactivate the "OpenOffice Document Recovery" Window!
OpenOffice 4.0 on Windows 7
Re: How to deactivate the "OpenOffice Document Recovery" Win
It's not something I've worked with, but based on suggestions to users who get stuck in an "endless recovery loop" sometimes deleting the Recovery.xcu file can stop the recovery window from appearing. ([Solved] Stuck in Document Recovery) You could try having your program, before it starts openoffice, check for a Recovery.xcu file and deleting it if it exists?
OpenOffice 4.1.1 on Windows 10, HSQLDB 1.8 split database
Re: How to deactivate the "OpenOffice Document Recovery" Win
I am working with OpenOffice 4.1.1.
I couldn't find any file Recovery.xcu yet, but it hasn't crashed again. But I found something else which I will test now.
My configuration file path structure is: C:\Users\...\AppData\Roaming\OpenOffice\4\user
and there is a file with the name: registrymodifications.xcu
I had a quick look into the xml file and found an interesting entry which was set to TRUE.
I try to set it to false and see what happens 
Right now after changing this entry, the document generation and everything is still working...
Do you know anything about this setting?
If this prevents any Recovery info windows popping up for one week I consider this problem solved and will mark it as that
All the other infos in this forum referred to older versions where the path and file structure seemed a bit different. So I couldn't find any data or registry folder in my OpenOffice configuration folder.
I couldn't find any file Recovery.xcu yet, but it hasn't crashed again. But I found something else which I will test now.
My configuration file path structure is: C:\Users\...\AppData\Roaming\OpenOffice\4\user
and there is a file with the name: registrymodifications.xcu
I had a quick look into the xml file and found an interesting entry which was set to TRUE.
Code: Select all
<item oor:path="/org.openoffice.Office.Recovery/RecoveryInfo">
<prop oor:name="Crashed" oor:op="fuse">
<value>true</value>
</prop>
</item>
Right now after changing this entry, the document generation and everything is still working...
Do you know anything about this setting?
If this prevents any Recovery info windows popping up for one week I consider this problem solved and will mark it as that
All the other infos in this forum referred to older versions where the path and file structure seemed a bit different. So I couldn't find any data or registry folder in my OpenOffice configuration folder.
OpenOffice 4.0 on Windows 7
- Hagar Delest
- Moderator
- Posts: 33693
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: How to deactivate the "OpenOffice Document Recovery" Win
You can test that: create a file and save it once, then in the task manager (Ctrl+Shift+Esc), kill the soffice.bin process. Then restart AOO and see if the change in the setting you've found has any effect.
Please add [Solved] at the beginning of the title in your first post (top of the topic) with the edit button if your issue has been fixed.
Please add [Solved] at the beginning of the title in your first post (top of the topic) with the edit button if your issue has been fixed.
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE 7 Gigi) and 25.2 portable on Windows 11.
Re: How to deactivate the "OpenOffice Document Recovery" Win
No it didn't have any effect 
I hope somebody here can point me in the right direction for OpenOffice 4.1.1
I hope somebody here can point me in the right direction for OpenOffice 4.1.1
OpenOffice 4.0 on Windows 7