Tips & Tricks, Tutorials, Hacking, Troubleshooting,

The Windows 7 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 web pages to it (see our post, Pin Files and Folders to the Windows 7 Taskbar for more information).

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

Entering path to Taskbar folder

Select all the shortcut files in the TaskBar folder. Right-click on the files and select Copy from the popup menu.

Copying Taskbar pinned items

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.

Pasting pinned items to backup folder

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.

Opening the Registry Editor

Again, click Yes on the User Account Control dialog box.

Clicking 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.

Exporting Taskband registry key

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.

Entering name for exported registry key

Close the Registry Editor by selecting Exit from the File menu.

Closing the Registry Editor

You should see your .reg file in your backup folder.

Pinned items registry key backup file

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.

Copying pinned items in backup folder

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.

Pasting pinned items back into Taskbar folder

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.

Copy and Replace option on Copy File dialog box

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.

Clicking Yes on the User Account Control dialog box

A confirmation dialog box displays to make sure you really want to add the information in the .reg file to the registry. Click Yes.

Registry Editor warning dialog box

A dialog box then displays saying the information has been successfully added to the registry. Click OK.

Key successfully added to the registry

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.

Opening the Task Manager

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.

Ending the Explorer process

A dialog box displays to make sure you really want to end the Explorer process. Click End process.

Confirmation dialog box for ending Explorer process

To restart the Explorer process, select New Task (Run…) from the File menu.

Selecting New Task

On the Create New Task dialog box, enter “explorer.exe” (without the quotes) in the Open edit box and click OK.

Entering explorer.exe on Create New Task dialog box

To close the Windows Task Manager dialog box, select Exit Task Manager from the File menu.

Closing the Task Manager

Once you have restarted Explorer, you should see your restored pinned items on the Taskbar again.

No comments:

Post a Comment