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:
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.
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.