I`m unsure of what you mean when you say `I right clicked and moved it to the Task bar ..`. It sounds as if you simply copied the icon.
To make an icon that works you need to go to to the program icon for the item concerned, right click and select `Create Shortcut`. This will provide a genuine shortcut icon that you can right click and drag to the Task Bar and select `Move Here`. You can then `Rename` it to remove the `(2)` from the end.