Add Notepad to Right-click new menu in Windows 7

Here's what my right-click menu looks like:

enter image description here

There used to be a "New Text Document" item there but it's gone.

Here's my registry value:

enter image description here

Any idea how to fix it?


For Windows 7 you can use Remove or Restore "text Document" reg key just execute it.

Download this registry key and extract it form the zip folder or you can run through the zip archive as well. Just double click on the file and add it in the registry. However you can write down the following key on your notepad and save it with the desired name but I'll say give a valuable name to it like notepad.reg. .REG is an extension which should be include otherwise it will save as a normal text document.

[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"=""   

Registry entries are copied form this source.


On Win7 I have following ShellNew

[HKEY_CLASSES_ROOT\.TXT\ShellNew]
;"ItemName"="@%SystemRoot%\system32\notepad.exe,-470"
"ItemName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
"NullFile"=""

Go to the address below and download the free program named DeskIntegrator (portable). With it, you can add any app to the Desktop's right click menu.

http://vishal-gupta.deviantart.com/art/DeskIntegrator-181505934

enter image description here