Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Windows Media Player - Rebuild Corrupted Libraries

Windows Media Player - Rebuild Corrupted Libraries

How to Rebuild Windows Media Player Corrupted Libraries
Published by Gornot
30 Sep 2010
Published by

How to Rebuild Windows Media Player Corrupted Libraries

information   Information
This tutorial will show you how to rebuild your Windows Media Player (WMP) libraries in order to remove corrupted files (for example, files deleted from the hard disk that linger in the WMP library) in just a few, easy steps. This tutorial can also be applied to other issues.
Note   Note
  • Using this tutorial will not delete any media files physically; instead, it will reset the WMP libraries to their default state, without changing your previously made settings.
  • Windows Libraries are not affected by this tutorial.

The N and KN editions of Windows 7 have all the features that normally come with each individual Windows 7 edition, except for Windows Media Player 12 and related programs, such as Windows Media Center or Windows DVD Maker.

The N editions of Windows 7 allow you to choose your own media player and software required to manage and play CDs, DVDs, and other digital media files. If you choose to use Windows Media Player 12, downloading it, along with related software, is free.
Download Media Feature Pack for Windows 7 N with Service Pack 1 and Windows 7 KN with Service Pack 1 (KB968211) from Official Microsoft Download Center
Tip   Tip
Please make sure Windows Media Player is closed during this process.

Here's how:

1. Click on the Start Orb and type "services" into the search, then select Services from the list of search results.

Windows Media Player - Rebuild Corrupted Libraries-startmenusearch.png

Alternatively, you can right-click the Computer icon, select Manage, then choose Services under "Services and Applications" in Computer Management.

Windows Media Player - Rebuild Corrupted Libraries-computermanagement.png

2. In the list of services, locate "Windows Media Player Network Sharing Service" and stop it via one of the highlighted options.

Windows Media Player - Rebuild Corrupted Libraries-stopwmpnss.png

Tip   Tip
Please keep the Services window open, you will need it later.

3. Click on the Start Orb and use the search again, this time type in C:\Users\(user)\AppData\Local and click the Local folder from the list of search results.

Windows Media Player - Rebuild Corrupted Libraries-searchappdatalocal.png

4. Inside the "Local" folder, navigate to the "Microsoft", then "Media Player" folder. Delete all the files contained in this folder and close the Explorer window.

Windows Media Player - Rebuild Corrupted Libraries-delfiles.png

5. Now go back to the Services window and start the Windows Media Player Network Sharing Service. Next time you start Windows Media Player, it will automatically rebuild all libraries using the information on folders that are included in the Windows Libraries.
13 Oct 2010   #1

7 ult 64
Thanks Gornot

Thanks for the great description of how to do this. I had to do this before but forgot about it when my media player started acting strange again. Media sharing wasn't working properly and cleaning out the Media Player folder seems to have immediately fixed the problem. This also works for Vista systems which is where I had to do it before.

My System SpecsSystem Spec
28 Nov 2010   #2


when i turn the player on i always have to wait for to load up the files, then it'll repeat many of them,and it will label them (wma and m4a) so should i use this method also, or do i have to do something else
My System SpecsSystem Spec
05 Dec 2010   #3


never mine problem solved
My System SpecsSystem Spec

13 Feb 2011   #4

Windows 7 Ultimate x64

thank you it work exactly the way i wanted
My System SpecsSystem Spec
13 Feb 2011   #5
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8

I think it suffices if you delete the .wmdb folders only.
My System SpecsSystem Spec
10 Jun 2011   #6

Windows 7 Home Premium

Thank you.
Just the info I was looking for.
Top man.
My System SpecsSystem Spec
13 Jun 2011   #7

Windows 7 Home Premium (64 bit)

I was SO hoping that this was the fix. But alas, my problem remains.
My System SpecsSystem Spec
13 Jun 2011   #8

Microsoft Windows 7 Home Premium 64-bit 7600

I have mp3 files that used to play in wmp but no longer do i get a red cross beside the track im trying to play, the same files however play in winamp so it is a bit of a bummer as i spent a long time getting my music library in order
My System SpecsSystem Spec
19 Sep 2011   #9

Windows 7 x64 Ultimate

Thanks! I had to use it againg
My System SpecsSystem Spec

 Windows Media Player - Rebuild Corrupted Libraries

Thread Tools

Similar help and support threads
Thread Forum
windows media player 12 updates the libraries every time I open it
My windows media player 12 updates the libraries every time I open it, its anoying. As I remember with previous versions my libraries would update the first time player would open, then I could add particular folders I needed and it would add them, and then it would add only the stuff that was...
Music, Pictures & Video
Windows Media Player 12 Libraries ?
I am trying to find a way to "segregate" about 100 Christmas songs. I'd like to keep them in my music area - but I'd like to exclude them when I'm listening to music. Today I hit all music and then shuffle- and these Christmas songs keep coming up. I know I can make a Playlist with...
Music, Pictures & Video
Media Player Libraries
is it possible to add librarys to WMP?
Music, Pictures & Video
Libraries, Media Player, and Media Center
So I was just starting to love libraries in Windows 7 and decided I'd setup WMP on my media server, and now I'm stuck. I can't create new libraries in WMP, WMP won't recognize any folders with video that I add to the "Recorded TV" library, and WMP won't use my Windows 7 libraries. On top of that,...
Music, Pictures & Video
corrupted windows media player
Hello, I'm using windows 7 on H.P. desktop 32 bit with I.E. 8 The troubleshooter has told me that the W.M.P. is corrupted (see attachment). Does anybody know how to "uncorrupt" it. Thanks for any help or advice that I receive. John
Music, Pictures & Video

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:02.
Twitter Facebook