Windows 11 - can't open word template (dotx) file from the explorer to edit.

New Contributor

Using the right click context menu and choosing open on a word template file no longer opens the template, it opens a document copy just like you would get if you double clicked on a template file. 

 

Is there a setting to change this or is this a bug in windows 11 or word?

6 Replies

@cheesetarmac

It is a bug / glitch, but you have to patch wordpad first (save this as a .REG file.)

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Applications\wordpad.exe]
"FriendlyAppName"="@shell32.dll,-22069"

[HKEY_CLASSES_ROOT\Applications\wordpad.exe\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-154"

[HKEY_CLASSES_ROOT\Applications\wordpad.exe\shell]

[HKEY_CLASSES_ROOT\Applications\wordpad.exe\shell\Open]

[HKEY_CLASSES_ROOT\Applications\wordpad.exe\shell\Open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
  00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
  4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
  00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
  45,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\WORDPAD.EXE]
@=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,00,65,\
  00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,4e,00,\
  54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,00,73,\
  00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,\
  00,00
"Path"="%ProgramFiles%\\Windows NT\\Accessories"

 

@cheesetarmac

This one is for .DOCX and wordpad (save as a .REG file) as well...

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.docx]
@="Word.Document.12"
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"PerceivedType"="document"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.docx\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-156"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.docx\OpenWithList]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.docx\OpenWithProgIDs]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.docx\OpenWithList\WordPad.exe]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.docx\PersistentHandler]
@="{2e2294a9-50d7-4fe7-a09f-e6492e185884}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.docx\ShellNew]
"ItemName"=hex(2):40,00,22,00,57,00,6f,00,72,00,64,00,20,00,44,00,6f,00,63,00,\
  75,00,6d,00,65,00,6e,00,74,00,22,00,00,00
"NullFile"=""

[HKEY_CLASSES_ROOT\.docx]
@="Word.Document.12"
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"PerceivedType"="document"

[HKEY_CLASSES_ROOT\.docx\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-156"

[HKEY_CLASSES_ROOT\.docx\OpenWithList]

[HKEY_CLASSES_ROOT\.docx\OpenWithProgIDs]

[HKEY_CLASSES_ROOT\.docx\OpenWithList\WordPad.exe]

[HKEY_CLASSES_ROOT\.docx\PersistentHandler]
@="{2e2294a9-50d7-4fe7-a09f-e6492e185884}"

[HKEY_CLASSES_ROOT\.docx\ShellNew]
"ItemName"=hex(2):40,00,22,00,57,00,6f,00,72,00,64,00,20,00,44,00,6f,00,63,00,\
  75,00,6d,00,65,00,6e,00,74,00,22,00,00,00
"NullFile"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.12]
@="Office Open XML Document"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.12\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-156"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.12\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.12\shell\Open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.12\shell\Open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
  00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
  4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
  00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
  45,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00

[HKEY_CLASSES_ROOT\Word.Document.12]
@="Office Open XML Document"

[HKEY_CLASSES_ROOT\Word.Document.12\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-156"

[HKEY_CLASSES_ROOT\Word.Document.12\shell]

[HKEY_CLASSES_ROOT\Word.Document.12\shell\Open]

[HKEY_CLASSES_ROOT\Word.Document.12\shell\Open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
  00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
  4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
  00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
  45,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00

 

@cheesetarmac

This one is ALSO missing (.ODT) files for Wordpad (save as a .REG file as well.)

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.odt]
@="LibreOffice.WriterDocument.1"
"Content Type"="application/msword"
"PerceivedType"="document"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.odt\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-157"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.odt\OpenWithList]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.odt\OpenWithProgIDs]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.odt\OpenWithList\WordPad.exe]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.odt\PersistentHandler]
@="{2e2294a9-50d7-4fe7-a09f-e6492e185884}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.odt\ShellNew]
"ItemName"=hex(2):40,00,22,00,4f,00,44,00,46,00,20,00,54,00,65,00,78,00,74,00,\
  20,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,74,00,22,00,00,00
"NullFile"=""

[HKEY_CLASSES_ROOT\.odt]
@="LibreOffice.WriterDocument.1"
"Content Type"="application/msword"
"PerceivedType"="document"

[HKEY_CLASSES_ROOT\.odt\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-157"

[HKEY_CLASSES_ROOT\.odt\OpenWithList]

[HKEY_CLASSES_ROOT\.odt\OpenWithProgIDs]

[HKEY_CLASSES_ROOT\.odt\OpenWithList\WordPad.exe]

[HKEY_CLASSES_ROOT\.odt\PersistentHandler]
@="{2e2294a9-50d7-4fe7-a09f-e6492e185884}"

[HKEY_CLASSES_ROOT\.odt\ShellNew]
"ItemName"=hex(2):40,00,22,00,4f,00,44,00,46,00,20,00,54,00,65,00,78,00,74,00,\
  20,00,44,00,6f,00,63,00,75,00,6d,00,65,00,6e,00,74,00,22,00,00,00
"NullFile"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\LibreOffice.WriterDocument.1]
@="OpenDocument Text"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\LibreOffice.WriterDocument.1\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-157"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\LibreOffice.WriterDocument.1\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\LibreOffice.WriterDocument.1\shell\Open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\LibreOffice.WriterDocument.1\shell\Open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
  00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
  4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
  00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
  45,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00

[HKEY_CLASSES_ROOT\LibreOffice.WriterDocument.1]
@="OpenDocument Text"

[HKEY_CLASSES_ROOT\LibreOffice.WriterDocument.1\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-157"

[HKEY_CLASSES_ROOT\LibreOffice.WriterDocument.1\shell]

[HKEY_CLASSES_ROOT\LibreOffice.WriterDocument.1\shell\Open]

[HKEY_CLASSES_ROOT\LibreOffice.WriterDocument.1\shell\Open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
  00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
  4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
  00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
  45,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00

 

@cheesetarmac

You could also install the iFilters for MS Office -> Microsoft Office 2010 Filter Packs -> https://www.microsoft.com/en-us/download/details.aspx?id=17062

 

With .ODT and .DOCX formats, Wordpad utilizes an older version of these formats, so it doesn't make that much sense to have it create a blank file utilizing an actual header (so I just used "null" instead of creating a header. It says it can open MS Word 6.0 documents, as far as the .DOC format, which is definitely NOT an Office XP / 2003 format. It is not listed in the menu options, so I'm not sure if that has been disabled.)

 

Note: It doesn't have to be LibreOffice for .ODT (as the class.) You could pick something else or have the other ones more closely match MS Office 2010 -> https://social.technet.microsoft.com/Forums/ie/en-US/c1f0d283-d74d-4ae4-88f2-62b08b55b458/office-fil...

 

Or you could make it represent the absolute latest standard for the .DOCX format:

 

Office Protocols -> https://docs.microsoft.com/en-us/openspecs/office_protocols/MS-OFFPROTLP/5859f0f1-a929-475b-9b23-554...

 

Misc: "Creating Shortcut Menu Handlers" -> https://docs.microsoft.com/en-us/windows/win32/shell/context-menu-handlers

 

@cheesetarmac 

Last post: This one is for .RTF format in Wordpad: Save as a .REG file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rtf]
@="Word.RTF.8"
"Content Type"="application/msword"
"PerceivedType"="document"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rtf\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-154"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rtf\OpenWithList]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rtf\OpenWithProgIDs]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rtf\OpenWithList\WordPad.exe]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rtf\PersistentHandler]
@="{2e2294a9-50d7-4fe7-a09f-e6492e185884}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.rtf\ShellNew]
"Data"="{\\rtf1}"
"ItemName"=hex(2):40,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,\
  69,00,6c,00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,\
  00,20,00,4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,\
  69,00,65,00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,\
  00,58,00,45,00,2c,00,2d,00,32,00,31,00,33,00,00,00

[HKEY_CLASSES_ROOT\.rtf]
@="Word.RTF.8"
"Content Type"="application/msword"
"PerceivedType"="document"

[HKEY_CLASSES_ROOT\.rtf\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-154"

[HKEY_CLASSES_ROOT\.rtf\OpenWithList]

[HKEY_CLASSES_ROOT\.rtf\OpenWithProgIDs]

[HKEY_CLASSES_ROOT\.rtf\OpenWithList\WordPad.exe]

[HKEY_CLASSES_ROOT\.rtf\PersistentHandler]
@="{2e2294a9-50d7-4fe7-a09f-e6492e185884}"

[HKEY_CLASSES_ROOT\.rtf\ShellNew]
"Data"="{\\rtf1}"
"ItemName"=hex(2):40,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,\
  69,00,6c,00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,\
  00,20,00,4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,\
  69,00,65,00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,\
  00,58,00,45,00,2c,00,2d,00,32,00,31,00,33,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.RTF.8]
@="Rich Text Document"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.RTF.8\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-154"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.RTF.8\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.RTF.8\shell\Open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.RTF.8\shell\Open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
  00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
  4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
  00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
  45,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00

[HKEY_CLASSES_ROOT\Word.RTF.8]
@="Rich Text Document"

[HKEY_CLASSES_ROOT\Word.RTF.8\DefaultIcon]
@="%ProgramFiles%\\Windows NT\\Accessories\\WORDPAD.EXE,-154"

[HKEY_CLASSES_ROOT\Word.RTF.8\shell]

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open]

[HKEY_CLASSES_ROOT\Word.RTF.8\shell\Open\command]
@=hex(2):22,00,25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,00,69,00,6c,\
  00,65,00,73,00,25,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,20,00,\
  4e,00,54,00,5c,00,41,00,63,00,63,00,65,00,73,00,73,00,6f,00,72,00,69,00,65,\
  00,73,00,5c,00,57,00,4f,00,52,00,44,00,50,00,41,00,44,00,2e,00,45,00,58,00,\
  45,00,22,00,20,00,22,00,25,00,31,00,22,00,00,00

 

 

@Mousefluff 

Really appreciate the response. However I'm wanting to get the templates to open in word, not word pad. Have always been able to right click a *.dotx file from explorer and edit the file. It's relatively painful to have to do this from inside word using File - Open