-
-
Save vhanla/635d3b8551793fc59850462a374cc158 to your computer and use it in GitHub Desktop.
@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 | |
) |
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.
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
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?
no matter what i set it to it always has the same transparency level