I keep getting an error message whenever i try to play a song

I bought a new laptop at Christmas (windows 7) and transferred all of my files from my old windows XP to my new windows 7. Everything seemed normal until a few days ago. When i start my windows media player and try to play a song an error message pops up saying "Windows Media Player encountered a problem while playing the file." then a small red x appears beside the song on the sidebar. It has done this to every song of mine but I don't know why. I have recently synced songs onto my phone but i have had no problems before with it. 

I have tried to find a solution but it never works.

Please help me, its brand new. Thanks


Question Info

Last updated March 16, 2018 Views 426 Applies to:

Hi NeshaX,



What are the file types that you are trying to play?


This might be an issue with the codecs I would suggest that you uninstall the K-lite codec that you have installed and install the codecs from Microsoft and check if you are able to play .avi files on the computer or not.

Codecs: frequently asked questions: http://windows.microsoft.com/en-US/windows7/Codecs-frequently-asked-questions


NOTE: Using Third Party Software, including hardware drivers can cause serious problems that may prevent your computer from booting properly.

Microsoft cannot guarantee that any problems resulting from the use of Third Party Software can be solved. Using Third Party Software is at your own risk.


Refer the article to check for the codecs that can be installed for .avi files: Information about the Multimedia file types that Windows Media Player supports: http://support.microsoft.com/kb/316992


Also check if any exclamation marks are shown with the sound device in Device Manager. The exclamation mark shows an issue with the driver installed.


You may try uninstalling and re-installing the latest drivers for the video card from the manufacturer’s website and check.


Refer the link to update the drivers: Update a driver for hardware that isn't working properly: http://windows.microsoft.com/en-us/windows7/Update-a-driver-for-hardware-that-isnt-working-properly



Hope this information is helpful.

Amrita M

Microsoft Answers Support Engineer

Visit our Microsoft Answers Feedback Forum and let us know what you think.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.