Aaron Stebner's WebLog

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

How to transfer guide data from one Media Center to another

How to transfer guide data from one Media Center to another

  • Comments 6

Given the number of people that I have heard from who have been having trouble getting guide download functionality to work correctly with their ISP (particularly the Direcway satellite internet provider), I thought it might be useful to post some steps that can be used to transfer downloaded guide data from one Media Center PC to another.

First, you will need to copy all of the values from the following registry hive from a machine that has downloaded guide data to the one you want to transfer it to:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Media Center\Services\EPG

This only needs to be done once, and can be achieved using the following steps:

  1. Click on the Start menu, choose Run and type regedit
  2. Navigate to HKEY_LOCAL_MACHINE, then Software, then Microsoft, then Windows, then CurrentVersion, then Media Center, then Services in the tree control
  3. Right-click on the EPG sub-key and choose Export
  4. Save the contents of this sub-key to a file with a .reg extension
  5. Copy the .reg file to the computer you want to transfer the data to
  6. Double-click on the .reg file and choose Yes to merge it into the registry on the second computer

Note that the source computer and the destination computer must have the same directory structure and system drive (meaning the OS is installed on the same drive letter and the Documents and Settings and Windows folders are all in the same path on both computers, etc)

After you have performed this one-time transfer of the registry settings listed above, you will need to perform the following additional steps each time you want to transfer the guide data to the destination computer:

  1. Close Media Center
  2. Click on the Start menu, choose Run and type cmd
  3. Type net stop ehsched
  4. Type net stop ehrecvr
  5. Look at the registry value named currentEPG in the above listed registry location to determine the full path to the guide database file
  6. Copy the file from the location listed in the currentEPG registry value from the source computer to the same folder location on the destination computer
  7. Restart Media Center

Note that you will need to repeat this second set of steps at least once every 2 weeks if you want to continue to have valid guide data on the destination computer.

 

  • Thanks again Aaron!
  • This is truelly valuable information.
    I do however have another problem that seems related. Sometimes my Event Viewer shows error entries saying: "Unable to link service to lineup. File validation error - mismatched guide package" etc. etc. When that happens I loose every binding between the guide and the channels. I then have to go manually and connect each channel to a listning again.

    Is there any way to backup this link-information for a faster repair?

    It is quite annoying and happes 5-6 times each month.

    Thank for the coolest blog
    /Aero
  • Hi AeroSign - Unfortunately, I do not know if there is a way to back up and restore the channel mappings in Media Center.  I will ask around and see what I can find out.

    You can back up and restore scheduled recordings if necessary by copying the file %ALLUSERSPROFILE%\Application Data\Microsoft\eHome\Recording\Recordings.xml.

    Note that the source computer and destination computer must have the same cable provider in order for recordings.xml to be able to be copied from one computer to another.
  • Hi AeroSign - I talked to the guide team a little bit and they indicated that the only reliable way to re-map the channels is to delete the folder %ALLUSERSPROFILE%\Application Data\Microsoft\Ehome\EPG, re-run Guide Setup from the Media Center TV Settings menu, and force another download of the line-up and channel listings.
  • Hi Aaron,
    Thanks for the quick reply - it is much appreciated. Unfortunately it was not the answer I was hoping for - but atleast I/we tried ... Thanks for your time.


  • I dont remember where I found this, but I found a site that said to use a proxy address in the IE settings, when using direcway and it works beautifully for downloading the guide data, the proxy address is 69.19.14.10 port 3128.
Page 1 of 1 (6 items)
Leave a Comment
  • Please add 2 and 4 and type the answer here:
  • Post