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


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
Edit_in_Notepad_shift+context_menu.webp





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}"="Edit in Notepad"

4 Save the .reg file to your desktop.

5 If you have Smart App Control turned on, you will need to unblock the downloaded REG file.

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

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

8 If changes are not applied immediately, then either restart explorer process, sign out and sign in, or restart the computer to apply.

9 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}"="Edit in Notepad"

4 Save the .reg file to your desktop.

5 If you have Smart App Control turned on, you will need to unblock the downloaded REG file.

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

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

8 If changes are not applied immediately, then either restart explorer process, sign out and sign in, or restart the computer to apply.

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


That's it,
Shawn Brink


 

Attachments

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 My Computer

At a glance

Win 11 Enterprisei7
OS
Win 11 Enterprise
Computer type
Laptop
CPU
i7
Hard Drives
SSD
don't remove on old context menu
 

My Computer My Computer

At a glance

Windows 11
OS
Windows 11
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 My Computer

At a glance

Windows 10, Pro for Workstationscore 2 duo E74004G DDR2NVIDIA Geforce 6200 TurboCache
OS
Windows 10, Pro for Workstations
Computer type
PC/Desktop
Manufacturer/Model
Custom
CPU
core 2 duo E7400
Motherboard
MSI G31M3-L V2 (MS-7529)
Memory
4G DDR2
Graphics Card(s)
NVIDIA Geforce 6200 TurboCache
Sound Card
None
Monitor(s) Displays
Philips TV 43PFG5102/78
Screen Resolution
1920x1080
Hard Drives
HDD: Old 930gb, Second HDD 698gb
PSU
300W
Case
Goldship
Cooling
default
Keyboard
Exbom
Mouse
Exbom
Internet Speed
600mb
Browser
Opera
Antivirus
Windows Segurity
Other Info
I no longer have my old computer—the one with the Ryzen 5500, GeForce 1650 Super, and 16GB of DDR4 3200 MHz RAM.
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 My Computer

At a glance

Win 11 Enterprisei7
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 My Computer

At a glance

Windows 11 Pro
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 My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
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 My Computer

At a glance

Windows 11 Pro
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 My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
How do I replace this context menu item with "Edit in VSCode" ?
 

My Computer My Computer

At a glance

Windows 11AMD Ryzen 5 5600X 3.70GHz32GB DDR4Nvidia GTX 1070
OS
Windows 11
Computer type
PC/Desktop
CPU
AMD Ryzen 5 5600X 3.70GHz
Memory
32GB DDR4
Graphics Card(s)
Nvidia GTX 1070
Screen Resolution
2560x1080
Browser
Firefox
How do I replace this context menu item with "Edit in VSCode" ?
Hello, :alien:

You don't with this context menu, but you could create a new one with the code below as a REG file.

You'll just need to edit the icon file path you want to use (if wanted), and edit the full path of the VSCode exe file.

Code:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\Edit in VSCode]
"Icon"="VSCode.exe"

[HKEY_CLASSES_ROOT\*\shell\Edit in VSCode\command]
@="<full path of VSCode.exe file> %1"
 

My Computers My Computers

  • At a glance

    Windows 11 Pro for WorkstationsIntel i7-8700K 5 GHz64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600...ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GD...
    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,
    TerraMaster F8 SSD Plus NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Amazon Basics Wired Full Keyboard MD005
    Mouse
    Logitech MX Master 4
    Internet Speed
    2 Gbps Download and 100 Mbps Upload
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • At a glance

    Windows 11 ProSnapdragon X Elite (12 core) 3.42 GHz16 GB LPDDR5x-7467 MHz
    Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Microsoft Defender
For the new Notepad++ shell extension there is a recommended way to unregister ist: see here.
However this didn't work for me. I blocked the guid of NppShell.dll like shown in intial post which is {e6950302-61f0-4feb-97db-855e30d4a991}.
 

My Computer My Computer

At a glance

Windows 11 ProIntel Core i5-45902 x 8GB (Corsair CML16GX3M2A1600C9)Intel HD Graphics 4600 + Nvidia GeForce GT 1030
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
Intel Core i5-4590
Motherboard
Asus H97-PRO
Memory
2 x 8GB (Corsair CML16GX3M2A1600C9)
Graphics Card(s)
Intel HD Graphics 4600 + Nvidia GeForce GT 1030
Hard Drives
Samsung SSD 970 EVO Plus 1TB

Latest Support Threads

Back
Top Bottom