⚡ PowerShell 5.1+
Disable Taskbar Transparency
Turns off the translucent taskbar/Start menu effect for a small performance gain.
Set-DisableTaskbarTransparency.ps1
<#
.SYNOPSIS
Disable Taskbar Transparency.
.DESCRIPTION
Turns off the translucent taskbar/Start menu effect for a small performance gain.
Sets HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize \ EnableTransparency to 0.
.EXAMPLE
.\Set-DisableTaskbarTransparency.ps1
#>
[CmdletBinding()]
param()
$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize'
if (-not (Test-Path $regPath)) {
New-Item -Path $regPath -Force | Out-Null
}
New-ItemProperty -Path $regPath -Name 'EnableTransparency' -Value 0 -PropertyType DWord -Force | Out-Null
Write-Host "Disable Taskbar Transparency applied. Sign out and back in (or restart explorer.exe) for it to fully take effect." -ForegroundColor Green