Last active
October 24, 2023 06:47
-
-
Save vhanla/635d3b8551793fc59850462a374cc158 to your computer and use it in GitHub Desktop.
Change Windows 10 Acrylic Taskbar Opacity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
cls | |
:OPTIONS | |
echo. | |
echo TaskbarOpacity v1.1 EN | |
echo Description: Adjusts Windows 10 taskbar transparency level. | |
echo Requirements: Windows 10 version 1803 or above, activated. | |
echo Author: vhanla | |
echo. | |
echo Input valur from 0 to 255 transparency level: | |
echo. | |
set /P opa="> | |
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v TaskbarAcrylicOpacity /t REG_DWORD /d %opa% /f | |
rem The following registry values must be updated too | |
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v ColorPrevalence /t REG_DWORD /d 0 /f | |
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v EnableTransparency /t REG_DWORD /d 1 /f | |
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Themes\Personalize /v SystemUsesLightTheme /t REG_DWORD /d 0 /f | |
echo Stopping explorer.exe process (taskbar parent): | |
tasklist /FI "IMAGENAME eq explorer.exe" /FO table | |
echo. | |
rem csv | |
taskkill /f /im explorer.exe && start explorer.exe | |
echo. | |
echo Explorer should have restarted, otherwise... | |
set res= | |
set /P res=Restart Explorer again [y/n]? | |
if "%res%"=="y" ( | |
echo Starting explorer... | |
start explorer.exe | |
) |
How do I revert back to default taskbar opacity?
@sudo-nikhil you have to delete TaskbarAcrylicOpacity
added and restart explorer.exe
Thank you, that worked.
It works! Thanks. Do think it is possible to extend it to the start menu?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As this is a non official method, some Windows 10 versions seem to have issues, I don't really know why, but I figured it out that transparency effects must be enabled and other features disabled too in order to make it work, I updated the script. Incase it still fails, your system must be the exception.
![imagen](https://user-images.githubusercontent.com/1015823/95013013-f1b7fc00-0602-11eb-923c-b03a0138c493.png)
I tested that versions working are from Windows 10 version 1803 and above, version 2004 included.
Notice: it won't work if theme is set to white, only dark theme accepts this trick.
Just incase you didn't know yet, there are third party tools that modify the taskbar's drawing to make it translucent as well.
I even wrote my own version here: https://github.com/vhanla/TaskbarDock