2026-02-10 19:49:36 +00:00
|
|
|
---
|
2026-03-02 13:08:27 -06:00
|
|
|
title: "Set Classic Right-Click Menu"
|
2026-02-10 19:49:36 +00:00
|
|
|
description: ""
|
|
|
|
|
---
|
2026-02-18 12:37:09 -06:00
|
|
|
|
2026-04-07 10:31:58 -05:00
|
|
|
```json {filename="config/tweaks.json",linenos=inline,linenostart=2031}
|
2026-02-12 20:33:11 +00:00
|
|
|
"WPFTweaksRightClickMenu": {
|
2026-03-02 13:08:27 -06:00
|
|
|
"Content": "Set Classic Right-Click Menu",
|
|
|
|
|
"Description": "Restores the classic context menu when right-clicking in File Explorer, replacing the simplified Windows 11 version.",
|
2026-01-14 20:28:45 +02:00
|
|
|
"category": "z__Advanced Tweaks - CAUTION",
|
|
|
|
|
"panel": "1",
|
|
|
|
|
"InvokeScript": [
|
|
|
|
|
"
|
2026-01-07 19:55:35 +00:00
|
|
|
New-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Name \"InprocServer32\" -force -value \"\"
|
|
|
|
|
Write-Host Restarting explorer.exe ...
|
2026-01-14 20:28:45 +02:00
|
|
|
Stop-Process -Name \"explorer\" -Force
|
|
|
|
|
"
|
|
|
|
|
],
|
|
|
|
|
"UndoScript": [
|
2026-01-07 19:55:35 +00:00
|
|
|
"
|
|
|
|
|
Remove-Item -Path \"HKCU:\\Software\\Classes\\CLSID\\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\" -Recurse -Confirm:$false -Force
|
|
|
|
|
# Restarting Explorer in the Undo Script might not be necessary, as the Registry change without restarting Explorer does work, but just to make sure.
|
|
|
|
|
Write-Host Restarting explorer.exe ...
|
2026-01-14 20:28:45 +02:00
|
|
|
Stop-Process -Name \"explorer\" -Force
|
2026-01-07 19:55:35 +00:00
|
|
|
"
|
2026-01-14 20:28:45 +02:00
|
|
|
],
|
2026-01-07 19:55:35 +00:00
|
|
|
```
|