There is an online FixIT tool released by Microsoft that can help you fix everything that's damaged on Windows Media Player. Since this is usually a system component, it's best to use official tools than modifying the files all by yourself.
Download the tool, run it and follow the on-screen options based on your problem. You might need to restart the computer at the end of the process.