Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Media Center crashes when launched after installing KB908250 and KB910393 from Windows Update

Media Center crashes when launched after installing KB908250 and KB910393 from Windows Update

Rate This
  • Comments 36

I mentioned yesterday that there is a new Windows Media Player hotfix (KB910393) available that will help reduce instances of digital rights management problems in Update Rollup 2 for Media Center 2005.

We have found a problem with the way the setup package for this hotfix interacts with Update Rollup KB908250 for Update Rollup 2 that can cause Media Center to crash when you try to launch it after installing KB908250 and KB910393 from Windows Update.

Problem description

In this scenario (described in this newsgroup posting), after installing Update Rollup 2 for Media Center 2005 you can visit Windows Update to search for additional updates.  There will be some new critical updates available that are only offered after you install Update Rollup 2.  Included in this list of critical updates are both KB908250 and KB910393.  If you accept the default settings, Windows Update will silently install each of these hotfixes and then reboot at the end.  However, after the reboot, you will get an unhandled exception and Media Center will crash if you try to launch it.

How to workaround the problem

In order to repair your system and fix this crash, you can one of the following sets of steps:

  1. Download KB908250 and re-run it
  2. Reboot

-or-

  1. Click on the Start menu, choose Run and type cmd
  2. Run the command %windir%\system32\spupdsvc.exe /install "Enables Service Pack Installer to complete its scheduled post-reboot tasks"
  3. Reboot the system

Root cause

The reason Media Center crashes in this scenario is that the computer is left in a state where critical Media Center services (ehRecvr and ehSched) are not registered on the system.  The setup package for KB908250 runs commands to unregister these services, and then schedules a process to re-register them after the system is rebooted.  However, there is a command in the setup package for KB910393 that un-schedules the process that KB908250 schedules.  Therefore, the command to re-register Media Center services after the reboot never happens.

You can verify that you are running into this exact problem by checking the following:

  • Run sc query ehrecvr and verify that it reports that ehrecvr is not an installed service on your system
  • Run sc query ehsched and verify that it reports that ehsched is not an installed service on your system
  • Look for a file named %windir%\system32\spupdsvc.inf and verify that it contains a [ProcessesToRunAfterReboot] section with commands to run C:\WINDOWS\ehome\medctrro.exe /p /f C:\WINDOWS\INF\KB908250rg.inf RunOnce, C:\WINDOWS\ehome\EhMCXIns.exe /i and C:\WINDOWS\system32\spupdsvc.exe /delete

This problem will only occur if you install KB908250, suppress the reboot at the end, and then install KB910393 afterwards.  Unfortunately, this is exactly the way that Windows Update currently installs these 2 hotfixes after Update Rollup 2 is installed.

We are still working with the Windows Update and Windows Media Player team to identify the best way to fix this issue.  I will post an update when we decide the right course of action.  I apologize for the inconvenience that this issue is causing.

 

  • Hi,
    I have an issue related to this. I have a MCE 2005 working absolutly fine from one year.
    It was working perfectly untill I installed the following using Windows Update:
    Update for Windows XP Media Center Edition 2005 (KB910393)
    Windows Media Connect 2.0 (KB909993)
    Microsoft Base Smart Card Cryptographic Service Provider Package: x86 (KB909520)
    Update Rollup KB908250 for Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005
    Security Update for Microsoft .NET Framework, Version 1.1 Service Pack 1 (KB886903)

    Now whenever i try to play a DVD(say a personal movie DVD) from the DVD drive the Video and Audio is choppy.

    if i play the DVD from the DVD drive using Cyberlink DVD player software then it plays fine but if i play it in either media center or Windows Media player then the audio and video is choppy.

    but if i play the same DVD or any DVD which is on my hard drive using media center then it plays fine.

    I am lost....Can you please help????
    Thanks,
    Krishna
  • Hi,
    here it was even worse on my German MCE. Not only MC crashed when I started Live TV (MC itself started), but XP Themes didn't work, claiming that Design Service wasn't started (though it was automatically).
    I had entries in event log like Ereignistyp: Fehler
    Ereignisquelle: DCOM
    Ereigniskategorie: Keine
    Ereigniskennung: 10000
    Datum: 09.12.2005
    Zeit: 07:37:00
    Benutzer: NT-AUTORITÄT\NETZWERKDIENST
    Computer: D8250
    Beschreibung:
    Ein DCOM-Server konnte nicht gestartet werden: {73E709EA-5D93-4B2E-BBB0-99B7938DA9E4}. Fehler:
    "Zugriff verweigert "
    aufgetreten beim Starten dieses Befehls:
    C:\WINDOWS\system32\wbem\wmiprvse.exe -Embedding

    They are gone now after re-applying the patch and doing an immediate reboot. Strange but true.
    Stefen
  • OK so here is the deal, I have HP Z555 media center and it has been working fine for past 5 month, and this weekend when i got home from a trip everething seemed fine but as soon as i tried to play a recorded show (dvr-ms) the computer restarted. so i thought ok, that could happen so i waited for it to reboot and then tried again, and the exact same thing happened. This i thought could be solved by rolling back my computer to an earlier checkpoint, and i tired to do this and got an error that it could not be done, i tried several different checkpoints at earlier dates and got the same error. Then i saved all the important files and videos that i had, and decided to do full system recovery. When this was done i updated codecs, and put on an antivirus, and the computer have done all the automatic upadtes and then i tried to view a video that i had saved, and the exact same thing happened he computer froze completely and i could not access anything and it had to be turned off and on. So, I think that this is an issue with some update that Media Center automatically installs, but i do not know which one or how to fix it, one solution that i came up with is to turn off the autoupdate completely since i know that it worked when i just got it but i think that this is not the best solution.

    So i need some advice on how to solve this issue.

    Thanks

    Ilya
  • Hi Ilya - I haven't heard of a case yet where trying to play a recorded show caused the system to reboot. Can you check in your application and system event logs and see if there are any items listed there that might help narrow down the cause of the reboot? Also, does the same thing happen if you try to play back the same file in Windows Media Player instead of in Media Center?

    Also, you mentioned codecs, but have you also tried to update drivers for hardware devices on your system? I am not sure if this will help but it might be worth a try here.
  • Ok, if I understand correctly Windows Update recently re-issued this update.

    After installation of this update (through automatic update) the performance of my MCE PC drastically diminished. Choppy video and audio playback and sometimes Media Center would slowly grind to a halt and completely hang the PC.

    A system restore fixed the problem. Use the latest restore point marked 'Software Distribution Service 2.0' if you have Automatic Update enabled.
  • Same problems but nothing fixes. I called Microsoft they told me to call Gateway. Gateway looked up the error codes and told me that the problem was 2 things installed without a reboot and there was no fix other than to do a destructive restore but I could TRY to do a rollback to an earlier date. I restored to prior to the updates and then windows media player wouldn't work and told me to reinstall from microsoft and had the link to download. Downloaded the file and wouldn't install because it said I had a newer version on my computer. Other programs won't run, aren't showing in the add/remove programs area, won't let me do a manual uninstall, and won't let me install over top. I am at my wits end and think that MS should be fixing this considering my updates are all auto updates and they install themselves. All I want is my programs all working again and my Media Center functioning. Is that too much to want? Any clues how to do it since nothing list so far has worked?
    Thanks for the assistance
    Jenny
  • Hi Jenny - can you please contact me via http://blogs.msdn.com/astebner/contact.aspx and send me the log files that are listed at http://blogs.msdn.com/astebner/archive/2005/10/16/481689.aspx so I can try to take a look and see if I can figure out how to get your system back up and running?
  • PingBack from http://blogs.msdn.com/astebner/articles/487537.aspx
  • I had this problem, but after taking the steps that you describe in order to fix it, I still have the same problem. Media Center errors out with a Common Language Runtime exception in ehExtHost.exe. I am on a brand new (well, 3 week old) HP pavillion dv5000 xpmedia center. Any help would be greatly appreciated.
  • Hi Nok1 - I suggest trying to install the most recent hotfix for Media Center from http://www.microsoft.com/downloads/details.aspx?familyid=22402573-97aa-41be-8090-2ae905802045&displaylang=en and see if that helps.  If not, can you take a look and see if you have a file named ehshell.crash and let me know what is listed in there?  Hopefully it will help narrow down this crash.

  • I did as you suggested, restarted my computer, yet the same problem exists.  What else would you suggest?

    Below is the content of the crashdump

    "

    Unhandled Exception - 10/8/2006 7:28:58 PM

    Message: COM object with CLSID {F4396DC6-E851-4D3A-8D01-34E6949F3500} is either not valid or not registered.

    Exception:

    System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {F4396DC6-E851-4D3A-8D01-34E6949F3500} is either not valid or not registered.

      at MediaCenter.Common.UXRecorderMgr.PopulateRecorderTable()

      at MediaCenter.Common.UXRecorderMgr..ctor()

      at MediaCenter.Common.UXRecorderMgr.get_Instance()

      at MediaCenter.Video.MMIOverlay.DisconnectRecorders()

      at MediaCenter.Video.VideoFullscreenPage.DisconnectEvents()

      at MediaCenter.Video.VideoFullscreenPage.NavigateAway(Navigate nav)

      at ServiceBus.UIFramework.XmlControl.DoNavigateAway(Navigate nav)

      at ServiceBus.UIFramework.PageBasedUCPService.DoNavigateNotifications(Page page, Navigate nav, NavNotify nfy)

      at ServiceBus.UIFramework.PageBasedUCPService.LoadNewPageInternal(String pageUrl, Type pageType, Object objState, Boolean fShouldPush, Navigate nav, PageTransitionCompleteEvent pageTransitionCompleteHandler)

      at ServiceBus.UIFramework.PageBasedUCPService.LoadNewPage(String pageUrl, Type pageType, Object objState, PageTransitionCompleteEvent pageTransitionCompleteHandler)

      at ServiceBus.UIFramework.ContextMenu.ShowSettingsHome(Object sender, MenuResultArgs args)

      at eHome.NewUI.MenuItem.OnSelected(MenuData data)

      at eHome.NewUI.MenuItem.Select(MenuData data)

      at eHome.NewUI.MenuData.DeferredSelect(Object obj)

      at eHome.UI.DeferredInvokeItem.Dispatch()

      at eHome.UI.Dispatcher.MainLoopBody(Feeder feeder)

      at eHome.UI.Dispatcher.MainLoop(LoopCondition condition, LoopBody body)

      at eHome.UI.Dispatcher.MainLoop(LoopCondition loopCondition)

      at eHome.UI.Application.Run()

      at ServiceBus.UIFramework.PageBasedUCPService.Run()

      at ServiceBus.UIFramework.UserControlPoint.Main(String[] args)

    "

    Thank you for the reply, hope to hear from you soon.

  • If it helps, I also forgot to mention that I am not able to get my HP analog tv tuner card working with the media center - the drivers are all installed, and device manager says that the device is functioning properly, but media center does not detect the hardware, and I cannot watch tv. I know that the hardware works because I let my friend borrow the tuner for his identical HP media center laptop, and he was able to make it work.

  • Still awaiting a reply, Thanks for all the help.

  • Hi Nok1 - The CLSID listed in your crash file is associated with ehRecvr.exe.  It sounds like that service might not be correctly registered on your system.  Can you please try the steps at http://blogs.msdn.com/astebner/archive/2006/02/17/534559.aspx and see if they help solve this issue?

  • This article serves as a central location for all links to troubleshooting documentation that has been

Page 1 of 3 (36 items) 123
Leave a Comment
  • Please add 4 and 1 and type the answer here:
  • Post