Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
Note - this post was originally written for Windows Vista, but it also applies to Windows 7.
Since the Windows Vista public launch in January 2007, I have been receiving questions more frequently about how to repair Windows Media Center to try to resolve various bugs. Many of the customers I have heard from have tried some of the repair steps I have previously posted for Windows XP Media Center Edition (such as this, this or this), but ran into problems getting them to work.
I want to emphasize that OS repair techniques that I have previously documented for Windows XP Media Center Edition will not work on Windows Vista or Windows 7 and should not be used on these versions of Windows. The underlying installation technology for OS components is completely new in Windows Vista, so install/repair techniques for Windows XP OS components will not continue to work on Windows Vista and higher. Also, some of the registration utilities that shipped with previous versions of Media Center are not included in Windows Vista or higher because they are no longer needed.
Windows Vista and Windows 7 Media Center files and registry information are protected by Windows Resource Protection (WRP) in Windows Vista. This means that only the OS installer service (named TrustedInstaller) has permission to modify/remove these files or registry keys unless you specifically take ownership of the files/keys and add additional user accounts to the access permission list (which you should not need to do except in extraordinary circumstances).
If you run into problems while using Windows Vista or Windows 7 Media Center and you suspect that files or registry entries that are a part of the Media Center feature are corrupt, you can use the instructions listed below to attempt to repair them.
Repairing Windows Vista and Windows 7 Media Center files
You can use the following steps to repair the files that are a part of Windows Vista Media Center:
Disabling and re-enabling Windows 7 Media Center
You can use the following steps to disable and re-enable Windows Media Center on Windows 7. These steps do not apply to Windows Vista.
Repairing Windows Vista and Windows 7 Media Center registry entries
Unfortunately, there is not an easy way of repairing the registry keys/values that are installed by Windows Vista and higher like there is for files. If you want to try to repair the registry keys/values that are a part of Windows Vista and Windows 7 Media Center, you will need to run Windows setup again and repair the OS.
<update date="10/7/2008"> Added a link to a knowledge base article about SFC and how to find errors that it reports during its repair process. </update>
<update date="8/17/2009"> Fixed broken link to knowledge base article. </update>
<update date="2/24/2011"> Added a note about how to disable and re-enable Windows Media Center on Windows 7. </update>
<update date="2/25/2011"> Updated the note I added yesterday to also include Windows Media Player. </update>
Hi Zamar - Thanks for the additional information. I'll update the blog post to suggest disabling and re-enabling Windows Media Player too.
Deleting Recordings.xml worked for me too!
Accessing the Guide, Recorded TV or Scheduled Recordings all just hung giving me the "Component Registration" error, on Vista Home Premium. It started completely out of the blue about a week ago.
I tried unregistering and re-registering everything, I ran sfc (and it said there was a file - TCP.ini couldn't be repaired, but said it had repaired a few other things - nothing.
Then I saw this comment about Recordings.xml. I backed up the three files in that folder (.xml, .xml.bak and .xml.side - last one was 0kb) and then deleted the .xml one and copied the .xml.bak one in its place and presto! Media Center now works again and all my recordings and scheduled items are there! Hooray! Thanks n4cer! Note also that after doing this the .side one has now vanished.
Hi i am having a problem with WMC i i have been using it for quite a while now never had any problems, but since yesterday i am having a problem which is that when i click on live TV it runs because i can hear the sound but no picture is on the screen same thing is happening with my recoded program i can only hear the sound but no pic, do you know what could be the problem and what is the fix, BTW i have windows 7 ultimate service pack 1
thank you in advance
Hi Toufail - I'm sorry, but I haven't worked on Windows Media Center since the Windows Vista release. I'm not sure what to suggest in this scenario other than to check for updated drivers for your video and TV tuner cards.
If updating drivers doesn't help, I'd suggest posting a question about this scenario on one of the following forums to see if someone there can provide any other suggestions for you to try:
Just wanted to add a simple but powerful free tool to repair codecs or fix playback issues. The Codec Tweak Tool has the ability to scan and remove broken codecs and DirectShow filters.
my wmc doesnt work..pop up message keeps on popping whenever i start using wmc...( a necessary component of the windows media center did not start properly. restart windows media center)--this is the error code...
please help me with this..thanks..
Hi Jaypee - If the steps that are listed above in this blog post don't help, then the only other way I know of to repair Windows Media Center components is to repair/re-install Windows.
If your Windows Media Center Program crashes at start every time without opening:
Step 1. Close Windows Media Center and all related processes.
Step 2. Navigate to the "C:\ProgramData\Microsoft" folder. (careful in here!!)
Step 3. Rename the "ehome" folder to "(backup)ehome"
Step 4. Navigate to the "C:\Windows" folder. (careful in here!!)
Step 5. Rename the "ehome" folder to "(backup)ehome"
Step 6. Run Windows Media Center
This fixed mine, hope it fixes yours!
My PC came with Vista. Then I converted to Windows 7. Since then, whenever I reboot, Media Center forgets my tv setup and I have to redo it all again. My system says I have the latest driver so I'm stumped. Any ideas?
Hi Kathygo - I haven't run into this particular issue in the past, so I'm not sure what you will need to do to fix it. I'd suggest posting a question on the forums at experts.windows.com/.../default.aspx and hopefully someone there will be able to provide some suggestions for you to try.
Thanks to posting by N4cer I managed to fix the problems as well.
Once I deleted the Recordings.xml file everything worked fine.
THANK YOU THANK YOU
p.s. The sfc /scannow did not give me any leads as it did not report any problems as well.