Full Context Menus in Windows 11

Started by td, October 15, 2022, 12:13:20 PM

Previous topic - Next topic

td

If you are using Windows 11 and consider File Explore's truncated context menus are Windows 11's worst "feature", you are not alone. Here is a WinBatch take on a simple solution publish on multiple Websites.

Code (winbatch) Select
;; Simple script to restore display of the full context menu
;; in File Explorer on Windows 11.

Ans = AskYesNo("Registry Change and Reboot", "Press ""YES"" to change and reboot.":@lf:"Press ""No"" to change but not reboot")

hNewKey = RegCreateKey(@REGCURRENT, "SOFTWARE\CLASSES\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32")
RegSetEx(hNewKey,"", " ", "", 1) ; Note use of a space in the value parameter.
RegCloseKey(hNewKey)

; Reboot the system.
if Ans == @YES then IntControl(67,0,0,0,0)
else Pause("Registry Changed", "It will take effect after the next system reboot.")

:cancel
exit
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade

kdmoyers

The mind is everything; What you think, you become.