Use Registry to force small icons.
The taskbar is the central hub of your Windows desktop navigation. Adjusting the icon size helps optimize screen real estate. It also improves visibility for high-resolution displays. Windows 11 and Windows 10 handle these adjustments differently. How to Change Taskbar Icon Size in Windows 11 change taskbar icon size
If you want to change other elements like or spacing Use Registry to force small icons