📜 VBScript (WSH)

Disable Taskbar Transparency (VBScript)

Turns off the translucent taskbar/Start menu effect for a small performance gain. Applies the tweak via WScript.Shell.RegWrite.

By WindowsScripting.com · 753 B
SetDisableTaskbarTransparency.vbs
' ============================================================
' SetDisableTaskbarTransparency.vbs
'
' Disable Taskbar Transparency.
' Turns off the translucent taskbar/Start menu effect for a small performance gain.
'
' Usage: cscript SetDisableTaskbarTransparency.vbs
' ============================================================

Option Explicit

Dim objShell
Set objShell = CreateObject("WScript.Shell")

On Error Resume Next
objShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize\EnableTransparency", 0, "REG_DWORD"

If Err.Number = 0 Then
    WScript.Echo "Disable Taskbar Transparency applied."
Else
    WScript.Echo "Failed to apply tweak (Error " & Err.Number & ": " & Err.Description & ")"
End If
On Error Goto 0