Right-click menu item to create Writer document missing

In Windows 10, when I right-click in a folder and select the menu item “New”, there are options to create several kinds of documents, but not for Writer or Calc However, there is one for an “OpenDocument Drawing”.

After a new install of LibreOffice, the option to create Writer and Calc documents does show up in the right-click New menu. But after a few restarts, next time I look, only the Draw document remains. This cycle has happened several times, over at least a couple years.

I have followed other advice, and set the appropriate registry entry, for example for Writer:
Computer\HKEY_CLASSES_ROOT.odt\LibreOffice.WriterDocument.1\ShellNew
to the appropriate file, which I have created:
C:\Program Files\LibreOffice\share\template\shellnew\soffice.odt

This ability to create a new Writer document exactly in the folder where you need it with a right-click is very handy. Any ideas on why it disappears, and only the Draw document option remains?

Have you got Microsoft Office installed too? If yes - does MS Office claim to be THE application for “New Spreadsheet*”, “New Text Document” etc… and does Draw only remain due to the fact that there is no equivalent application for Draw in MS Office?

Yes, MS Office is installed too. I hear you, that sounds like a clue, since Draw is unique to LibreOffice. However, in the right-click New menu, there are separate options for “Microsoft Word Document” and the other Office apps. And I just checked File Associations in the Windows settings, and .odt is set to LibreOffice Writer.

The only fix to this I have found is to re-install LibreOffice. All the OpenDocument options then show up in the file folder right-click menu.

… until MS Office and/or Windows Update changes it next time.

Yes, it will probably go away again. But the feature is so useful, at least to me, I am keeping the LO install file handy, and will just reinstall again if needed.

You have to shift the ShellNew Key in the Registry location

Computer\HKEY_CLASSES_ROOT\ .odt\LibreOffice.WriterDocument.1

into the higher level

Computer\HKEY_CLASSES_ROOT\ .odt

It should look like this then

Computer\HKEY_CLASSES_ROOT\ .odt\ShellNew

Then it works.

You can do so, by creating a new key in the folder

Computer\HKEY_CLASSES_ROOT\ .odt

named “ShellNew”. Then create a new string named “FileName” inside that key and copy the path from the string “FileName” in

Computer\HKEY_CLASSES_ROOT\ .odt\LibreOffice.WriterDocument.1

to the new one in

Computer\HKEY_CLASSES_ROOT\ .odt\ShellNew

And you’re done.

Aha, that works! Finally. Thanks. Wish the install did this by default. Just a note that wherever it says “\HKEY_CLASSES_ROOT.odt” in your answer there should be a slash before the .odt to show it is another level as in “\HKEY_CLASSES_ROOT.odt”.

Cheers. Actually formated it this way, but somehow it got changed by the webpage. Changed it now

wish I could upvote, this made my work way faster and my life way simpler, thanks for the tip ^^

Worked! FYI 7.0.4 didn’t repair the missing New Item object at all on my W10_20H2 box, so this had to be manually fixed anyway. Anyone know how I might upload my functional hive export so that others can simply run it to fix their problem?

Magic! Thank you, Mamoru800!

Thanks! That worked for me!