This tutorial will show you how to Unpin a program or file from the Windows 7 taskbar.
Related Links:
This is how the Windows 7 Taskbar looks like for reference
Move the cursor to a pinned item and click the arrow to the right of it. Click on Unpin this program from the Taskbar, as shown below.
You can also Click on the thumbtack icon for the item which you want to unpin as shown below.