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





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 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 If changes are not applied immediately, then either restart explorer process, sign out and sign in, or restart the computer to apply.

8 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 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 If changes are not applied immediately, then either restart explorer process, sign out and sign in, or restart the computer to apply.

8 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

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,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • 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
    Windows 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

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,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • 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
    Windows Defender
How do I replace this context menu item with "Edit in VSCode" ?
 

My Computer

System One

  • 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

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,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • 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
    Windows Defender
Hi. I've used the "Add_Edit_in_Notepad_context_menu_for_current_user.reg" tweak on two Win 11 computers and on one it adds Edit in Notepad to both the new and classic context menu and on the other it only adds it to the new menu. I've tried the removing file on the first computer and it removes both links. I've also tried the 'all user' versions and get the same. I realise that this is only intended to add it to the new style menu. I'd like to get on both menus on both computers. Any clues on what I need to do. Cheers - Andy
 

My Computers

System One System Two

  • OS
    Win 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC 11 i3
    CPU
    11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz 3.00 G
    Memory
    16GB
    Hard Drives
    WD_BLACK SN850 500GB
    Crucial CT2000MX500SSD1
  • Operating System
    Win 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5490
    CPU
    Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz 1.90 GHz
    Memory
    16GB
    Hard Drives
    ADATA SX8200PNP
Hi. Please ignore or delete my post above. There seems to be various fixes to resolve this. I've tried too many an must have messed up the registry. A quick reinstall of Win 11 this morning gives 'Edit in Notepad' on the new and classic left-click panel by default. Cheers - Andy
 

My Computers

System One System Two

  • OS
    Win 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC 11 i3
    CPU
    11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz 3.00 G
    Memory
    16GB
    Hard Drives
    WD_BLACK SN850 500GB
    Crucial CT2000MX500SSD1
  • Operating System
    Win 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude E5490
    CPU
    Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz 1.90 GHz
    Memory
    16GB
    Hard Drives
    ADATA SX8200PNP

Latest Support Threads

Back
Top Bottom