Categories
Laptop Microsoft

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

By Swatantra Kumar

Swatantra is an engineering leader with a successful record in building, nurturing, managing, and leading a multi-disciplinary, diverse, and distributed team of engineers and managers developing and delivering solutions. Professionally, he oversees solution design-development-delivery, cloud transition, IT strategies, technical and organizational leadership, TOM, IT governance, digital transformation, Innovation, stakeholder management, management consulting, and technology vision & strategy. When he's not working, he enjoys reading about and working with new technologies, and trying to get his friends to make the move to new web trends. He has written, co-written, and published many articles in international journals, on various domains/topics including Open Source, Networks, Low-Code, Mobile Technologies, and Business Intelligence. He made a proposal for an information management system at the University level during his graduation days.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.