Libraries, one of the hundreds of features introduced with Windows 7, make it easier to search, find, and organize your files. With Libraries, you can easily organize files scattered across multiple drives and networks with ease. In simple words, a library helps you see your files in one place, no matter where they are located.

Both Windows 7 and Windows 8 ship with four libraries and let users add new libraries. Even though Libraries work flawlessly, sometimes, when you try to open up a library or when you try to a add file or folder to a library, you might get “Documents.library-ms is no longer working. This library can be safely deleted from your computer. Folders that have been included will not be affected” error.

If you’re experiencing the same error, you have no option but to delete one or more libraries and then creating it again. As you might know, deleting a library won’t delete files or folders from their original location. However, you will need to add all files and folders to the particular library all over again after creating the new library.

That  is, for instance, if you have deleted Pictures library, then you will need to add all those pictures and folders containing photos to the newly created Pictures library all over again.

Creating and deleting a library is fairly simple in Windows 7 and Windows 8, but if you’re not sure how to do that, simply follow the given below instructions:

Step 1: Open up Windows Explorer or File Explorer.

Step 2: In the left-pane of the window, right-click on the library name that isn’t working, and click Delete button to delete it. Click Yes button when you see the confirmation dialog.

Step 3: Next, in the left-pane, right-click on Libraries icon, click New, select Library, and finally type a name for your new library to create a new library.

Step 4: Lastly, add all your favorite files and folders that you would like to see in the new library by right-clicking on them, clicking Include in library option and then selecting your newly created library. That’s it!