在管理员权限的终端中输入以下命令
右键菜单切换为Win10样式:
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
右键菜单恢复为Win11样式:
reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
重启Windows资源管理器生效:
taskkill /f /im explorer.exe & start explorer.exe