Author Topic: Full Context Menus in Windows 11  (Read 150 times)

td

  • Tech Support
  • *****
  • Posts: 4208
    • WinBatch
Full Context Menus in Windows 11
« on: October 15, 2022, 12:13:20 pm »
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
;; 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

  • Sr. Member
  • ****
  • Posts: 473
Re: Full Context Menus in Windows 11
« Reply #1 on: October 19, 2022, 05:08:38 am »
thanks!
The mind is everything; What you think, you become.