I can't unpin or remove a program from the task bar

well i found this article :

http://www.tenforums.com/tutorials/3151-taskbar-pinned-apps-reset-clear-windows-10-a.html

The person who asked the question on that site said it fixed the problem.
If you're not OK with running someone's .bat file then just do this at a command prompt (after you write down which pinned applications you want to re-pin later):

DEL /F /S /Q /A "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar*"

REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband /F

taskkill /f /im explorer.exe