Home > Common Problem > body text

How to back up and restore pinned items on the taskbar in Windows 11

王林
Release: 2023-04-18 23:16:03
forward
1791 people have browsed it

The taskbar on Windows systems is the most used feature by all Windows users around the world. You can easily pin your favorite and most used apps to the taskbar, customizing their size and color. In this article, we will discuss how to back up pinned items on the taskbar and restore them if needed.

How to back up and restore pinned items on the taskbar in Windows 11

How to Backup and Restore Pinned Items on the Taskbar in Windows 11

There are two ways to back up and restore pinned items. There is a manual method where you have to create a backup of the pinned items and their associated registry files in a secure folder.

Besides this, there is another automated method that can be used to automate the entire process of backing up pinned items.

Manual Backup

There are two different parts to this process.

Step 1 - Copy Taskbar Item

1. First, press the Windows key and the R key simultaneously.

2. Then, paste the following into the Run window and press Enter.

%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
Copy after login
Copy after login

How to back up and restore pinned items on the taskbar in Windows 11

#This will open the taskbar folder.

3. In the taskbar folder, select everything inside.

4. Then, click the "Copy" icon on the menu bar.

How to back up and restore pinned items on the taskbar in Windows 11

#4. Now, create a folder in any location (eg - Desktop) and paste these contents in it.

[

For example, we created a backup folder named "TaskbarBackup". The complete location of the folder is -

C:\Users\sambi\Desktop\TaskbarBackup
Copy after login
Copy after login

]

How to back up and restore pinned items on the taskbar in Windows 11

Step 2 – Create a Registry Backup

Now, you have to create Registry backup of taskbar.

1. First, enter "regedit" in the search box.

2. Then, click on “Registry Editor” to access it.

How to back up and restore pinned items on the taskbar in Windows 11

3. Now, navigate to this location –

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband
Copy after login

4. On the left side, right click on “TaskWith ” key, and then click “Export”.

How to back up and restore pinned items on the taskbar in Windows 11

5. Now, navigate to the backup folder you used in Step 1.

[

In our case, it is the TaskbarBackup folder at this location -

C:\Users\sambi\Desktop\TaskbarBackup
Copy after login
Copy after login

]

6. Then, place the backup file Name it "Taskbarbak".

7. After that, click on "Save" to save the changes.

How to back up and restore pinned items on the taskbar in Windows 11

After that, close the Registry Editor window.

In this way, you have successfully created a backup of pinned items on the taskbar.

Manual Restore

After creating a backup, you can manually restore pinned items on the taskbar at any time.

1. You must open the taskbar folder. So, press the Windows key and the R key simultaneously.

2. Then, paste the following into the Run window and press Enter.

%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
Copy after login
Copy after login

How to back up and restore pinned items on the taskbar in Windows 11

Keep it open.

3. Now, open the backup folder where you made the backup.

[In our system, the backup folder "TaskbarBackup" folder is located at -C:\Users\sambi\Desktop\TaskbarBackup

]

4. Then, copy all files and folders from the backup folder. Then, paste them into the taskbar folder.

How to back up and restore pinned items on the taskbar in Windows 11

#5. After that, navigate to the folder where the registry backup is stored.

6. Once there, double-click on " Taskbarbak ".

How to back up and restore pinned items on the taskbar in Windows 11

7. You will receive a warning message. Just click " is " to merge the registry keys in the registry.

How to back up and restore pinned items on the taskbar in Windows 11

You won't notice any changes in the taskbar immediately. You must restart the system once for it to work properly.

However, there is another way to complete the process without restarting the system. You must restart File Explorer. Please follow the steps below -

1. First, open File Explorer. Minimize it.

2. Then, press the Windows key and X key at the same time.

3. After that, click on “Task Manager” to access it.

How to back up and restore pinned items on the taskbar in Windows 11

4.当任务管理器打开时,右键单击“ Windows资源管理器”进程并点击“重新启动”。

How to back up and restore pinned items on the taskbar in Windows 11

任务栏和文件资源管理器将重新启动。稍等片刻,您就会注意到任务栏的变化。

自动备份和恢复固定项目

是否厌倦了手动定期备份任务栏上的固定项目?您可以创建一个批处理文件来自动备份固定的项目,并创建另一个批处理文件来恢复固定的任务栏项目。

自动备份

1. 首先,在搜索框中输入“记事本”。

2.然后,点击“记事本”打开它。

How to back up and restore pinned items on the taskbar in Windows 11

3. 在空白记事本页面中,复制粘贴并修改此行以创建注册表备份。

REG EXPORT HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband " [DRIVE LETTER:\FOLDER NAME\FILE NAME.reg] "
Copy after login

[

将“ [DRIVE LETTER:\FOLDER NAME\FILE NAME.reg] ”替换为您的注册表备份文件的位置。

示例 - 在我们的例子中,注册表文件的位置是 – “ C:\Users\sambi\Desktop\TaskbarBackup\ Taskbarbak.reg ”

所以,替换注册表文件的位置后,代码会是这样的——

REG EXPORT HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband " C:\Users\sambi\Desktop\TaskbarBackup\Taskbarbak.reg "
Copy after login

]

How to back up and restore pinned items on the taskbar in Windows 11

4. 现在,在记事本的下一行粘贴和修改此命令。

xcopy "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" " [DRIVE LETTER:\FOLDER NAME\] " /E /C /H /R /K /Y
Copy after login

[再次,将代码中的“ [DRIVE LETTER:\FOLDER NAME\] ”替换为您创建的备份文件夹。

在我们的例子中,名为“ TaskbarBackup ”的备份文件夹位于此处 - C:\Users\sambi\Desktop\TaskbarBackup。所以,最终的命令将是——

xcopy "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" "C:\Users\sambi\Desktop\TaskbarBackup" /E /C /H /R /K /Y
Copy after login

]

How to back up and restore pinned items on the taskbar in Windows 11

5. 现在,点击菜单栏上的“文件”,然后点击“另存为”

How to back up and restore pinned items on the taskbar in Windows 11

6. 现在,将“保存类型:”设置为“所有文件”。

7. 然后,将名称设置为“ BackupTaskbar.bat ”。

8. 最后,选择一个安全的位置保存文件,然后点击“保存”保存批处理文件。

How to back up and restore pinned items on the taskbar in Windows 11

您现在可以关闭记事本。

这样,您就创建了一个批处理文件。从现在开始,只要您想进行备份,只需执行以下步骤 -

1. 转到您保存批处理文件的位置。

2.然后,右键单击“ BackupTaskbar.bat ”文件并点击“以管理员身份运行”以运行它以备份您的任务栏。

How to back up and restore pinned items on the taskbar in Windows 11

自动恢复

同样,您必须创建一个单独的批处理文件,您可以随时运行该批处理文件以自动恢复任务栏上的固定项目。

1. 打开记事本。

2. 然后,根据您的系统粘贴修改此行。

REGEDIT /S " [驱动器号:\文件夹名\文件名.reg] "
Copy after login

[同样,将“ [DRIVE LETTER:\FOLDER NAME\FILE NAME.reg] ”替换为备份注册表文件的位置和名称。

示例 – 在我们的例子中,Taskbarbak.reg是备份注册表文件,注册表文件的位置是 – “ C:\Users\sambi\Desktop\TaskbarBackup\ Taskbarbak.reg ”

所以,会是这样——

REGEDIT /S “ C:\Users\sambi\Desktop\TaskbarBackup\Taskbarbak.reg ”

]

How to back up and restore pinned items on the taskbar in Windows 11

3. 之后,将最后一行命令粘贴到记事本中。

xcopy " [DRIVE LETTER:\FOLDER NAME\] " "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" /E /C /H /R /K /Y
Copy after login

[

这次,将“ [DRIVE LETTER:\FOLDER NAME\] ”替换为备份文件夹的位置。

示例 – 备份文件夹“ TaskbarBackup ”的位置位于 –

C:\Users\sambi\Desktop\TaskbarBackup

所以,命令是——

xcopy " C:\Users\sambi\Desktop\TaskbarBackup " "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" /E /C /H /R /K /Y
Copy after login

]

How to back up and restore pinned items on the taskbar in Windows 11

4. 现在,点击菜单栏中的“文件”,然后点击“另存为... ”。

How to back up and restore pinned items on the taskbar in Windows 11

5. 首先,将“保存类型:”设置为“所有文件”。

7. 然后,将名称设置为“ RestoreTaskbar.bat ”。

8. 最后,选择一个安全的位置来保存批处理文件,然后点击“保存”进行保存。

How to back up and restore pinned items on the taskbar in Windows 11

关闭记事本窗口。

That’s it! You can easily run this new batch file to restore pinned items on the taskbar.

Just right-click on the "RestoreTaskbar.bat" batch file and click "Run as administrator" to run it.

How to back up and restore pinned items on the taskbar in Windows 11

After running the batch file, just reboot your system once or restart File Explorer (follow the instructions we mentioned before). After restarting, you will restore all pinned items on the taskbar.

The above is the detailed content of How to back up and restore pinned items on the taskbar in Windows 11. For more information, please follow other related articles on the PHP Chinese website!

source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!