I don't pin to taskbar the way you do it. I don't even think that is possible. What you can do is open Windows explorer. When that is done, go to your taskbar and right click on the taskbar button, select pin to taskbar, refer screenshot below. Unless Windows change again in that area and somehow remove "pin to taskbar" from there too.
Stardock Community Assistant