Update your .net framwork, or reinstall it. Should fix the problem..
Or
1. Click Start button, click All Programs, click Accessories, then right-click Command Prompt, in the right click menu, please click Run as administrator.
2. Type the following commands, press Enter after each line. And if that won't work reinstall windows

and re install everything

!
regsvr32 atl.dll
cd C:\WINDOWS\eHome
ehSched /unregServer
ehSched /service
ehRecvr /unregServer
ehRecvr /service
ehRec.exe /unregServer
ehRec.exe /regserver
ehmsas.exe /unregServer
ehmsas.exe /regserver