When you double-click a library to view the contents, the following error may occur.
For example, the following error may occur when opening Documents library

Similarly when opening the Music, Pictures or Videos library
To fix this problem, open Windows Explorer, right-click on the corresponding library and choose Delete. Click Yes when asked for confirmation.
Note: Deleting a library does not delete the contents of the included folders. However, you may need to re-add or include your folders manually, if needed.
Then, in the navigation pane of Windows Explorer, right-click Libraries and click Restore default libraries.

This recreates the library that was deleted earlier. This option only restores the default libraries.
Related Posts
- How to Restore Missing Search Box in Windows 7 Start Menu?
- Remove Misspelled Words From the Custom Dictionary in Windows Mail
- What Causes the Error MSCFGTLC.XML When Starting Msconfig.exe?
- Vista – Desktop.ini Files Shown on the Desktop
- How to Fix Sidebar Crash “Windows Desktop Gadgets Has Stopped Working”
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?




I just tried the following suggestion too, outstanding A++++
A+ Thanks top on bing search can’t go wrong.
Blake
Thanks. I was getting fed up and saw this help. The windows 7 error is now fixed, although I do not know why I stopped working in the 1st place – ant Ideas?
I rate this help 10/10
Thanks – your fix worked 5* to you ! :0
I too had a migraine over the .library-ms, searching for days and no fix.
THIS WORKS: Get a Registry editor and open up HKEY_CLASSES_ROOT scroll to .library-ms and edit the top entry to “LibraryFolder” from “Not Set” or what ever it says. I had to look on a working copy of Windoze7 to glean this and viola!
Thanks a million man
10000000000000 thumbs :D
Thank you. very simple to fix. it worked very well. 5 * :)