Personalization Add or Remove "Edit in Notepad" Context Menu in Windows 11


  • Staff
Notepad_banner.png

This tutorial will show you how to add or remove the "Edit in Notepad" context menu for your account or all users in Windows 11.

Notepad is a fast and simple text editor that can be used to view, edit, and search through plain text documents instantly.

Starting with Notepad version 11.2311.33.0, you can now easily access Notepad for file modifications directly from File Explorer. Just right-click on any file or multiple files in File Explorer to find the Edit in Notepad option in the context menu, a quick and streamlined way to open and edit files in Notepad.

If you don't want this new Edit in Notepad item in the context menu, it can be removed.


Contents

  • Option One: Add or Remove "Edit in Notepad" Context Menu for Current User
  • Option Two: Add or Remove "Edit in Notepad" Context Menu for All Users


EXAMPLE: "Edit in Notepad" context menu

Edit_in_Notepad_context_menu.png





Option One

Add or Remove "Edit in Notepad" Context Menu for Current User


1 Do step 2 (add) or step 3 (remove) below for what you would like to do.

2 Add "Edit in Notepad" Context Menu for Current User

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Add_Edit_in_Notepad_context_menu_for_current_user.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{CA6CC9F1-867A-481E-951E-A28C5E4F01EA}"=-

3 Remove "Edit in Notepad" Context Menu for Current User

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Remove_Edit_in_Notepad_context_menu_for_current_user.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{CA6CC9F1-867A-481E-951E-A28C5E4F01EA}"=""

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded .reg file if you like.




Option Two

Add or Remove "Edit in Notepad" Context Menu for All Users


You must be signed in as an administrator to use this option.


1 Do step 2 (add) or step 3 (remove) below for what you would like to do.


 2. Add "Edit in Notepad" Context Menu for All Users

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Add_Edit_in_Notepad_context_menu_for_all_users.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{CA6CC9F1-867A-481E-951E-A28C5E4F01EA}"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{CA6CC9F1-867A-481E-951E-A28C5E4F01EA}"=-


 3. Remove "Edit in Notepad" Context Menu for All Users

This will override Option One.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Remove_Edit_in_Notepad_context_menu_for_all_users.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{CA6CC9F1-867A-481E-951E-A28C5E4F01EA}"=""

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded .reg file if you like.


That's it,
Shawn Brink
 

Attachments

  • Notepad.png
    Notepad.png
    21.7 KB · Views: 15
  • Add_Edit_in_Notepad_context_menu_for_current_user.reg
    670 bytes · Views: 22
  • Remove_Edit_in_Notepad_context_menu_for_current_user.reg
    672 bytes · Views: 25
  • Remove_Edit_in_Notepad_context_menu_for_all_users.reg
    674 bytes · Views: 18
  • Add_Edit_in_Notepad_context_menu_for_all_users.reg
    936 bytes · Views: 21
Last edited:
Is there a way to get (extract) a GUID from the NP++ portable and replace it with this key's GUID? :think:
 

My Computer

System One

  • OS
    Win 11 Enterprise
    Computer type
    Laptop
    CPU
    i7
    Hard Drives
    SSD
Is there a way to get (extract) a GUID from the NP++ portable and replace it with this key's GUID? :think:
For NP++
regsvr32 /u NppShell.dll > remove default context menu, add new which can be used as administrator.
1702050546747.png

Code:
Windows Registry Editor Version 5.00

; regsvr32 /u NppShell.dll
; remover context menu padrão do notepad++

[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\ANotepad++64]

[-HKEY_CLASSES_ROOT\CLSID\{B298D29A-A6ED-11DE-BA8C-A68E55D89593}]

[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\ANotepad++]

[-HKEY_CLASSES_ROOT\CLSID\{00F3C2EC-A6EE-11DE-A03A-EF8F55D89593}]

[-HKEY_CLASSES_ROOT\*\shell\ANotepad++64]


; Todos Usuários
; Menu de contexto "Editar com MrBison Notepad++"

[HKEY_CLASSES_ROOT\*\shell\MrBison Notepad++]
@="Editar com MrBison Notepad++"
"icon"="E:\\Aplicativos MrBison\\Notepad++\\Notepad++ Portable.x64\\notepad++.exe"

[HKEY_CLASSES_ROOT\*\shell\MrBison Notepad++\command]
@="\"E:\\Aplicativos MrBison\\Notepad++\\Notepad++ Portable.x64\\notepad++.exe\" \"%1\""

1702050323443.png
 

My Computer

System One

  • OS
    Windows 11, Pro for Workstations, 22631.2861 (23H2)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    Amd Ryzen 5 5500 ("Zen 3") (3.6GHz,45-65W,L3:16M,6/12)
    Motherboard
    Asus Prime B450M Gaming/BR Chipset B450 AMD AM4 mATX DDR4 - BIOS 4002
    Memory
    DDR4 OLOy Owl Black, 8GB, 3200MHZ, (x2)
    Graphics Card(s)
    Colorful GeForce GTX 1650 Super
    Sound Card
    -
    Monitor(s) Displays
    Philips TV 43PFG5102/78
    Screen Resolution
    1920x1080
    Hard Drives
    SSD: 120GB, Sata III, Leitura 560MBs e Gravação 540MBs
    HD: Seagate Barracuda 1TB, Sata III, 7200RPM, 64MB
    PSU
    Corsair ATX CV550 550W, 80 Plus Bronze, PFC Ativo
    Case
    Wheel Jack, Mid Tower, Vidro Temperado, Black
    Cooling
    default
    Keyboard
    common
    Mouse
    commom
    Internet Speed
    600mb
    Browser
    Opera
    Antivirus
    Windows Defender
Thanks, but I am on NP++ portable version (minimal). I have a simple one for both Right-Click and Admin, since years ago:

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Notepad++]
"Icon"="D:\\Portable Apps\\Notepad++\\notepad++.exe"

[HKEY_CLASSES_ROOT\*\shell\Notepad++\command]
@="\"D:\\Portable Apps\\Notepad++\\notepad++.exe\" \"%1\""

s1.png
 

My Computer

System One

  • OS
    Win 11 Enterprise
    Computer type
    Laptop
    CPU
    i7
    Hard Drives
    SSD
anyone figure out where this is in the classic context menu? i have searched and used 3rd party editors but cant find it to remove it...
 

My Computer

System One

  • OS
    Windows 11 Pro
anyone figure out where this is in the classic context menu? i have searched and used 3rd party editors but cant find it to remove it...
Hello mate, :alien:

This "Edit in Notepad" context menu isn't included in the old classic context menu, just the new one so far.

Do you remember adding it using some other method?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
havent been back on here to update as i just figured it out shortly after posting that. it was showing for some reason.. i ran your reg from here, then manually created it with the identical name, then i was able to remove it using Sordum's ECMenu tool. who knows.... Microsoft glitch, i suppose
 

My Computer

System One

  • OS
    Windows 11 Pro
havent been back on here to update as i just figured it out shortly after posting that. it was showing for some reason.. i ran your reg from here, then manually created it with the identical name, then i was able to remove it using Sordum's ECMenu tool. who knows.... Microsoft glitch, i suppose
:shawn:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Back
Top Bottom