⚡ PowerShell 5.1+
Check "Disable Taskbar Transparency" Status
Reads the current registry value behind the "Disable Taskbar Transparency" tweak so you can confirm whether it's applied.
Test-DisableTaskbarTransparencyStatus.ps1
<#
.SYNOPSIS
Checks whether "Disable Taskbar Transparency" is currently applied.
.DESCRIPTION
Reads HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize \ EnableTransparency and reports its current value,
or reports that it isn't set (falling back to the Windows default).
.EXAMPLE
.\Test-DisableTaskbarTransparencyStatus.ps1
#>
[CmdletBinding()]
param()
$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize'
$value = Get-ItemProperty -Path $regPath -Name 'EnableTransparency' -ErrorAction SilentlyContinue
if ($null -eq $value) {
Write-Host "'EnableTransparency' is not set at $regPath (using the Windows default)." -ForegroundColor Yellow
} else {
Write-Host "Current value of 'EnableTransparency': $($value.'EnableTransparency')" -ForegroundColor Green
}