Skip to content

Instantly share code, notes, and snippets.

@jacobnicked
Last active February 9, 2025 09:07
Show Gist options
  • Save jacobnicked/7f66f56a181254badee4fdb59323bc82 to your computer and use it in GitHub Desktop.
Save jacobnicked/7f66f56a181254badee4fdb59323bc82 to your computer and use it in GitHub Desktop.

Windows 10/11 Transparency Effects

This guide shows you how to enable or disable transparency effects by modifying specific registry keys.


Enabling Transparency Effects

Method 1: Using Command Prompt

  1. Open Command Prompt as Administrator:

    • Click Start, type cmd, right‑click Command Prompt, and choose Run as administrator.
  2. Enter the following commands:
    Copy and paste each command (or all at once) and press Enter:

    reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v EnableTransparency /t REG_DWORD /d 1 /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v UseOLEDTaskbarTransparency /t REG_DWORD /d 1 /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows\Dwm" /v ForceEffectMode /t REG_DWORD /d 2 /f
    • Explanation:
      • EnableTransparency: Activates overall transparency effects.
      • UseOLEDTaskbarTransparency: Enables the taskbar’s transparent (OLED) style.
      • ForceEffectMode: Set to 2 to enforce the transparency effect via the Desktop Window Manager.
  3. Restart your computer:

    • A reboot ensures that all changes take effect.

Method 2: Using the Registry Editor

  1. Open Registry Editor:

    • Press Windows key + R, type regedit, and hit Enter.
  2. Modify the following registry keys:

    • General Transparency:

      • Navigate to:
        HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize
      • Double-click EnableTransparency and set its value to 1.
    • Taskbar Transparency:

      • Navigate to:
        HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
      • Double-click UseOLEDTaskbarTransparency and set its value to 1.
    • Forced DWM Effect:

      • Navigate to:
        HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm
      • Double-click ForceEffectMode and set its value to 2.
  3. Apply and restart:

    • Close the Registry Editor and restart your computer.

Disabling Transparency Effects

Method 1: Using Command Prompt

  1. Open Command Prompt as Administrator:

    • Click Start, type cmd, right‑click Command Prompt, and choose Run as administrator.
  2. Enter the following commands:
    Copy and paste each command and press Enter:

    reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize" /v EnableTransparency /t REG_DWORD /d 0 /f
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v UseOLEDTaskbarTransparency /t REG_DWORD /d 0 /f
    reg add "HKLM\SOFTWARE\Microsoft\Windows\Dwm" /v ForceEffectMode /t REG_DWORD /d 0 /f
    • Explanation:
      • Setting each value to 0 turns off the transparency effects.
  3. Restart your computer:

    • Reboot to fully apply the changes.

Method 2: Using the Registry Editor

  1. Open Registry Editor:

    • Press Windows key + R, type regedit, and press Enter.
  2. Modify the following registry keys:

    • General Transparency:

      • Navigate to:
        HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize
      • Double-click EnableTransparency and change its value to 0.
    • Taskbar Transparency:

      • Navigate to:
        HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
      • Double-click UseOLEDTaskbarTransparency and change its value to 0.
    • Forced DWM Effect:

      • Navigate to:
        HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Dwm
      • Double-click ForceEffectMode and change its value to 0.
  3. Apply and restart:

    • Close the Registry Editor and restart your computer.

Note

Changes made via the registry or Command Prompt may require a restart to fully apply. Always exercise caution when editing the registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment