Windows 11 Context menu editor

Changes the Windows 11 style of the context (right click) menu.

Current options

  1. Windows 11 style
    Changes to the default Windows 11 style richt click menu.
  2. Windows 10 style
    Changes to the older Windows 10 style richt click menu.

How it works

Checks for the registry editor data if the key exists.

Reg query
reg query "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" >nul

if %errorlevel% equ 0 (
  echo %ESC%[92mWindows 10 Style is enabled
) else (
  echo %ESC%[92mWindows 11 Style is enabled
)

Delete the corresponding registry editor data to add the windows 11 context menu back.

Reg delete
reg.exe delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f

Adds the corresponding registry editor data to remove the windows 11 context menu.

Reg add
reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve

Restart windows explorer without closing your current open tabs.

Restart explorer
powershell $open_folders = @((New-Object -com shell.application).Windows()).Document.Folder.Self.Path; Stop-Process -Name explorer -Force;  foreach ($element in $open_folders){Invoke-Item $($element)}