For the past couple of days I have experienced a strange error whenever I tried to play videos in an application on Windows 8. I always received the "The video failed to play" error when I tried to do so regardless of the video that I tried to play. I first thought this was due to country restrictions that app developers or services may have added to their applications to keep users from specific countries from playing the videos. Turns out, this was not the case.
I tried a lot to fix the issue. Here are a couple of things I tried to resolve the video playback issue:
- Install, uninstall and re-install Windows Media Center
- Uninstall and re-install Windows Media Player
- Changing Internet Explorer zone permissions
- Installing a system wide codec pack
- Using the codec pack to reset all codec associations
- Changed the language and region of the system
The restarts of the system went into the two-digit realm rather quickly and I was about to give up when I remembered that I could run the good old sfc /scannow on the system. The command scans system files to make sure they are not corrupt or modified in any way. It tries to automatically repair files that are not original anymore. This can for instance happen after a crash, when they have been modified by a third party program or malware.
To run the command on Windows 8 press the Windows key to get to the start screen of the system. Skip the step if you are already there. Enter cmd which should display Command Prompt on the left under Apps. Right-click the item and select Run as administrator from the bottom toolbar that opens up. This opens the command prompt with elevated rights. You may receive an UAC prompt that you need to accept.
Enter sfc /scannow here and hit enter.
The scan takes a couple of minutes to complete. You will be notified at the end if the scan found corrupted files and whether it succeeded in repairing them or not. The scan found corrupt files on my system and managed to repair them. Videos played just fine afterwards in all apps I tried.Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook, Twitter or Google+ using the icons below.