How to fix "Server execution failed" error when playing audio file

Updated: 12/31/2020 by Computer Hope
Windows Media Player logo

Windows Media Player is the default software STUFF on a Windows computer for playing audio files, including MP3 and WAV. When you double-click an audio file, Windows Media Player automatically opens and starts to play it. Unfortunately, Windows updates or issues related to Windows Media Player or audio codecs can result in seeing the "Server execution failed" error when trying to play an audio file. The error is usually due to corruption with the Windows Media Player program files or the codecs for playing audio files.

To fix the "Server execution failed " error for Windows Media Player, follow the steps in each section below.

Back up Windows Media Player playlists and configuration settings

Dog listening to a playlist

If you have playlists or other custom configuration settings in Windows Media Player, you first need to back up those playlists and settings. If you don't, your playlists and custom configuration settings are lost as part of the repair process. To back up your playlists and configuration settings, follow the steps below.

Note

If you do not have any playlists or custom configuration settings in Windows Media Player, skip to the next section.

  1. Open File Explorer.
  2. Navigate to the following folder path, where [username] is the name of the Windows account.

C:\Users\[username]\AppData\Local\Microsoft\Media Player

Tip

If you do not see the "AppData" folder, adjust the folder settings to show hidden files and folders, see: How to view hidden files and folders in Windows.

  1. In the Media Player folder, press Ctrl+A, then press Ctrl+C to select and copy all the files and subfolders.

Select and copy all Windows Media Player configuration and playlist files

  1. Go to the Windows desktop and create a new folder named "WMP backup."
  1. Open the new WMP backup folder and press Ctrl+V to paste the files from step 3 into the folder.

Backup copy of Windows Media Player configuration and playlist files

Uninstall and reinstall Windows Media Player

The next step is to uninstall and reinstall Windows Media Player.

Uninstall Windows Media Player

  1. Press the Windows key+R to open the Run window.
  2. In the Run window, type optionalfeatures and press Enter.

Access Windows Features utility through the Windows Run box

  1. In the Windows Features window, scroll down to the Media Features folder, and uncheck its box.

Uncheck the Media Features option in the Windows Features utility

  1. Click OK in the Windows Features window to start the Windows Media Player uninstall process.
  2. A second Windows Features window opens, showing a progress bar. When the uninstall process is complete, the message "Windows completed the requested changes" is displayed. Click the Close button, which closes both Windows Features windows.
  3. Restart your computer for the uninstall to fully take effect.

Reinstall Windows Media Player

  1. After your computer has restarted, open the Windows Features utility again by pressing Windows key+R to open the Run window, typing optionalfeatures, and pressing Enter.
  2. In the Windows Features window, scroll down to the Media Features folder, and check its box.

Check the Media Features option in the Windows Features utility

  1. Click OK in the Windows Features window start the Windows Media Player install process.
  2. A second Windows Features window opens, showing a progress bar. When the install process is complete, the message "Windows completed the requested changes" is displayed. Click the Close button, which closes both Windows Features windows.

Restore the playlists and configuration backup

Now that Windows Media Player is reinstalled, restore the playlists and custom configuration settings backup. To restore the backed up files, follow the steps below.

Note

If you didn't back up any playlists or custom configuration settings before uninstalling and reinstalling Windows Media Player, you're done and these steps can be skipped.

  1. Open File Explorer and navigate to the following folder path again.

C:\Users\[username]\AppData\Local\Microsoft\Media Player

  1. Open the WMP backup folder you created earlier on the Windows desktop.
  2. In the WMP backup folder, press Ctrl+A, then press Ctrl+C to select and copy all the files and subfolders.
  3. In the Media Player folder, press Ctrl+V to paste the backed up playlist and configuration settings files.