เอาคำสั่งที่จำเป็นทำเป็นเมนูคลิกขวาให้กับ My Computer

"..้สร้างเมนููคลิกขวาให้กับ My Computer.."

คุณๆที่ใช้คอมฯ ผมคิดว่าร้อยทั้งร้อยคุณๆ ต้องมีการใช้คำสั่งเหล่านี้หรือเมนูเหล่านี้ ได้แก่

-Add/Remove Programs
-Control Panel
-Device Manager
-Microsoft Configurator
-Registry Editor
-Logoff
-Reboot
-Shutdown

และมีความคิดหรือไม่ว่ามันไม่สะดวกกว่าจะใช้ได้ต้องกดเม้าส์หลายคลิก ผมมีวิธี คือเอาทุกตัวที่กล่าวมาทำเป็นเมนูคลิกขวาที่ My Computer คุณเพียงคลิกขวาที่ My Computer ก็จะมีเมนูดังกล่าวมาให้เลือกแล้ว



วิธีการก็ไม่มีอะไรมาก ก็แก้เจ้า Registry ตัวเก่งนี้เอง ถ้าจะให้ผมแสดงขั้นตอนการแก้คงยืดยาวแน่เพราะแก้อยู่หลายที่ เอาเป็นว่าผมทำเป็น Script เลยจะง่ายสำหรับคุณๆ หน้าตาของ Script ก็ตามข้างล่าง

Windows Registry Editor Version 5.00

;Adds Control Panel to right click of My Computer
;
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\Control Panel\\command]
@="rundll32.exe shell32.dll Control_RunDLL"
;
; Adds Add/Remove to right click of My Computer
;
[HKEY_CLASSES_ROOT\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\Add/Remove Programs\\command]
@="control appwiz.cpl"
;
; Adds Services to right click of My Computer
;
;[HKEY_CLASSES_ROOT\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\services]
;@=hex(2):53 00 65 00 72 00 76 00 69 00 63 00 65 00 73 00 00 00
;"SuppressionPolicy"=dword:4000003c
;[HKEY_CLASSES_ROOT\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\services\\command]
;@=hex(2):25 00 77 00 69 00 6e 00 64 00 69 00 72 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 6d 00 63 00 2e 00 65 00 78 00 65 00 20 00 2f 00 73 00 20 00 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 73 00 65 00 72 00 76 00 69 00 63 00 65 00 73 00 2e 00 6d 00 73 00 63 00 20 00 2f 00 73 00 00 00
;
; Adds Device Manager to right click of My Computer
;
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\DevMgr]
@="Device Manager"
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\DevMgr\\command]
@="mmc.exe %%SYSTEMDRIVE%%\\\\WINDOWS\\\\SYSTEM32\\\\devmgmt.msc"
;
; Adds Registry Editor right click of My Computer
;
[HKEY_CLASSES_ROOT\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\regedit]
@="Registry Editor"
[HKEY_CLASSES_ROOT\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\regedit\\command]
@="Regedit.exe"
;
; Adds LogOff to right click of My Computer
; I add the [] to group these
;
[HKEY_CLASSES_ROOT\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\[Logoff]\\command]
@="shutdown -l -f -t 5"
;
; Adds Reboot to right click of My Computer
; I add the [] to group these
;
[HKEY_CLASSES_ROOT\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\[Reboot]\\command]
@="shutdown -r -f -t 5"
;
;Adds Shutdown to right click of My Computer
;I add the [] to group these
;
[HKEY_CLASSES_ROOT\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\[Shutdown]\\command]
@="shutdown -s -f -t 5"

[HKEY_CLASSES_ROOT\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\msconfig]
@="Microsoft Configurator"
[HKEY_CLASSES_ROOT\\CLSID\\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\shell\\msconfig\\command]
@="msconfig.exe"

ให้คุณก็อปปี้ Script เอาไปปะที่ Notepad แล้ว Save as เป็นชื่อ Right.reg เวลาใช้ก็ดับเบิลคลิกที่ไฟล์นี้

โพสต์ยอดนิยมจากบล็อกนี้

ปัญหาและเฉลยวิชาธรรม นักธรรมชั้นตรี สอบในสนามหลวง วันอังคาร ที่ ๒๙ กันยายน พ.ศ.๒๕๕๒

I miss you all กับ I miss all of you ต่างกันอย่างไร

ปัญหาและเฉลยวิชาอนุพุทธประวัติ นักธรรมชั้นโท สอบในสนามหลวง วันอาทิตย์ ที่ ๒๐ พฤศจิกายน พ.ศ. ๒๕๔๘