Skip to content

Right-Click Menu Previous Layout - Enable

config/tweaks.json
1052  "WPFTweaksRightClickMenu": {
1053    "Content": "Right-Click Menu Previous Layout - Enable",
1054    "Description": "Restores the classic context menu when right-clicking in File Explorer, replacing the simplified Windows 11 version.",
1055    "category": "z__Advanced Tweaks - CAUTION",
1056    "panel": "1",
1057    "InvokeScript": [
1058      "
1059      New-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Name \"InprocServer32\" -force -value \"\"
1060      Write-Host Restarting explorer.exe ...
1061      Stop-Process -Name \"explorer\" -Force
1062      "
1063    ],
1064    "UndoScript": [
1065      "
1066      Remove-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Recurse -Confirm:$false -Force
1067      # Restarting Explorer in the Undo Script might not be necessary, as the Registry change without restarting Explorer does work, but just to make sure.
1068      Write-Host Restarting explorer.exe ...
1069      Stop-Process -Name \"explorer\" -Force
1070      "
1071    ],