0

I try to unpin Internet Explorer from the taskbar with Powershell.

Taskbar.reg is the Taskband Folder from the Registry, without IE. After executing the Icon is still there and works, but when Rightclicking, I get the option to pin it to the taskbar instead of unpinning it

reg import C:\Users\USER\Taskbar.reg
  • https://stackoverflow.com/questions/25041205/use-powershell-to-unpin-taskbar-shortcut-depending-on-shortcut-target-path – Vivek Kumar Singh Apr 25 '19 at 06:58
  • 1
    Possible duplicate of [Use PowerShell to unpin Taskbar shortcut depending on shortcut Target Path](https://stackoverflow.com/questions/25041205/use-powershell-to-unpin-taskbar-shortcut-depending-on-shortcut-target-path) – harmonica141 Apr 25 '19 at 07:03

1 Answers1

0

To do it in PowerShell without working with the registery would be to use this: Pin and unpin applications from the taskbar and Start-menu.

Once downloaded save it to the same directory and use, for example:

Import-Module './downloaded_script.ps1'

 Set-PinnedApplication -Action UnPinFromTaskbar -FilePath "C:\WINDOWS\system32\notepad.exe" 
Tom Dickson
  • 540
  • 6
  • 19