Windows 7//8/10任务栏可以是一个非常方便的启动栏,您可以在其中固定您经常使用的程序。您还可以将常用的文件、文件夹和网页固定到它。
按照您想要的方式设置任务栏后,您可能需要备份它,以便在计算机出现问题时恢复它。您可能还想将固定的任务栏项目复制到另一个用户配置文件。
备份您的固定任务栏项目
要备份固定到任务栏的项目,请打开Windows Explorer,在地址栏中输入以下路径,然后按Enter。
%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
选择(Select)任务栏(TaskBar)文件夹中的所有快捷方式文件。右键单击文件并从弹出菜单中选择复制。(Copy)
导航到您用于存储任务栏(Taskbar)备份文件的文件夹。右键单击(Right-click)文件夹,然后从弹出菜单中选择粘贴。(Paste)
注册表中有一个键存储有关任务栏的数据,您还应该备份这些数据。为此,请打开“开始(Start)”菜单并在“搜索程序和文件(Search programs and files)”框中输入“ regedit ”(不带引号) 。当regedit.exe显示在结果列表中时,单击该链接。
再次单击“用户帐户控制(User Account Control)”对话框中的“是”。(Yes)
导航到以下键:
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Taskband
右键单击任务(Taskband)带键并从弹出菜单中选择导出。(Export)
在Export Registry File对话框的底部,注意Selected branch被选中,并且值与您选择的注册表项匹配。导航(Navigate)到存储任务栏(Taskbar)备份文件的文件夹。输入注册表项备份文件的名称,在文件名上添加 .reg(.reg)扩展名。单击保存(Save)。
通过从文件(File)菜单中选择退出(Exit)来关闭注册表编辑器。(Registry Editor)
您应该在备份文件夹中看到您的.reg文件。(.reg)
恢复固定的任务栏项目
要恢复固定的任务栏(Taskbar)项目,请打开Windows 资源管理器(Windows Explorer)并导航到存储任务栏(Taskbar)快捷方式文件和.reg文件的目录。选择快捷方式文件(不是.reg文件),右键单击文件,然后从弹出菜单中选择复制。(Copy)
再次导航到以下文件夹:
%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
在文件夹内右键单击,然后从弹出菜单中选择粘贴。(Paste)
显示“复制文件(Copy File)”对话框时,选中“为下一个 X 冲突执行此(Do this for the next X conflicts)操作”复选框(X可能会有所不同,具体取决于要替换的快捷方式的数量)。然后,单击复制和替换(Copy and Replace)按钮。
现在,您需要将备份的Taskband注册表项添加回注册表。为此,请将您创建的.reg文件复制到桌面。
注意:(NOTE:)我们发现 .reg 文件并不总是从外部驱动器或网络驱动器运行,因此我们将TaskbarPinnedItemsBackup.reg文件复制到我们的桌面,然后再将密钥添加回注册表。
双击桌面上的.reg文件,然后在显示的“用户帐户控制(User Account Control)”对话框中单击“是”。(Yes)
将显示一个确认对话框,以确保您确实要将.reg文件中的信息添加到注册表。单击是(Yes)。
然后会显示一个对话框,说明信息已成功添加到注册表。单击(Click) 确定(OK)。
请注意(Notice),您固定的项目不会立即显示在任务栏(Taskbar)上。您需要结束资源管理器(Explorer)进程并重新启动它才能显示项目。为此,请右键单击任务栏(Taskbar)并从弹出菜单中选择启动任务管理器。(Start Task Manager)
在Windows 任务管理器(Windows Task Manager)对话框中,单击进程(Processes)选项卡。右键单击列表中的explorer.exe任务,然后从弹出菜单中选择结束进程。(End Process)
将显示一个对话框以确保您确实想要结束Explorer进程。单击(Click) 结束进程(End process)。
要重新启动资源管理器(Explorer)进程,请从文件(File)菜单中选择新任务(运行...) 。(New Task (Run…))
在“创建新任务(Create New Task)”对话框中,在“打开(Open)”编辑框中输入“ explorer.exe ”(不带引号),然后单击“确定(OK)” 。
要关闭Windows 任务管理器(Windows Task Manager)对话框,请从文件(File)菜单中选择退出任务管理器。(Exit Task Manager)
重新启动Explorer后,您应该会再次在任务栏(Taskbar)上看到已恢复的固定项目。享受!
Backup and Restore Your Pinned Taskbar Items in Windows 7/8/10
The Windows 7//8/10 taskbar can be a very handy launch bar where you can pin programs you use often. You can also pin often-used files, folders, and wеb pages to it.
Once you have set up your taskbar the way you want it, you may want to back it up so you can restore it if there is a problem with your computer. You may also want to copy your pinned taskbar items to another user profile.
Backup your Pinned Taskbar Items
To backup the items pinned to your taskbar, open Windows Explorer, enter the following path in the address bar and press Enter.
%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
Select all the shortcut files in the TaskBar folder. Right-click on the files and select Copy from the popup menu.
Navigate to the folder you are using to store the Taskbar backup files. Right-click in the folder and select Paste from the popup menu.
There is a key in the registry that stores data about the Taskbar that you should also backup. To do this, open the Start menu and enter “regedit” (without the quotes) in the Search programs and files box. When regedit.exe displays in the list of results, click the link.
Again, click Yes on the User Account Control dialog box.
Navigate to the following key:
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Taskband
Right-click on the Taskband key and select Export from the popup menu.
At the bottom of the Export Registry File dialog box, notice Selected branch is selected and the value matches the registry key you selected. Navigate to the folder where you are storing your Taskbar backup files. Enter a name for your registry key backup file, putting a .reg extension on the filename. Click Save.
Close the Registry Editor by selecting Exit from the File menu.
You should see your .reg file in your backup folder.
Restore your Pinned Taskbar Items
To restore your pinned Taskbar items, open Windows Explorer and navigate to the directory where you stored the Taskbar shortcut files and the .reg file. Select the shortcut files (not the .reg file, yet), right-click on the files, and select Copy from the popup menu.
Navigate to the following folder again:
%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
Right-click inside the folder and select Paste from the popup menu.
When the Copy File dialog box displays, select the Do this for the next X conflicts check box (X may vary, depending on how many shortcuts will be replaced). Then, click the Copy and Replace button.
Now, you need to add the backed up Taskband registry key back into the registry. To do this, copy the .reg file you created to the Desktop.
NOTE: We found that .reg files do not always run from external drives or network drives, so we copied the TaskbarPinnedItemsBackup.reg file to our desktop before adding the key back into the registry.
Double-click the .reg file on the Desktop and click Yes on the User Account Control dialog box that displays.
A confirmation dialog box displays to make sure you really want to add the information in the .reg file to the registry. Click Yes.
A dialog box then displays saying the information has been successfully added to the registry. Click OK.
Notice that your pinned items do not immediately display on the Taskbar. You need to end the Explorer process and restart it for the items to show up. To do this, right-click on the Taskbar and select Start Task Manager from the popup menu.
On the Windows Task Manager dialog box, click the Processes tab. Right-click on the explorer.exe task in the list and select End Process from the popup menu.
A dialog box displays to make sure you really want to end the Explorer process. Click End process.
To restart the Explorer process, select New Task (Run…) from the File menu.
On the Create New Task dialog box, enter “explorer.exe” (without the quotes) in the Open edit box and click OK.
To close the Windows Task Manager dialog box, select Exit Task Manager from the File menu.
Once you have restarted Explorer, you should see your restored pinned items on the Taskbar again. Enjoy!