Windows Media Player cannot delete a file from the device [FIX]

The Windows Media Player is one of the best apps for multimedia, but some users reported that Windows Media Player cannot delete a file from the device. Needless to say, it’s a minor issue at best and can be taken care of easily.
What to do when Windows Media Player cannot delete a file from the device?
1. Delete the file from your PC
- Connect your device – either the Windows Phone or mp3 player to your computer.
- Click on Start > File Explorer.
- In the File Explorer windows, click on This PC from the options on the left.
- Your external device should be listed here. Double-click on it to reveal its file structure.
- Navigate to the folder where the music or video files are stored.
- Locate the file you want to remove, right-click it and choose Delete. Click Yes to confirm.
Looking for a cross-platform media player? Try these great apps!
2. Check if Windows Media Player library database has become corrupted
- Launch the Run window by pressing the keyboard combo of Windows and R buttons. Alternately, you can also type Run in the Cortana search box and selecting the Run app from the search result.
- Type
%LOCALAPPDATA%\Microsoft\Media Player
in the Run app and click on OK.
- In the window that opens, select all files and delete them.
- Note: Make sure you are deleting only the files and not any folders therein.
- Restart Windows Media Player. This will rebuild the database all over again.
- Try deleting the file that you wish to.
3. Reset Media Library
- Restart your device.
- Type Services in the Cortana search box and select the Services app from the search result.
- In the Services window, look for Windows Media Player Network Sharing Service.
- Check the status. If it is shown to be Started, double click on the service and click on Stop to stop the service.
- Next, type
%LOCALAPPDATA%\Microsoft
in the Cortana Search box.
- Select the first search result.
- Locate Media Player and rename it to something else, like say, Media Non Player.
- You might have to select the setting to show hidden files and folders if you are not able to see the Media Player folder as the same could be hidden.
- Re-start Windows Media Player.
- Start Media Player again and check if the issue is still there.
The above should be all that you need to do to remedy the situation when Windows Media Player is unable to delete a file from the device.
Meanwhile, there are some related resources for you to browse.
- Windows Media Player cannot copy files to your library [FULL FIX]
- Windows Media Player has stopped working [BEST SOLUTIONS]
- Windows Media Player cannot change album art [FIX IT LIKE A PRO]
Still having issues? Fix them with this tool:
SPONSORED
If the advices above haven't solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.