Compartilhar via


MceRepair 0.1 (alpha)

Having gotten a little fed up with manually re-registering MCE files when MedCtrRO.exe fails, I have created a new command-line utility to automate the task.

MceRepair.exe will:

  • Repair the ACLs to get COM+ Services working again (see KB909444)
  • Repair the registration for .NET Framework v1.1 libraries (should fix the "Entry Point Not Found in mscoree.dll" error during registration).
  • Reinstalls all MCE Windows Services
  • Re-registers COM components of MCE
  • Reinstalls managed assemblies into the GAC
  • Recreates native images for managed assemblies (ngen)

Of course, I can't warranty any of this stuff, but if you find it useful, feel free to use it.  If you run this and still cannot get things working on your machine, please let me know!  Please include your %windir%\MedCtrOC.log file, %windir%\ehome\ehshell.crash (if it exists), and if you're experiencing EPG problems, a zipped/RARed copy of your %ALLUSERSPROFILE%\Application Data\Microsoft\eHome\EPG folder.

MceRepair 0.1 (alpha) is posted at https://www.pegasi.com/MceRepair_0.1.zip [obsolete, use 0.2 below]

EDIT: A newer version, 0.2, is now available at https://www.pegasi.com/MceRepair_0.2.zip

Comments

  • Anonymous
    October 21, 2005
    Fantastic program mate, got stuck with no TV after rollup 2 and couldn't find a solution. MS were useless and your prog fixed it first time. Cheers

  • Anonymous
    October 21, 2005
    The comment has been removed

  • Anonymous
    October 21, 2005
    The comment has been removed

  • Anonymous
    October 21, 2005
    <P>Mark - I will post a debug version when I get home tonight. If you run that I can get some debugging info from you that I can use to fix the problem. The program is not designed to need any parameters, so it's probably a bug. I suspect that you are missing a file the program expects to find.</P>
    <P>Oh, and yes, it should fix that problem you've got.</P>

  • Anonymous
    October 21, 2005
    This program saved my bacon!!! It worked great . . . . my system is back up . . . Great fix Thank You1

  • Anonymous
    October 22, 2005
    I was about to have a cow, when I found this entry. Thanks so much. works great. You could probably push this out to more folks/make the patch painless if you could suppress those ngen critical dialogs.

  • Anonymous
    October 22, 2005
    The comment has been removed

  • Anonymous
    October 22, 2005
    OK - found out why it crashes - don't try to run it from a UNC path where it doesn't have write access!

    Running it locally doesn't fix my problem though, the log file states that many dll's could not be registered, and then finally at the end it says;

    service: ehsched Could not be installed (this may be okay). Code=-2147221164
    service: ehrecvr Could not be installed (this may be okay). Code=-2147221164
    service: rmsvc.exe is not present on your machine.
    service: mcrdsvc Could not be installed (this may be okay). Code=-2147221164
    regserver: ehmsas Could not be installed (this may be okay). Code=-2147221164
    regserver: ehrec installed successfully

    The two services (Receiver and Scheduler) are missing from the Services List, resulting in a non working My TV :(

  • Anonymous
    October 22, 2005
    Chris, can you please send the logs and an MCDiag capture to p_rosser@hotmail.com? Also, did you try v0.2?

  • Anonymous
    October 24, 2005
    The MceRepair 0.2 worked like a dream. Thanks mate. Lots of mscoree.dll entry point errors though...not sure if that's important

  • Anonymous
    October 24, 2005
    If you're getting a lot of messages about "Entry point not found in mscoree.dll" (I forget the exact syntax), that means your .NET Framework 1.1 is not installed properly. You should reinstall it as soon as possible.

    You can download it from here:

    http://www.microsoft.com/downloads/details.aspx?FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en

  • Anonymous
    October 24, 2005
    Crashes when it first runs, no log generated..

  • Anonymous
    October 25, 2005
    0.2 worked like a champ for me last night. Actually some things that I couldn't get working in the past (like MTV Overdrive) automagically started working... but I'm assuming that's a fluke.

  • Anonymous
    October 25, 2005
    If you get a crash, ensure that you are not running this from a network drive (it requires local privileges), and that your event logs are not full.

    If you still get an unhandled exception / crash, provide as much detail as possible so I can help.

  • Anonymous
    October 26, 2005
    Thanks for the fix. I tried 0.2 first and it would not work but after trying 0.1 it looks like it is all working again.

    Thanks for making this available to us.

  • Anonymous
    October 27, 2005
    The comment has been removed

  • Anonymous
    October 27, 2005
    The folks at AverMedia sent this file my way in an attempt to fix a stuttering issue with their AverTVHD MCE A180 tuner after installing rollup 2. It didn't fix the stuttering issue, but it got rid of many of the errors that were showing up in the Event Viewer logs. I still get an error about the ATI DTV Wonder analog tuner failure. I am not sure, but I believe this has nothing to do with anything rollup related though.

  • Anonymous
    October 28, 2005
    Dude,

    Nice work - after installing rollup2 and it breaking my Linksys MCE's connection I ran your tool V.02 and it fixed my issues like magic. Where were you 17 hours ago.

    Nice job -

    BTW: What up with the flaky MCE code in the first place? Who gave the green light to release this @ MS, as a partner I expected more.

    Anyway, Thx

  • Anonymous
    October 31, 2005
    AverMedia also sent this file to me in an attempt to fix a stutter/tv corruption issue with the UltraTV 1500 MCE (though my AverMedia M150 exhibits no issues). I haven't yet run the tool, but from the sounds of it, it is unlikely to fix this issue.

  • Anonymous
    March 21, 2006
    PingBack from http://www.itweaks.com/wordpress/?p=9

  • Anonymous
    December 15, 2007
    PingBack from http://www.burroak.on.ca/wordpress/?p=31

  • Anonymous
    January 01, 2008
    PingBack from http://movies.247blogging.info/?p=2610

  • Anonymous
    January 21, 2009
    PingBack from http://www.keyongtech.com/2804499-mce-rollup-2-a

  • Anonymous
    May 31, 2009
    PingBack from http://outdoorceilingfansite.info/story.php?id=22059

  • Anonymous
    June 19, 2009
    PingBack from http://mydebtconsolidator.info/story.php?id=16168