Enable the Legacy Explorer Context Menu in Windows 11 with PowerShell

Image Description

Daily PowerShell #61

Daily PowerShell Windows

December 20, 2021

quote Discuss this Article

In this post, we’ll look at how to enable the legacy context menu in Windows 11 using PowerShell.

This information was provided by Nathan McNulty.

Windows 11 Context Menu

Windows 11 has a new context menu. It’s simplified but has a tendency to hid all a lot of useful extensions. When I right click on my desktop, it looks like this.

Enable the Legacy Context Menu

To enable the context menu that appeared in Windows 10 and earlier, you can use the following PowerShell snippet.

New-Item -Path "HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" -Value "" -Force

You may need to log out and log back in or restart explorer.exe.

Get-Process explorer | Stop-Process

The context menu will now look like this.

Enable the Windows 11 Context Menu

You can enable the Windows 11 Context Menu by removing the registry key we added above.

 Remove-Item -Path "HKCU:\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32"