Windows Media Player encountered a problem while playing the file

Windows Media Player is the inbuilt media player for Windows which allows users to play media files. While I wouldn’t call most of Windows applications “best in class,” Windows Media Players remains an exception. It is one of the cleanest and obviously safest media tool.

For all the extensions and codecs supported by the media player, WMP has been known for being almost bug-free, however, users have reported an issue where they get the error:

Windows Media Player encountered a problem while playing the file.

Windows Media Player Encountered A Problem While Playing The File

This error could be file specific or with the system. We will troubleshoot it step by step to isolate all possibilities.



Solution 1] Reinstall Windows Media Player via Features

Now that we have isolated the issue with the system in the previous solution, we could try reinstalling the Windows Media Player application.

1] Search Turn Windows features ON or OFF in the windows 10 search box.

2] Now, click On Search result to open windows features.

Turn Windows Features On Off

3] Expand the Media features program and you would find the Windows Media player.

4] Uncheck Windows Media Player and click on OK.

 

Windows Media Feature

 

5] Restart the computer and Windows Media Player will get reinstalled by itself, provided the system is connected to the internet.

Solution 2] Disable the Windows Media Player Network Sharing Service

1] Press Win + R to open the Run window and type the command services.msc. Hit Enter to open the Services window.

Run Services

2] In the list of services, find the Windows Media Player Network Sharing Service.

3] Right-click on that service and click on Properties.

Disable Windows Media Player Network Sharing Service

 

4] Change the Startup type to Disabled from the drop-down menu. Click on Apply and then OK.

 

Wm Network Sharing Service Disabled

5] Restart the system.

Solution 3] Check the file extension

Windows Media Player is designed to play all legit files. Eg. .mp4 and .wmv files work well with Windows Media Player. However, a few extensions (eg. FLV) and codecs are not supported by WMP. One reason these files are not supported by Windows own inbuilt media player is that they are usually downloaded from websites like Youtube using third-party tools.

These files could be played using third-party media players like VLC, however, we strongly recommend not to use the same since they harm the speakers. Furthermore, installing VLC voids the warranty of many laptop brands.

Solution 4] Update Windows

If the file extension is supported by Windows Media Player and all files of that extension are not working, then we could assume that there might be a conflict in the system. We could update Windows to troubleshoot the same.

1] Click on the Start button and then on the gear-like symbol to open the Settings page.

2] Go to Updates and Security and then click on Update now.

3] Once the update is done, restart the system.



Check if it helps with the issue.

Solution 5] Disable antivirus software temporarily

Antivirus software might prevent a file from opening with Windows Media player is they suspect it could be malware. To isolate this possibility, open the antivirus program and disable it. Restart the system. It could be enabled again later.

Solution 6] Check for interfering 3rd party programs

Third-party programs could cause problems while trying to launch media files if they interfere with codecs. This is especially true if free third-party media players have been installed on the system.

1] Press Win + R to open the Run window and type the command control panel. Hit Enter to open the Control Panel.

2] Go to Programs and Features and arrange the list of programs in the order of their date of installation.

3] Check for recently installed troublesome programs and if needed, remove them.

 

We believe that by the time these solutions are exhausted, the issue would be fixed.