Hacking Windows 7 Media Center

Fix a Corrupt Windows Media Player Database

by Michael Healy @ 7:00 am on February 19th, 2009 in programs, windows 7 with 9 Comments and Permalink

Sometimes a Windows Media Player database can become corrupt for any number of reasons. This will obviously also effect Media Center since it runs off the same database for videos and music. Luckily fixing the problem isn’t too difficult.

WMP Library Delete

First thing that needs to be done is to stop the Windows Media Player Network Sharing Service. This service controls media sharing over your network but it also locks the database file so it can’t be deleted by the user. To stop this service enter task manager (crtl+alt+del) and select the services tab. Find “WMPNetworkSvc” in the list then right-click and select “Stop Service”. If you receive a denied error you can also stop the service from the “Services” button at the bottom.

WMP Network Sharing Service

Once the service has been stopped open Windows Explorer and go to “\Users\YOUR USERNAME\AppData\Local\Microsoft\Media Player”. It may be hidden so you won’t be able to see it but you can type it into the address bar to access the location. Alternatively, you can also enable hidden folders to be shown on your pc by going to Control Panel > Folder Options and enabling showing hidden folders.

Show Hidden Folders

Once you’re in the folder, locate the “CurrentDatabase_371.wmdb” file and delete it. If you receive a permission denied error the “WMPNetworksvc” may not have been stopped or you may need to restart your machine and start again.

Once the wmdb file has been deleted, restart Windows Media Player and the database should begin to repopulate. It may take some time to complete depending on the number of files. That should be all there is to fixing your corrupt Windows Media Player database.

Get more guides and tips by Following on Twitter or subscribe to the RSS Feed!

9 Comments


Anonymous
Comment #132 from Anonymous [Reply]

Thanks, this worked perfectly!

Comment left March 17, 2009 at 10:47 am with Permalink

Gareth
Comment #483 from Gareth [Reply]

Great but can someone tell me how i can then set all my music as “Found” so i dont have to reseach all the albums it cant find.

Comment left April 29, 2009 at 10:24 am with Permalink

battles
Comment #3194 from battles [Reply]

Michael,

I originally ripped my cd collection as .wav files (reason being is that there is a distinguishable sonic difference on using high-end audiophile equipment when playing back WAV files vs the lossless formats — many will deny this but it’s true). In doing so, I individually tagged each one of my ripped CDs using WMP’s manual tagging system. This was a very labor intensive and time consuming process. Unfortunately, I have found that transfering my manually tagged ripped cd collection from VISTA to Win7, will require that I repeat this labor intensive process (vs. if the files had been saved into a more taggable format such as wma lossless, flac, etc.). Since my rips are saved on a server and not being physically moved to a new computer, all I really need to do is find some way to transfer the wmp 11 data base file from the vista client computer to the Win7 client computer. Do you happen to know how this might be accomplished and based on hands on experience if it will work?

Thanks,

Battles

Comment left September 11, 2009 at 10:26 am with Permalink

Frustated Overseas
Comment #6107 from Frustated Overseas [Reply]

I’ve tried this along one with other things found on on different websites with no positive results. Any other suggestions? It’s hard to get by out here without my music. :(

Comment left December 29, 2009 at 12:24 pm with Permalink

Fox
Comment #6751 from Fox [Reply]

Hello i followed the steps and the error that my media player library was corrupt stopped popping up, however my media library did not re populate and when i try to manually add files into the library nothing happens does anyone know how i can fix this?

Comment left January 18, 2010 at 6:30 pm with Permalink

Shahid
Comment #6956 from Shahid [Reply]

After performing the last step, when the windows media player is restarted, please wait for a while till the songs get re populate. You might also see an error message that this program is not responding as the status. But eventually the files will be added back in the library. This worked for me!!! THNKS!!!

Comment left January 23, 2010 at 12:32 am with Permalink

Gail
Comment #7192 from Gail [Reply]

Help. I followed your directions and everything seemed to work fine except the library name appeared to be a file currentdatabase-372. The library repopulated but it didn’t appear to delete the old content. Now I have two copies of most everything. What’s the problem? Help!

Comment left January 29, 2010 at 2:20 am with Permalink

Gail
Comment #7198 from Gail [Reply]

p.s. I found another post on another website. It said to delete all of the files, but not the folders within the Media Player folder. I did this and the old library with all of the dups was deleted and a new one was rebuilt.

Comment left January 29, 2010 at 4:22 am with Permalink
Comment #7605 from JimZeller [Reply]

I have the TV setup cannot continue error
windows tells me to restart windows media center and retire tv set up……….
nothing works so far just wondering if I was the only one that just wanted to throw windows 7 out the window????????
for me vista was much better I just never had any problems the media center and that is the only thing this computer does.
I have a hp quad

Comment left February 12, 2010 at 12:43 am with Permalink

Leave A Comment

Post Anonymously, Fill in your details or Use one of the Social Networks below to login and post a comment!