How to bring back classic context menu, Explorer command bar and search box on Windows 11

· 1 min read
How to bring back classic context menu, Explorer command bar and search box on Windows 11
Photo by Tadas Sar / Unsplash

No 3rd-party apps or patches or whatever, just a simple registry value.

Use this command in Windows Terminal (Admin)

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

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

Disable Explorer command bar:
reg.exe add "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}\InprocServer32" /f /ve

Restore Explorer command bar:
reg.exe delete "HKCU\Software\Classes\CLSID\{d93ed569-3b3e-4bff-8355-3c44f6a52bb5}" /f

Disable new search box
reg.exe add "HKCU\Software\Classes\CLSID\{1d64637d-31e9-4b06-9124-e83fb178ac6e}\TreatAs" /f /ve /t REG_SZ /d "{64bc32b5-4eec-4de7-972d-bd8bd0324537}"

Restore new search box
reg.exe delete "HKCU\Software\Classes\CLSID\{1d64637d-31e9-4b06-9124-e83fb178ac6e}" /f

Restart Explorer shell to take effect.

taskkill /f /IM explorer.exe

Then type the next command to start the Windows explorer service again. In case, you want to switch between apps before starting the explorer service, use – Alt+Tab keys.

start explorer.exe