Fix Word and Excel Templates Opening for Editing on Windows 10
Question details
Make double-clicking a Word or Excel template create a new document instead of opening the template for editing.

- Product
- Microsoft Word and Microsoft Excel
- Device & OS
- Windows 10
- Scenario
- A user double-clicks a Word or Excel template to start a new document or workbook.
- Observed behavior
- The template opens for editing instead of creating a new document or workbook.
Check the template's file extension, such as .dotx or .xltx, so you can identify its registered file type. If you edit the registry, export the relevant key first in Registry Editor using File > Export.
Set the registered New action as the default
Use this when the template's registered file type already has a working New shell action.
Windows uses the file type's shell configuration to determine what happens when you double-click a template. The exact registered class may differ, particularly for Excel templates.
Press Windows+R, enter regedit, and select OK. Approve the prompt if Windows asks for permission.
In the Registry Editor address bar, enter HKEY_CLASSES_ROOT followed by the extension key, such as HKEY_CLASSES_ROOT\.dotx or HKEY_CLASSES_ROOT\.xltx. Check its (Default) value for the registered class name.
Navigate to HKEY_CLASSES_ROOT\<class name>\shell using the class name you found. Common Word classes include Word.Template.12 for .dotx, Word.TemplateMacroEnabled.12 for .dotm, and Word.Template.8 for .dot.
Select the shell key and choose File > Export. If a New subkey with an existing command is present, double-click the shell key's (Default) value, set its value data to New, and select OK.
In File Explorer, double-click the template and check that Word or Excel creates a new document or workbook instead of opening the template itself.

Repair Microsoft Office template registrations
Use Office repair if the New action is missing or the registry change does not resolve the problem.
Create documents and workbooks with WPS Office templates
WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for a smoother move to another office suite. It does not repair Microsoft Office's Windows shell actions.

Frequently Asked Questions
Why does double-clicking a template open it for editing?
The registered file type may use Open rather than New as its default Windows shell action. Check the file type's shell key in Registry Editor or repair Microsoft Office.
Which registry key controls a Word .dotx template?
A common class is HKEY_CLASSES_ROOT\Word.Template.12\shell. To confirm the class on your computer, check the (Default) value of HKEY_CLASSES_ROOT\.dotx.
How do I find the registry class for an Excel template?
In Registry Editor, open the extension key under HKEY_CLASSES_ROOT, such as HKEY_CLASSES_ROOT\.xltx, and read its (Default) value. Then inspect the shell key under that class.
What should I do if the New shell action is missing?
Do not create an unverified command. Go to Settings > Apps > Apps & features, select Microsoft Office or Microsoft 365, and use Modify to run a repair.




