Microsoft

Remove Libraries from Windows Explorer in Windows 7

Greg Shultz shows you how to remove Libraries from the navigation pane in Windows 7 Explorer by editing the registry.

I recently received an e-mail message from a TechRepublic Windows Blog reader concerning a blog post that I wrote back in February, "Be a Power User: Customize the File Management Features of Windows Explorer." In that post, I covered eight techniques that you can use to get more out of Windows Explorer in Windows 7.

One of the techniques that I shared was how to expand the navigation pane. I showed you how to reconfigure Windows Explorer's navigation pane with its five sections—Favorites, Libraries, Homegroup, Computer, and Network, as shown in Figure A—into a more streamlined tree.

Figure A

By default, Windows Explorer's navigation pane contains five sections.
To do this, you just select the Show All Folders check box in the Folder Options dialog box, as shown in Figure B.

Figure B

You'll access the Folder Options dialog box and select the Show All Folders check box.
When you do, the navigation pane will contain only two sections: Favorites and Desktop, with the latter containing Libraries, Homegroup, your User folder, Computer, Network, as well as Control Panel and Recycle Bin, as shown in Figure C.

Figure C

The navigation pane is more streamlined and now contains the Control Panel and Recycle Bin.

The reader told me that while reconfiguring the navigation pane so that Libraries were not as prominent was a good trick, what he really wanted to be able to do was to remove Libraries altogether. After a bit of investigation, I discovered that it is possible to remove Libraries from Windows Explorer with a couple of Registry tweaks.

In this edition of the Windows Desktop Report, I'll show you how to remove Libraries from the navigation pane in Windows 7's Windows Explorer by editing the registry.

This blog post is also available in PDF format in a TechRepublic download.

Notes

I think that Libraries are a valuable feature in Windows 7, and I use them regularly. However, I understand that if you don't use them, having the Libraries show up in Windows Explorer can be annoying. Now, even though I will show you how to remove Libraries from Windows Explorer, my guess is that you may want them back at some point in the future. Therefore, as a part of the procedure, I'll also show you how to create a REG file before altering the Registry so that you can quickly and easily undo the change should you later decide that you want to make use of Libraries in Windows Explorer.

Keep in mind that even though Libraries will be removed from Windows Explorer, they will still be available and will show up in various places such as in the Open and Save dialog boxes of your applications.

Editing the Registry

Before you begin, keep in mind that the Registry is vital to the operating system and changing it can be dangerous if you inadvertently make a mistake. As such, you should take a few moments to back up your system by creating a system image in the Backup and Restore tool. That way if anything goes awry, you can restore your system and get right back to work.

To launch the Registry Editor, click the Start button, type Regedit in the Start Search box, and press [Enter]. When the UAC dialog box appears, respond appropriately.

Stay on top of the latest Microsoft Windows tips and tricks with TechRepublic's Windows Desktop newsletter, delivered every Monday and Thursday. Automatically sign up today!

Removing Libraries

When the Registry Editor appears, navigate to the following folder

HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder

When you get there, right-click on ShellFolder and select the Export command, as shown in Figure D. (Take note of the Permissions command as you will use it in the next step.)

Figure D

You'll use the Export command to make a REG file that you can later use to restore the Libraries feature to Windows 7.
When you see the Export Registry File dialog box, choose the folder in which you want to save your REG file and then name the file Show Libraries, as shown in Figure E. You can use this file later to restore the Libraries feature to Windows 7.

Figure E

Save the file with the name Show Libraries so that you can find it easily when and if you need it.
Now, right-click ShellFolder again and this time select the Permissions command. When you see the Permissions for ShellFolder dialog box, select Administrators in the Group or User Names panel and then select the Full Control check box in the Permissions for Administrators panel, as shown in Figure F. Click OK to continue.

Figure F

You must set Permissions for Administrators to Full Control so that you can change the contents of ShellFolder.

Now, right-click on the Attributes value and select the Modify command. When the Edit DWORD (32-bit) Value dialog box appears, you'll see that the default Value data setting is:

b080010d

Now, press Backspace to remove the value and type the new value, as shown in Figure G:

b090010d

Figure G

You'll set the set the Value data to b090010d.
Now click OK, close the Registry Editor, and then log off your session. When you log back on, you'll see the Libraries no longer show up in Windows Explorer, as shown in Figure H.

Figure H

Libraries no longer show up in Windows Explorer.

What's your take?

Do you find having Libraries in Windows Explorer to be a nuisance? Will you use this technique to remove them? As always, if you have comments or information to share about this topic, please take a moment to drop by the TechRepublic Community Forums and let us hear from you.

About

Greg Shultz is a freelance Technical Writer. Previously, he has worked as Documentation Specialist in the software industry, a Technical Support Specialist in educational industry, and a Technical Journalist in the computer publishing industry.

Editor's Picks