หากคุณต้องการ ลบ Edit with Photos และ Edit with Paint 3D ออกจาก Right-click Context Menu นี่คือวิธีการ เมื่อคลิกขวาที่รูปภาพบน Windows 10 จะแสดง 2 ตัวเลือก – Edit with Photos และ Edit with Paint 3D หากคุณไม่ใช้บนคอมพิวเตอร์เพื่อแก้ไขรูป ควรลบออกเพื่อให้ Context Menu ไม่แออัด

แอป Photos และ Paint 3D เป็น 2 ในแอปฟรีและ Pre-installed บน Windows 10 ให้ผู้ใช้ Edit รูปภาพบนพื้นฐาน จากการเพิ่ม Effect ง่ายๆ ไปจนถึงเปลี่ยนขนาดและ Resolution รูปภาพ ทำได้เกือบหมดในทั้ง 2 แอป แทนที่จะเปิด App แล้วเปิดรูป คุณสามารถคลิกขวาที่รูป และเลือกตัวเลือกตามต้องการ
ก่อนเริ่ม แนะนำ Backup Registry files ทั้งหมด เผื่ออะไรผิดพลาด
วิธีลบ Edit with Photos จาก Context Menu
เพื่อลบ Edit with Photos จาก Context Menu ทำตามขั้นตอน:
- กด Win+R เปิด Run prompt
- พิมพ์ regedit กด Enter
- คลิก Yes ใน UAC prompt
- ไปที่ ShellEdit ใน HKEY_CLASSES_ROOT
- คลิกขวา ShellEdit > New > String Value
- ตั้งชื่อ ProgrammaticAccessOnly
กด Win+R พิมพ์ regedit กด Enter ถ้า UAC prompt คลิก Yes เปิด Registry Editor ไปที่พาธ:
HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellEdit
คลิกขวา ShellEdit เลือก New > String Value

ตั้งชื่อ ProgrammaticAccessOnly เสร็จขั้นตอนนี้ คลิกขวารูปภาพ จะไม่เห็น Edit with Photos อีก
หากต้องการคืนตัวเลือก เปิด Notepad วางข้อความต่อไปนี้:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellEdit]
"ActivatableClassId"="App.AppX65n3t4j73ch7cremsjxn7q8bph1ma8jw.mca"
"Extended"=-
"ProgrammaticAccessOnly"=-
"PackageId"="Microsoft.Windows.Photos_2017.39091.15730.0_x64__8wekyb3d8bbwe"
"ContractId"="Windows.File"
"DesiredInitialViewState"=dword:00000000
@="@{Microsoft.Windows.Photos_2017.39091.15730.0_x64__8wekyb3d8bbwe?ms-resource://Microsoft.Windows.Photos/Resources/EditWithPhotos}"
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellEdit\command]
"DelegateExecute"="{4ED3A719-CEA8-4BD9-910D-E252F997AFC2}"
Save ไฟล์ด้วย Extension .reg หลัง Save Double-click ไปตามหน้าจอ
อย่าลืม Restart คอมพิวเตอร์ เพื่อคืนตัวเลือก
วิธีลบ Edit with Paint 3D จาก Context Menu
เพื่อลบ Edit with Paint 3D จาก Context Menu ทำตามขั้นตอน:
- เปิด Notepad
- วางข้อความต่อไปนี้
- คลิก File > Save As
- ตั้งชื่อพร้อม Extension .reg
- ขยาย Save as type List เลือก All Files
- เลือก Path คลิก Save
- Double-click ไฟล์ คลิก Yes ยืนยัน
มาดูรายละเอียดขั้นตอน
ขั้นแรก สร้าง .reg file เปิด Notepad วางข้อความ:
Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\SystemFileAssociations\.3mf\Shell\3D Edit] [-HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp\Shell\3D Edit] [-HKEY_CLASSES_ROOT\SystemFileAssociations\.fbx\Shell\3D Edit] [-HKEY_CLASSES_ROOT\SystemFileAssociations\.gif\Shell\3D Edit] [-HKEY_CLASSES_ROOT\SystemFileAssociations\.jfif\Shell\3D Edit] [-HKEY_CLASSES_ROOT\SystemFileAssociations\.jpe\Shell\3D Edit] [-HKEY_CLASSES_ROOT\SystemFileAssociations\.jpeg\Shell\3D Edit] [-HKEY_CLASSES_ROOT\SystemFileAssociations\.jpg\Shell\3D Edit] [-HKEY_CLASSES_ROOT\SystemFileAssociations\.png\Shell\3D Edit] [-HKEY_CLASSES_ROOT\SystemFileAssociations\.tif\Shell\3D Edit] [-HKEY_CLASSES_ROOT\SystemFileAssociations\.tiff\Shell\3D Edit]
คลิก File > Save As

ตั้งชื่อพร้อม .reg (เช่น twc.reg) ขยาย Drop-down Save as type เลือก All Files

เลือก Path ที่ต้องการ Save คลิก Save
Double-click ไฟล์ คลิก Yes ยืนยันการเปลี่ยนแปลง หลังจากนี้ จะไม่เห็น Edit with Paint 3D ใน Context Menu
หากต้องการคืน สร้าง .reg file อีกไฟล์ ด้วยข้อความต่อไปนี้:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.3mf\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.3mf\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.bmp\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.fbx\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.fbx\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.gif\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.gif\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.jfif\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.jfif\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.jpe\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.jpe\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.jpeg\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.jpeg\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.jpg\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.jpg\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.png\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.png\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.tif\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.tif\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00 [HKEY_CLASSES_ROOT\SystemFileAssociations\.tiff\Shell\3D Edit] @="@%SystemRoot%\\system32\\mspaint.exe,-59500" "Extended"=- [HKEY_CLASSES_ROOT\SystemFileAssociations\.tiff\Shell\3D Edit\command] @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,00,31,\ 00,22,00,20,00,2f,00,46,00,6f,00,72,00,63,00,65,00,42,00,6f,00,6f,00,74,00,\ 73,00,74,00,72,00,61,00,70,00,50,00,61,00,69,00,6e,00,74,00,33,00,44,00,00,\ 00
Double-click ไฟล์ อีกครั้ง เลือก Yes ยืนยัน เสร็จแล้ว จะเห็น Edit with Paint 3D อีกครั้ง
เสร็จแล้ว!