New “Text Document” missing from Right-Click menu in Windows 11

When you right-click on the desktop and click “New,” the New menu may not contain the “Text Document” option on your Windows 11 computer. This article tells you how to bring the “Text Document” option back.

Restore Missing “Text Document” to the New menu

To add “Text Document” to the New menu, follow these steps:

  1. Start Regedit.exe and go to:
    HKEY_CLASSES_ROOT\.txt
  2. Create a subkey named “ShellNew” if it doesn’t already exist.
  3. Select the “ShellNew” key and create the following string values (REG_SZ) in the right pane.
    "NullFile"
    
    "ItemName"
  4. Leave the data for NullFile empty.
  5. Double-click ItemName and set “Text Document” as its value data.
  6. Exit the Registry Editor.
  7. Log off and log back in for the changes to take effect.

REG file to automate the above settings

To automate the above steps, download txt_shellnew_windows_11.reg and run it.

FYI, here’s what the REG file contains:



Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.txt\ShellNew]

[HKEY_CLASSES_ROOT\.txt\ShellNew]
"NullFile"=""
"ItemName"="Text Document"

Uninstall and Reinstall Notepad

If the above registry edit doesn’t help, try uninstalling Notepad using PowerShell and reinstalling it via Microsoft Store.

  1. From admin PowerShell, run the following command:
    Get-AppXPackage Microsoft.WindowsNotepad -allusers | remove-appxpackage -allusers
  2. Open Microsoft Store, search for Windows Notepad and install it.
    Windows Notepad - Microsoft Store Apps: https://apps.microsoft.com/store/detail/windows-notepad/9MSMLRH6LZF3

You should now see the “Text Document” entry in the New menu.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

1 thought on “New “Text Document” missing from Right-Click menu in Windows 11”

Leave a Reply