I have a different problem with HDMI initialization. In fact, it always works correctly for me when the computer awakens. However, if I turn my TV off and back on or if I select a different input to the TV and then come back to the HDMI from the PC, then it very often fails to initialize and I get a blank screen. My previous workarounds:
1. Close WMC (using remote button). Reinitiate the connection attempt, which then always works. Restart WMC. Navigate back to where I was.
2. Using a hotkey I have defined, request to put the computer to sleep. The latter is actually better when a recording is in progress because the computer does not actually go to sleep; but it still refreshes the HDMI connection. Otherwise, I must then reawaken the computer.
Neither workaround is all that pleasant, though the second is not too bad when a recording is in progress. Now I have a hotkey for HdmiYo, which solution is much slicker. I had searched on this issue some time ago and found reference to HdmiYo; but all the links to the code I could find at the time were broken. Fortunately, the one rpoitras posted works.
It would be even nicer if there were something that would automatically detect that the TV was trying to reconnect and handle it properly without any interaction. It is clear that WMC interferes with the process when it is running (no doubt because of Playready DRM considerations), but it does not always do so correctly. Furthermore, there must also be some aspects of one's hardware configuration that bear on the issue, for otherwise more people would be complaining about this behavior which has plagued me.