Windows

Fixing Windows Media Player When “Add to Library” Stops Working

Learn how to troubleshoot Windows Media Player when the Add to Library option is not working, including common causes, library resets, folder settings, and file permission checks.

Chris Anderson
Chris Anderson
How-To Writer  •  Sep 21, 2026  •  6 min read

If Windows Media Player is not adding music, videos, or other media to your library, the problem is usually caused by a bad library database, a watched folder issue, or a file access problem. In some cases, the files are being scanned but not shown because the library index is out of date or the wrong folders are selected.

This guide walks through the most effective fixes for Windows Media Player’s Add to Library feature, starting with simple checks and moving to deeper repairs only if needed.

Fixing Windows Media Player When “Add to Library” Stops Working

Check That Windows Media Player Is Looking at the Right Folders

The Add to Library feature only works properly if Windows Media Player is pointed at the folder where your media is stored. If you moved your files, copied them to a new drive, or changed folder names, the player may still be watching the old location.

  1. Open Windows Media Player.
  2. Press Alt to show the menu bar if needed.
  3. Select Organize, then Manage libraries.
  4. Choose the library type you want to fix, such as Music, Videos, or Pictures.
  5. Make sure the correct folders are listed. If a folder is missing, add it.
  6. Remove any folders that no longer contain your media files.
Why It Matters If Windows Media Player is watching the wrong folder, it may appear to ignore your files even though nothing is wrong with the files themselves.

Make Sure the Media Files Are Actually Supported

Windows Media Player does not handle every file type the same way. Some files may not be added to the library if they use a format the player cannot read properly, are badly encoded, or are partially damaged.

Key Fact A file that plays in one app but not another may still be incompatible with Windows Media Player’s library handling, especially if its metadata or format is unusual.

Rebuild the Windows Media Player Library Database

A damaged library database is one of the most common reasons Add to Library stops working. Rebuilding the library forces Windows Media Player to create a fresh index of your media folders.

  1. Close Windows Media Player.
  2. Open File Explorer and paste this path into the address bar: %LOCALAPPDATA%\Microsoft\Media Player
  3. Delete the files inside that folder, but do not delete the folder itself.
  4. Open Windows Media Player again and let it rebuild the library.
Warning Deleting these files resets Windows Media Player’s media library database. Your actual music and video files will not be deleted, but your library views, playlists, and history may need to be rebuilt.

Turn the Media Sharing and Library Services Back On

If Windows services related to media indexing or sharing are disabled, the library may not update correctly. This is more likely if you have used system tweakers, privacy tools, or manual service changes.

  1. Press Windows + R, type services.msc, and press Enter.
  2. Look for Windows Media Player Network Sharing Service and any media-related indexing services.
  3. If a relevant service is stopped, start it.
  4. If the service is disabled, change its startup type to Manual or Automatic where appropriate.
  5. Try adding the files to the library again.
Note The exact service names and availability can vary depending on your version of Windows and installed features.

Check Folder Permissions

If the media files are stored in a protected folder, Windows Media Player may not be able to read them. This can happen with folders copied from another user profile, folders on external drives with unusual permissions, or folders inside a restricted location.

Best For Files stored in user folders, external drives, or shared directories where permission problems are more likely.

Clear Corrupt Media Player Settings

Sometimes the problem is not the library itself, but the player’s stored settings. Resetting Windows Media Player’s preferences can remove a broken configuration that prevents libraries from updating.

  1. Close Windows Media Player.
  2. Open Control Panel.
  3. Go to Programs, then Turn Windows features on or off.
  4. Find Media Features and uncheck Windows Media Player.
  5. Restart your PC if prompted.
  6. Return to the same menu and check Windows Media Player again.
  7. Open Windows Media Player and test the Add to Library feature.
Warning Turning Windows Media Player off and back on can remove some custom settings and may force the app to recreate parts of its configuration.

Use the Right File Naming and Folder Structure

Windows Media Player can struggle when media is stored in deeply nested folders, folders with very long names, or locations that sync constantly with cloud software. In those cases, the files may still exist, but the library may not update reliably.

Quick Tip If a file adds correctly from a short local path but not from its original folder, the original folder path or permissions are likely part of the problem.

Repair System Files if Windows Media Player Still Will Not Update

If the problem affects more than just Windows Media Player, damaged Windows system files could be involved. Running built-in repair tools can restore components that the player depends on.

  1. Open Command Prompt as an administrator.
  2. Run the System File Checker command: sfc /scannow
  3. Wait for the scan to finish and follow any repair instructions.
  4. If needed, run DISM /Online /Cleanup-Image /RestoreHealth after SFC.
  5. Test Windows Media Player again after the repairs complete.
Why It Matters Windows Media Player relies on several Windows components in the background. If those files are damaged, the library feature may fail even when your media files are fine.

When to Try a Different Media App

Windows Media Player is older software, and some systems work better with a newer media app or a dedicated music manager. If the library refuses to rebuild correctly after the fixes above, the issue may be more about the app than your files.

How to Narrow Down the Cause Quickly

If you want to identify the problem faster, use this simple test: add one known-good media file from a short local folder path. If that works, the problem is probably your original folder, file permissions, or file naming. If nothing adds at all, the library database or Windows Media Player configuration is more likely to blame.

Note Testing with one small file first is often faster than trying to troubleshoot an entire music collection at once.

What Usually Fixes Add to Library Problems

Topics

More from Windows

View all →
How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4

How to Fix a Volume Bar That Keeps Appearing in Windows
Windows

How to Fix a Volume Bar That Keeps Appearing in Windows