When you open Explorer, all the libraries may be missing, and clicking the "Restore default libraries" context menu option would have no effect. For reasons unexplained, in some cases the libraries may become hidden, and all you need to do is to remove the hidden attribute set from the "library-ms" files.
Removing Hidden Attributes from Libraries
1. Press WinKey + R, and type the following command:
CMD /K CD /D "%AppData%\Microsoft\Windows\Libraries"
2. Type the following command to unset the Hidden attribute for the library-ms files:
ATTRIB -H *.library-ms
3. Type EXIT to close the Command Prompt window.
Editor’s Note: If the above doesn’t help, you may rename the default ".library-ms files" using these commands:
REN "%AppData%\Microsoft\Windows\Libraries\Documents.library-ms" Documents.old
REN "%AppData%\Microsoft\Windows\Libraries\Music.library-ms" Music.old
REN "%AppData%\Microsoft\Windows\Libraries\Pictures.library-ms" Pictures.old
REN "%AppData%\Microsoft\Windows\Libraries\Videos.library-ms" Videos.old
Then, open Windows Explorer, right-click Libraries (in the left pane), and click Restore default libraries.
Show Hidden Files in Explorer
Alternately, you can configure Windows Explorer to show hidden files, using the steps below:
Open Windows Explorer, click Organize
Select Folder and search options
Click the View tab, and select "Show hidden files, folders and drives"
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.