It is possible to disable right clicking on the taskbar. Start regedit and navigate to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
and Modify/Create DWORD Value of Data type REG_DWORD Named "NoTrayContextMenu"
Setting for Value Data: 0 or 1 (0 = Enabled / 1 = Disabled) Close regedit and reboot computer.