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.
;; 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