Missing New Text Document Option from File or Right Click Menu

I’ ve no idea, when this occurred but due to some technical malfunction, or
virus issue or might be uninstallation of any text editor; I lost the option to
create a New Text Document from the right click menu as well from the
File menu of Windows.

As the Context Menu is totally controlled by Registry entries. So I decided
to troubleshoot it.

After exploring net few moments, I found lots of ways to restore this and
tried almost all of them. Among working ones, few were easy to use I am posting
them here.

Option 1 – Download the registry key fix:

  • Downlaod the registry fix: notepad.zip
    and save it to your desktop
  • Inside the .zip archive you will find notepad.reg
  • Double-click on notepad.reg and select Yes
    to import the information into your registry
  • Log out of the computer and log back in (no need to restart)

Option 2 – Create your own registry fix file:

  • Copy everything between the stars ***** into your
    clipboard.
  *****

Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.txt]
“Content Type”=”text/plain”
@=”txtfile”
“PerceivedType”=”text”
[HKEY_CLASSES_ROOT\.txt\OpenWithList]
[HKEY_CLASSES_ROOT\.txt\PersistentHandler]
@=”{5e941d80-bf96-11cd-b579-08002b30bfeb}”
[HKEY_CLASSES_ROOT\.txt\shell]
[HKEY_CLASSES_ROOT\.txt\shell\open]
[HKEY_CLASSES_ROOT\.txt\shell\open\command]
@=”notepad.exe %1″
[HKEY_CLASSES_ROOT\.txt\ShellNew]
“NullFile”=””

*****

  • Click on Start (or Windows Button in Vista)
  • Click on Run…
  • Enter notepad.exe and hit Enter
  • Paste the contents of your clipboard into your notepad document and save
    it as notepad.reg.  If you haven’t disabled “hiding file
    extensions” or you don’t know what that is, follow the instructions
    in Option 1
  • Double-click on notepad.reg and select Yes
    to import the information into your registry
  • Log out of the computer and log back in (no need to restart)

Option 3 – Make entries in Registry:

  • Click on Start (or Windows Button in Vista)
  • Click on Run…
  • Enter regedit and hit Enter It will open
    the editor
  • Navigate if the key HKEY_CLASSES_ROOT\.txt\ShellNew\NullFile exists
    ? (Notice DOT before txt)
  • If it doesn`t exist,create it. Just right click in the right hand pane of
    the ShellNew key,
    and select New/String value, then type: NullFile

Option 4 – Make manual entry for text type from user interface (easiest
one):

  • I was missing the option from Windows File Toolbar too
  • I opened My Computer > Tools > Folder Options > File
    Types
    . Windows had lost file associations for TXT files.


  • I entered TXT in the File Extension field opted Text
    Document as Associated File Type and clicked OK.
     
'Coz sharing is caring