Windows 11 right click menu

I have a request to revert the Windows 11 right click menu back to the previous version, and to do it via Intune so as to push to out to multiple computers.

The only way I can think of to do this is via a registry change in a script assigned to multiple groups.

I believe this will still only take effect on reboot, and only per user as well.

Has anyone else out there done this, and if so how did you do it?

UPDATE - 03/11/2025

I cannot get this to make any registry changes when it runs!

The powershell is running as I can watch Windows Explorer get restarted; however, there are NO registry changes being made for some reason.

I don't know what I have done wrong.

Here's my code:

## Change registry to restore original right-click menu in Windows

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

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

## Resatrt Explorer for change to take effect

Get-Process -Name Explorer | Stop-Process

I've also tried as a remediation, and that just tells me that it has an issue, and an error, but not what that the error is/was.

Here's that code:

Detection:

$regkey="HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\"

$name="InprocServer32"

$value=0

#Registry Detection Template

If (!(Test-Path $regkey))

{

Write-Output 'RegKey not available - remediate'

Exit 1

}

$check=(Get-ItemProperty -path $regkey -name $name -ErrorAction SilentlyContinue).$name

if ($check -eq $value){

write-output 'setting ok - no remediation required'

Exit 0

}

else {

write-output 'value not ok, no value or could not read - go and remediate'

Exit 1

}

Remediation:

$regkey="HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\"

$name="InprocServer32"

$value=0

#Registry Template

If (!(Test-Path $regkey))

{

New-Item -Path $regkey -ErrorAction stop

}

if (!(Get-ItemProperty -Path $regkey -Name $name -ErrorAction SilentlyContinue))

{

New-ItemProperty -Path $regkey -Name $name -Value $value -PropertyType DWORD -ErrorAction stop

write-output "remediation complete"

exit 0

}

set-ItemProperty -Path $regkey -Name $name -Value $value -ErrorAction stop

write-output "remediation complete"

exit 0

Any advise is welcomed. Thank you all.