Sometime in March 2023, the option to create a new text document disappeared from the Windows 11 context menu (Right Click Menu). Here's one way to replace it that I know works as of 2023/04/06.
(First backup the Registry.)
HKEY_CLASSES_ROOT
and look for a .txt
key. If none exist, create one..txt
key, create two new Strings: Content Type
and PerceivedType
.Default
should be txtfile
.Content Type
should be text/plain
.PerceivedType
should be text
.ShellNew
within the .txt
key.ShellNew
key, create a new String with the name NullFile
.ShellNew
key, create a new Expandable String Value with the name ItemName
.ItemName
should be @%SystemRoot%\system32\notepad.exe,-470