If you add Windows Explorer context menus items via the registry they do not work in 20H1.

The example below would create a run as administrator for PowerShell ps1 files in all previous versions of Windows up to and including 1909, but it does not work in 20H1. This is not limited to ps1 files. I cannot create a context menu for any of the file types I have tried.


@="powershell.exe \"-Command\" \"if((Get-ExecutionPolicy ) -ne 'AllSigned') { Set-ExecutionPolicy -Scope Process Bypass }; & '%1'\""


Similarly if you try to create context sub menus using ExtendedSubCommandsKey these do not work either.


They will however work for Directory and Drive keys - as in Open PowerShell Here or cmd here.


Can anyone from Microsoft explain?


We support Ukraine and condemn war. Push Russian government to act against war. Be brave, vocal and show your support to Ukraine. Follow the latest news HERE