ในโพสต์นี้ เราจะแสดงวิธีเพิ่มหรือลบ Default Apps จาก Desktop context menu ใน Windows 11/10 โดยการแก้ไข Windows Registry
เพิ่มหรือลบ Default Apps จาก Desktop context menu
Default app คือโปรแกรมที่ Windows ใช้โดยอัตโนมัติเมื่อคุณเปิดชนิดไฟล์หรือโปรโตคอลเฉพาะบนอุปกรณ์ของคุณ เมื่อล็อกอินในฐานะ administrator บน Windows 11/10 คุณสามารถทำการเปลี่ยนแปลงต่อไปนี้จากหน้า Default apps ใน Settings ซึ่งใช้กับผู้ใช้ปัจจุบัน:
- เลือก default apps/programs สำหรับ Email, Maps, Music หรือ Video player, Photo viewer, และ Web browser
- Reset เป็นค่าเริ่มต้นที่ Microsoft แนะนำ
- เลือก default apps ตามชนิดไฟล์
- เลือก default apps ตามโปรโตคอล
- ตั้งค่า defaults ตาม app
การเพิ่มหรือลบ Default Apps จาก Desktop context menu ใน Windows 11/10 ต้องการให้คุณแก้ไข registry และคุณต้องล็อกอินในฐานะ administrator เพื่อจะสามารถเพิ่มหรือลบ Default apps desktop context menu สำหรับผู้ใช้ทุกคนได้ สำหรับผู้ใช้ Windows 11 เมื่อคุณเพิ่มตัวเลือก Default apps เพื่อเข้าถึงรายการ คุณต้อง Show more options
เนื่องจากนี่คือการดำเนินการกับ Registry ขอแนะนำให้คุณสำรอง Registry หรือสร้าง system restore point เป็นมาตรการป้องกัน
เพื่อเพิ่ม Default Apps เข้า Desktop context menu ใน Windows 11/10 ให้ทำดังนี้:
- กด Windows key + R เพื่อเปิด Run dialog
- ใน Run dialog box พิมพ์ notepad และกด Enter เพื่อเปิด Notepad
- คัดลอกและวางโค้ดด้านล่างลงใน text editor
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\DesktopBackground\Shell\DefaultApps] "MUIVerb"="Default apps" "Position"="Bottom" "Icon"="imageres.dll,-24" [HKEY_CLASSES_ROOT\DesktopBackground\Shell\DefaultApps\command] @="explorer ms-settings:defaultapps"
- คลิกตัวเลือก File จากเมนู และเลือกปุ่ม Save As
- เลือกตำแหน่ง (แนะนำ desktop) ที่คุณต้องการบันทึกไฟล์
- ป้อนชื่อพร้อมนามสกุล .reg (เช่น AddDefApps-DesktopMenu.reg)
- เลือก All Files จาก drop-down list Save as type
- ดับเบิลคลิกไฟล์ .reg ที่บันทึกเพื่อ merge
- หากมี prompt ให้คลิก Run > Yes (UAC) > Yes > OK เพื่ออนุมัติการ merge registry file
- ไม่ต้อง restart
- คุณสามารถลบไฟล์ .reg ได้หากต้องการ
เพื่อลบ (default setting) Default Apps จาก Desktop context menu ใน Windows 11/10 ให้ทำดังนี้:
- เปิด Notepad
- คัดลอกและวางโค้ดด้านล่างลงใน text editor
Windows Registry Editor Version 5.00 [-HKEY_CLASSES_ROOT\DesktopBackground\Shell\DefaultApps]
- ทำซ้ำขั้นตอนทั้งหมดเหมือนด้านบน แต่ครั้งนี้ คุณสามารถบันทึก reg file ด้วยนามสกุล .reg (เช่น RemoveDefApps-DesktopMenu.reg)
ไฟล์ .reg จะเพิ่มหรือลบ registry key ใน registry path ด้านล่าง:
HKEY_CLASSES_ROOT\DesktopBackground\Shell\DefaultApps
นี่คือวิธีเพิ่มหรือลบ Default Apps จาก Desktop context menu ใน Windows 11/10!
บทความเกี่ยวข้อง: Add Project Display option to Desktop Context Menu
How do I add or remove items from the context menu?
To add items, select the items in the left pane and click on the Add or + button. To remove items, select items are shown in the right pane and click on the Delete or Trash button. Cleaning the New Context Menu will give you a smaller new menu by removing the items you do not want.
How do I add more options to the context menu's new?
To add more options or items items to the new Context Menu, do the following:
- Start the Registry Editor (REGEDIT.EXE)
- Expand the HKEY_CLASSES_ROOT by clicking the plus sign.
- Scroll down and expand the Unknown subkey.
- Click on the Shell key and right click on it.
- Select New from the pop-up menu and choose Key.
- Enter the name you want to be displayed, e.g. the name of the application.
How do I set default apps on my Desktop?
To set default apps on your Desktop in Windows 11/10 PC, click the Start menu, select Settings > Apps > Default apps. Select which default you want to set, and then choose the app. You can also get new apps in Microsoft Store.