Software & Apps > Windows How to Repair a Corrupt WMP Database: Recovering Music Rebuild the database to recover your precious media library By Mark Harris Mark Harris Writer University of Wolverhampton Mark Harris is a former writer for Lifewire who wrote about the digital music scene and streaming music services in an easy to understand, no-nonsense manner. lifewire's editorial guidelines Updated on June 15, 2021 Tweet Share Email Tweet Share Email Windows The Ultimate Laptop Buying Guide What to Know To rebuild: Open Run and enter %userprofile%\Local Settings\Application Data\Microsoft\Media Player.Then, select OK, and delete all files except folders.Alternatively, open Run dialog, then, in the Open box, enter %localappdata%\Microsoft, select OK, delete Media Player folder. If your Windows Media Player (WMP) no longer allows you to view, add, or delete items in the WMP library, there's a chance that its database has been corrupted. To fix this problem, rebuild the WMP database. This will solve the problem if your media library is corrupted. Instructions apply to Windows 10, 8, and 7. How to Rebuild the Windows Media Player Database The steps below will help you rebuild your WMP database for your login only. If several people use your computer, perform the following for each person or follow the instructions in the next section. Press Win+R to open the Run dialog box. Type or copy and paste this path into the text box: %userprofile%\Local Settings\Application Data\Microsoft\Media Player Press Enter or select OK. Delete the files in this folder, excluding folders. To rebuild the database, restart Windows Media Player. The relevant database files will be created again. Alternative Way to Rebuild a WMP Database If several family members have issues with WMP, follow the steps below to rebuild the Windows Media Player database for all profiles. Press Win+R to open the Run dialog box. Type or copy and paste this path into the text box: %localappdata%\Microsoft Press Enter or select OK. Delete the Media Player folder. To rebuild the database, restart Windows Media Player. The relevant database files will be created again. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Subscribe Tell us why! Other Not enough details Hard to understand Submit