how to rebuild the windows media player legacy library

Omnes Inimici 40 Reputation points
2026-05-14T14:28:57.59+00:00

I transferred my music library from the external backup drive from my dead laptop to my new pc. After WMP on the new pc scanned my songs/albums, it has absolutely butchered the song and album info. Missing or incorrect titles/artists, etc. for my music. I get that MS hates Media Player Legacy and works hard to make it more and more inconvenient to use because they don't have the guts to outright kill it, but this is ridiculous. How can I clear this erroneous info from the WMP library and try to start over? All this info was correct on my old pc, either because the WMP online database was still worth a damn, or in many cases I'd entered the info manually. I really don't want to do the manual option as we are talking about hundreds of songs/albums.

Also, I hate this new support setup and miss the old community pages. Microsoft, you are getting worse and worse.

Windows for home | Windows 11 | Files, folders, and storage
0 comments No comments

Answer accepted by question author
Lychee-Ng 29,485 Reputation points Microsoft External Staff Moderator
2026-05-15T08:59:50.0733333+00:00

Hi Omnes Inimici,

I completely understand how frustrating it is to see your music library appear incorrectly on a new PC, especially after putting in the effort to build it and there are hundreds of songs/albums.

Before going further, one thing I must note is that Windows Media Player’s online metadata service is no longer working as it used to. Because of that, letting WMP rescan your library can give the same results again.

The steps from Q&A Assist to rebuild the library are correct, but realistically they only clear the current database. They won’t restore missing metadata if that’s what you’re looking for. Here’s the ways forward depending on your situation:

1 - Stop WMP from changing metadata and making things worse

  • Open Windows Media Player’s settings > Uncheck:
    • Retrieve additional information from the Internet
    • Update music files by retrieving media info from the Internet
  • Clear the current WMP library database (follow Q&A Assist’s suggestions)
    • Press Win + R > enter %LOCALAPPDATA%\Microsoft\Media Player
    • Delete everything inside (do not delete the folder).

2 - Re-import your files

  • Only if you still have your music unaffected on the external drive
  • Disconnect it from the PC > delete all the music files on PC
  • Copy the files again > check the metadata.

Since you mentioned you manually edited metadata on your old PC, there is a good chance some of that information is already saved in the files. However, if the metadata was only stored in the old WMP library, you will see missing/incorrect info.

3 - If you don’t have the files anymore / no metadata saved

  • For hundreds of files, the practical solution is to use a tagging tool
  • Load your entire music folder into the tool > run automatic matching / lookup
  • Review matches > Save files > this writes correct metadata into the files themselves.

Overall, you can rebuild the library, but the underlying issue here is a no longer reliable lookup service. I know this is not the answer you were hoping for, but if the tags were not embedded, the only practical fix is to repair the tags outside WMP. If you need suggestions for tagging tools, let me know.


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

5 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. AI answer

    2026-05-14T14:29:13.5166667+00:00

    To rebuild the Windows Media Player (WMP) Legacy library and clear incorrect metadata, remove the existing library database so WMP recreates it, and if needed, repair/reinstall WMP.

    Use these steps on Windows 10/11 with Legacy WMP:

    1. Close Windows Media Player
      • Make sure WMP is not running.
    2. Clear the WMP library database
      1. Press Windows + R.
      2. Type:
              %LOCALAPPDATA%\Microsoft\Media Player\
        
        and press Enter.
      3. In that folder, delete all files (but do not delete the folder itself).
      4. This removes the current library database, including the incorrect indexing/metadata stored by WMP.
    3. Restart Windows Media Player
      • Open WMP again.
      • It will rebuild its library from the media folders it is monitoring and recreate the database from scratch.

    If WMP still behaves incorrectly after rebuilding the database, use the built‑in repair/reset and, if necessary, reinstall WMP:

    1. Repair or reset Windows Media Player (Windows 11/10)
      1. Select Start > Settings > Apps > Installed Apps.
      2. Scroll to Windows Media Player, select the three horizontal dots, choose Advanced options.
      3. Click Repair first and test.
      4. If issues persist, click Reset.
        • Reset returns WMP to default settings and clears custom preferences, but does not delete media files or the library content on disk.
    2. Uninstall and reinstall Windows Media Player (feature toggle)
      1. Select Start > Control Panel > Programs.
      2. Choose Turn Windows features on or off.
      3. Expand Media Features and uncheck Windows Media Player (or Media Features entirely) and click OK.
      4. Restart the PC.
      5. Go back to Turn Windows features on or off, re‑check Windows Media Player (or Media Features) and click OK.
      6. Restart again.
      • This reinstalls the latest WMP 12 for the system and forces a fresh library build.

    After these steps, WMP will rescan the music folders and rebuild the library. Any metadata that was only stored inside the old WMP database (and not written into the files’ tags) cannot be automatically recovered; only the tags actually present in the music files or available from online sources will be used.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.