When Windows’ Transparency effects are on, right-click menus and other UI surfaces use an acrylic, grayish, semi-transparent background. Turning transparency off restores an opaque (often white) background. You can switch this setting directly from PowerShell by editing the same registry value the Settings app controls.
Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" |
Select-Object EnableTransparency1= Transparency On0= Transparency Off
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" `
-Name EnableTransparency -Value 0Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" `
-Name EnableTransparency -Value 1You can sign out/in, but restarting Explorer is faster:
Stop-Process -Name explorer -Force
Start-Process explorerSet-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize" -Name EnableTransparency -Value 0; Stop-Process -Name explorer -Force; Start-Process explorer- Works on Windows 10 and 11.
- This maps to Settings → Personalization → Colors → Transparency effects.
- Use
Value 0for a solid background (e.g., white menus) andValue 1for the acrylic effect.