Backup and Restore Backup and Restore Pinned Items on Taskbar in Windows 11


Pin_to_Taskbar_banner.png

This tutorial will show you how to back up and restore all pinned items on your taskbar in Windows 10 and Windows 11.

The taskbar in Windows 11 shows the Start menu, Search, Task View, Widgets, Chat, File Explorer, Microsoft Edge, and Microsoft Store buttons (icons) aligned to the center by default.

The taskbar will also show the icon of the app for any window you have open. If you like, you can pin an app to the taskbar to always show the app's icon on the taskbar whether the app is open or not. Pinning an app to the taskbar makes it easier to open the app on demand from the taskbar.

Items you pin to the taskbar are stored and referenced in both locations below for your account.

In the registry:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband

AND

HKEY_USERS\<SID>\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband

In a folder:
%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar


Contents



EXAMPLE: Pinned items on taskbar

Pinned_items_on_taskbar.png






OPTION ONE

Backup Pinned Items on Taskbar


1 Sign in to the account you want to back up pinned items on the taskbar.

2 Click/tap on the Download button below to download the file below

Backup-Pinned_Apps_on_Taskbar.zip


(Content of BAT file for reference)
Code:
mkdir "%userprofile%\Desktop\Taskbar-Pinned-Items-Backup\TaskBar"

copy /y "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" "%userprofile%\Desktop\Taskbar-Pinned-Items-Backup\TaskBar"

REG EXPORT HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband "%userprofile%\Desktop\Taskbar-Pinned-Items-Backup\Taskbar-Pinned-Items-Backup.reg" /y

3 Save the ZIP file to your desktop.

4 Unblock the ZIP file.

5 Extract the BAT file from the ZIP file.

6 Run the BAT file.

7 You will now notice a command prompt quickly open and close to save a Taskbar-Pinned-Items-Backup folder on the Desktop that includes
the backup of pinned items on the taskbar.

8 You can move the Taskbar-Pinned-Items-Backup folder to where you want to keep it saved at.

The name of the Taskbar-Pinned-Items-Backup folder and its contents must remain exactly the same to be able to restore using Option Two.


9 You can now delete the downloaded .bat file if you like.

10 If you have Administrator protection turned on, you will need to also export the registry key below as a REG file.

HKEY_USERS\<SID>\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband

Substitute <SID> in the key path above with the actual SID for your account found using an option in the tutorial linked below:

For example: S-1-5-21-2498639629-3946114050-4100787084-1001








OPTION TWO

Restore Pinned Items on Taskbar


1 Sign in to the account you want to restore pinned items on the taskbar.

2 If you have Administrator protection turned on, you will need to merge the REG file from step 10 in Option One, and then do the steps below.

3 Copy the Taskbar-Pinned-Items-Backup folder from Option One to the Desktop.

4 Click/tap on the Download button below to download the file below

Restore-Pinned_Apps_to_Taskbar.zip


(Content of BAT file for reference)
Code:
DEL /F /S /Q /A "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\*"

copy /y "%userprofile%\Desktop\Taskbar-Pinned-Items-Backup\TaskBar" "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar"

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

REG IMPORT "%userprofile%\Desktop\Taskbar-Pinned-Items-Backup\Taskbar-Pinned-Items-Backup.reg"

taskkill /f /im explorer.exe

start explorer.exe

5 Save the ZIP file to your desktop.

6 Unblock the ZIP file.

7 Extract the BAT file from the ZIP file.

8 Run the BAT file.

9 You will now notice a command prompt quickly open and close, and your screen flicker as the explorer process is restarted to apply.

10 You can now delete the downloaded .bat file if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
Tutorial now updated to work again in the latest W11 24H2. :alien:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom