PowerShell QuickScripts - EP 1 | How to UNPIN taskbar apps windows 10/11 with PowerShell.

Опубликовано: 29 Октябрь 2024
на канале: Dr. Borg
4,114
25

In this Quick Powershell video, I show you a script to unpin all of your taskbar icons at once. Please leave a like and comment if you have any suggestions or requests for videos. Thank you for watching.

Script used in the video:

#================================
UNPIN ALL TASKBAR ICONS
#================================

Remove all files inside the Taskbar APPDATA folder
#================================
Remove-Item -Path "$env:APPDATA\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*" -Force -Recurse -ErrorAction SilentlyContinue

Remove the Taskband Registry Key to delete taskbar data for recent apps.
#================================
Remove-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband" -Force -Recurse -ErrorAction SilentlyContinue

#Start-Stop the File Explorer to refresh the taskbar.
#================================
Stop-Process -ProcessName explorer -Force
Start-Process explorer