Follow the instructions below:
1. Click Start, click Accessories, the right click on Command Prompt and choose "run as administrator", then type regsvr32 jscript.dll, and then hit enter.
2. Type regsvr32 vbscript.dll then hit enter.
3. Now type exit and hit enter. Now try media player and it should work.
Hope this helps!