Template Issues

Fix Word and Excel Templates Opening for Editing on Windows 10

Steven ParkerSteven Parker Nov 20, 2026 869 views

Question details

Make double-clicking a Word or Excel template create a new document instead of opening the template for editing.

Fix Word and Excel Templates Opening 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.
Before you start

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.

Solution 1Recommended

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.

1
Open Registry Editor

Press Windows+R, enter regedit, and select OK. Approve the prompt if Windows asks for permission.

2
Find the file type

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.

3
Inspect the shell key

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.

4
Export and set the action

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.

5
Test the template

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.

Set the registered New action as the default
If the New action is missing: Do not invent a command for the New subkey. Use Office repair to restore the registration, then test the template again.
Free Microsoft Office alternative

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.

Start documents and spreadsheets from templates in WPS Writer and WPS SpreadsheetOpen and save common Microsoft Word and Excel formats, including DOCX and XLSXWork in a familiar interface that makes migration easierUse a free, lightweight office suite
microsoft office alternative - wps office

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.