Partilhar via


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

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.

Comments

  • Anonymous
    December 01, 2005
    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

  • Anonymous
    December 10, 2005
    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ÄTNETZWERKDIENST
    Computer: D8250
    Beschreibung:
    Ein DCOM-Server konnte nicht gestartet werden: {73E709EA-5D93-4B2E-BBB0-99B7938DA9E4}. Fehler:
    "Zugriff verweigert "
    aufgetreten beim Starten dieses Befehls:
    C:WINDOWSsystem32wbemwmiprvse.exe -Embedding

    They are gone now after re-applying the patch and doing an immediate reboot. Strange but true.
    Stefen

  • Anonymous
    January 20, 2006
    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

  • Anonymous
    January 23, 2006
    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.

  • Anonymous
    January 26, 2006
    The comment has been removed

  • Anonymous
    February 23, 2006
    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

  • Anonymous
    February 23, 2006
    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?

  • Anonymous
    June 29, 2006
    PingBack from http://blogs.msdn.com/astebner/articles/487537.aspx

  • Anonymous
    October 09, 2006
    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.

  • Anonymous
    October 10, 2006
    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.

  • Anonymous
    October 12, 2006
    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.

  • Anonymous
    October 12, 2006
    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.

  • Anonymous
    October 18, 2006
    Still awaiting a reply, Thanks for all the help.

  • Anonymous
    October 20, 2006
    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?

  • Anonymous
    November 04, 2006
    This article serves as a central location for all links to troubleshooting documentation that has been

  • Anonymous
    December 03, 2006
    After a lot of painful experimenting, and searching the depths of the net I am still unable to fix the problem.  I have tried the steps at the above link, but they have still been uneventful. Any further ideas (except for clean reformat)?

  • Anonymous
    December 03, 2006
    Hi Nok1 - Please zip and send me the log files listed at http://blogs.msdn.com/astebner/archive/2005/10/16/481689.aspx so I can take a look and see if I can figure anything out.  You can send the logs to Aaron.Stebner (at) microsoft (dot) com.

  • Anonymous
    December 04, 2006
    Email has been sent.  Thanks.

  • Anonymous
    December 28, 2006
    Hi, after reinstalling mce 2005, I can't launch mce. the ehshell.crash file looks like this: Unhandled Exception - 28.12.2006 19:51:25 Message: Object reference not set to an instance of an object. Exception: System.NullReferenceException: Object reference not set to an instance of an object.   at MediaCenter.Extensibility.ExtensibilityEntryPointListBase.EnsureIndex(Int32 index, Boolean fThrow)   at MediaCenter.Extensibility.ExtensibilityEntryPointListBase.get_Count()   at MediaCenter.Home.HomePage.PopulateStartMenu(Boolean fForce)   at MediaCenter.Home.HomePage.OnLoad(Object objState)   at ServiceBus.UIFramework.Page.OnLoadEvent(Object objState)   at ServiceBus.UIFramework.XmlControlParser.LoadXMLFile(String url, Object objState, Boolean fForceBGPage, Boolean fObjectIsPage, XmlControlArgs args)   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.PageBasedUCPService.LoadHandler()   at ServiceBus.UIFramework.PageBasedUCPForm.OnLoad()   at eHome.UI.Form.eHome.Protocols.Splash.Desktop.IFormWindowCallback.OnLoad(RENDERHANDLE target)   at eHome.Protocols.Splash.Desktop.LocalFormWindowCallback.Dispatch_OnLoad(RenderPort _priv_port, IFormWindowCallback _priv_target, Msg11_OnLoad* _priv_pmsg)   at eHome.Protocols.Splash.Desktop.LocalFormWindowCallback.DispatchCallback(RenderPort port, IRenderHandleOwner owner, CallbackMessage* message)   at eHome.UI.Remote.RenderPort.DispatchCallbackMessage(UInt32 idCallback, CallbackMessage* message)   at eHome.UI.Remote.RenderPort.ProcessMessageBuffer(BufferInfo* pBufferInfo, Void* pvBufferData)   at eHome.UI.MessagingSession.OnIncomingMessageBuffer(IntPtr pData, UInt32 hContext, BufferInfo* pBufferInfo, Void* pvBufferData)   at eHome.Native.RenderApi.SpPeekMessage(MSG& msg, HWND hwnd, UInt32 nMsgFilterMin, UInt32 nMsgFilterMax, UInt32 wRemoveMsg, WorkResult& nResult)   at eHome.UI.Dispatcher.DispatchNextWin32Message(Boolean& fQuit)   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) Can you help me? Thanks in advanvce

  • Anonymous
    January 01, 2007
    Hi Moul - The workaround listed at http://blogs.msdn.com/astebner/archive/2006/12/07/how-to-resolve-ehexthost-crashes-that-can-occur-when-launching-media-center.aspx might help in this scenario. If it doesn't help, can you please zip and send me the log file %windir%medctroc.log so I can take a look and see if I can figure anything out about this scenario?  You can send the log file to Aaron.Stebner (at) Microsoft (dot) com.

  • Anonymous
    January 08, 2007
    Aaron, Short version! After boatload of updates months after purchasing laptop, MC no longer sees the cable hooked to tuner. Only sees Antenna. Ran all suggestions here and others, no help. Uninstalled/Reinstalled updates, no help. Ran MceRep, Services ehsched and ehrecvr could not be removed, nor registered along with EhExtHost.exe, ehtray, mcrdsvc mcrmgr and medctrro, also bdatunepia.dll, CBVAFilter custsat, dbugsvc, ehcett, ehchhime, ehhsime, ehchtime..... you get the idea@! Ran workaround option 2 above, but did not get same reply. Option 1 is no longer available. Ran SC Query's as above, services not seen. I can get this to work Manually by choosing Cable, importing schedules, but this is not to my liking. (Nor does it seem stable) This is the short version! There were other errors, but those may be long forgotten now! Per your last paragraph, is there any new resolution on this, or is my problem not related? Paul

  • Anonymous
    January 08, 2007
    Hi Pbajr - Can you please use the steps listed at http://blogs.msdn.com/astebner/archive/2005/10/16/481689.aspx to gather, zip and send me the log files from your system so I can take a look and see if I can figure out any possible workarounds from those? Regarding your last question - the specific interaction issue between KB908250 and KB910393 has been fixed a while ago, so you are likely not hitting this same issue but instead are hitting some other unrelated problem.  Hopefully the log files will help narrow this down.

  • Anonymous
    March 16, 2007
    Since the Windows Vista public launch in January 2007, I have been receiving questions more frequently

  • Anonymous
    March 26, 2007
    i have tried EVERYthing i could find so far. but the error im getting is a ehShell.exe - Common Language Runtime Debugging Services. this error oocurs everytime i run media center. no matter what i do. i've tried everything to no avale. is there any futher hope on this one?

  • Anonymous
    March 27, 2007
    Hi Nepluto - Can you please zip and send me the following log files from your system: %windir%medctroc.log %windir%ehomeehshell.crash You can send them to Aaron.Stebner (at) microsoft (dot) com. Also, if possible, please list the troubleshooting steps that you've already tried so I don't send you any suggestions that you've already tried.

  • Anonymous
    December 19, 2007
    I have recently came upon an issue with my Media Center (in MCE 2005 XP) that I am not sure pertains to this or not. I am going to post it here anyways and maybe you can shed some light on it. When I start my Media Center I get an error that pops up reading: "ehshell.exe - Common Language Runtime Debugging Services" "Process id=0x2a4 (676), Thread id=0x818 (27072)." "Click OK to terminate the application." "Click CANCEL to debug the application." The Process id, Thread id, and the following (####)'s are all variable with each launch. After clicking okay it reports the issue to M$ and the data the report contains is: "Error signature: EventType : MCX     P1 : sh.5.1.2715.3011     P2 : appmain-no-page-yet     P3 : NullRef     P4 : ExtensibilityEntryPointListBase_EnsureIndex     P5 : 57 P6 : get_Count     P7 : PopulateStartMenu" It also states that the following files will be included in the report: "C:Documents and SettingsAKWLocal SettingsApplication Datamicrosoftehomeehshell.crash C:WINDOWSmedctroc.log C:Documents and SettingsAKWLocal SettingsApplication DatamicrosoftehomeBlackScreen.log" If you need those files then please tell me how you would like them sent to you and I will get them right to you. That's all of the information that I have right here in front of me. Thanks in advance, Austin

  • Anonymous
    December 20, 2007
    Hi AKW - From what I can tell from this error information, it appears to be crashing while trying to add links to the main Media Center start menu.  I'm not sure why that would have just started happening though.  Do you have any Media Center add-ins installed, and have you recently uninstalled any add-ins?  Also, do you see any information about the Start menu under either of the following registry keys on your system? HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionMedia CenterExtensibilityCategories HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionMedia CenterExtensibilityCategories

  • Anonymous
    February 06, 2008
    Hi well the solution is IMHO UNINSTALL VEGAS 7 AND THE MEDIA MANAGER FROM VISTA It has 'known compatibility issues' and for many of us too tight to buy the version 8 :( this is the solution trust me if you have VEGAS this is the problem :) ;) hope this helps it worked for me and i noticed this advice in this thread

  • Anonymous
    February 06, 2008
    Hi Surfyx - Thanks for posting about your experiences.  That advice sounds like it would be helpful on Windows Vista Media Center, but I want to point out for people reading these comments in the future that the main topic of this particular blog post is some specific hotfixes that are only applicable on Windows XP Media Center Edition 2005.  So if you're running into the errors described on this blog post on Windows XP Media Center Edition 2005 (as opposed to Windows Vista), then this suggestion about removing Vegas 7 is not likely to help.

  • Anonymous
    June 12, 2008
    Hi there - I'm dealing with a PC that's saying "Setting up personalized settings for KB910393" at startup and not letting the user get past that point.  It basically freezes the machine on startup.  It's an HP MediaCenter, though I'm not sure of the model number, as I've been helping her over the phone.  Any advice would be greatly appreciated!

  • Anonymous
    June 12, 2008
    Hi WonderYak - I haven't heard of any issues like this, so I'm not sure what to suggest to try to fix this.  KB910393 is a Media Player hotfix, not a Media Center one, so I wasn't involved in creating it like I was for the Media Center hotfixes like KB908250.  If you're able to get back into the system, there should be logging information in %windir%spupdsvc.log and/or %windir%kb910393.log that might help narrow down what is causing this issue. I'm sorry I'm not able to be more helpful in this scenario.

  • Anonymous
    August 05, 2008
    Hey, Sorry to bother you again but I've recently done a clean re-install of my OS, and ran into the same problems.  After uninstalling norton, i Removed the same left-over registry entry which crashed MCE, and currently i have another problem.  Everytime that i play a movie (dvix) thats streaming from my HD, MCE becomes completely unresponsive and stalls my whole computer for up to two minutes.  Half the time, I regain control and then everything functions flawlessly.  I was wondering if there was any way you could help sort this out. Thanks for your time, Nok1

  • Anonymous
    August 07, 2008
    Hey Aaron, Sorry to bother you again but I've recently reformatted my HD and I'm having some troubles with MCE 2005 again. FIrst was the problem caused by the improperly removed Norton plugin (just as last time), but i fixed that as we did last time. Now, I am experiencing the following problem:  The first video i play in MCE will freeze up MCE and it becomes nonresponsive (play/pause/rewind/back/stop/etc) - but the video keeps playing.  MCE stays unresponsive for up to two minutes, but then I regain complete control of the application. This is quite a nuisance as you can imagine, and I was wondering if you have any feedback on how I can go about finding a resolution. I have a directshow plugin installed, VobSub in order for me to be able to play .sub/.srt files inline for video files, but 1. I had this plug in before with no problems, and 2. Just to double check, i uninstalled it to see if the problem persisted. Thanks again for your time and input -Nok1

  • Anonymous
    August 07, 2008
    Hi Nok1 - I'm sorry, but I don't have enough experience troubleshooting that type of video playback issue to be able to know what to suggest for you to try.  Typically, I suggest checking on the websites of the manufacturers of your video card and sound card to make sure that you have the latest video card and TV tuner card drivers installed on your system. If you've already done that and still see issues, then I'd suggest posting a question at one of the following locations and hopefully someone there might be able to suggest some workarounds for you to try: http://www.microsoft.com/windowsxp/expertzone/newsgroups/reader.mspx?dg=microsoft.public.windows.mediacenter http://thegreenbutton.com/forums/83/ShowForum.aspx I'm sorry I'm not able to be more helpful in this scenario.

  • Anonymous
    January 21, 2009
    The comment has been removed

  • Anonymous
    May 14, 2010
    The comment has been removed