🖥️ Batch (CMD)

Disable Taskbar Widgets Icon (Batch)

Removes the Widgets icon from the Windows 11 taskbar. Applies the tweak via reg.exe.

By WindowsScripting.com · 552 B
SetDisableTaskbarWidgets.bat
@echo off
:: ============================================================
:: SetDisableTaskbarWidgets.bat
::
:: Disable Taskbar Widgets Icon.
:: Removes the Widgets icon from the Windows 11 taskbar.
:: ============================================================

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "TaskbarDa" /t REG_DWORD /d "0" /f

if %ERRORLEVEL% EQU 0 (
    echo Disable Taskbar Widgets Icon applied.
) else (
    echo Failed to apply tweak. Try running this script as Administrator.
)
pause