I've recently noticed a few users here and on MDL having an issue where they are unable to complete TV setup or download guide data after uninstalling WMC and installing a different version.
When this happened to me the other day, I found an error in event viewer stating that there was an incorrect security token and started searching the web.
It seems this is actually a long standing problem but if you think about it, people are more likely to encounter the problem nowadays because WMC was part of Windows and no-one ever expected anyone but Microsoft to be changing parts of it, let alone replacing the installed version.
Anyway, using information I found on the web, I developed a simple way to clear the token cache so that Windows creates new ones when it is restarted.
I'm sure I don't need to tell you that doing this may cause other unrelated problems so I would definitely recommend making a backup first to be safe.
I've written an script to do the job, which I've incorporated into the latest installer for WMC-V13 and made available as an add-on for use with other versions here:
https://www.dropbox.com/s/s79cuxkr1eo3z ... s.zip?dl=1
Just unzip it into the root of the folder containing whichever WMC installer you are using, run reset_security_tokens.cmd and reboot when prompted.
If you prefer to do it manually, go into the folder containing whichever WMC installer you are using, run _testrights.cmd to get a trustedinstaller command prompt (as always, I'll remind you to be very careful in there as it is easy to really mess things up) and type in:
Code: Select all
robocopy /copyall /move %programdata%\Microsoft\crypto\rsa\MachineKeys %programdata%\Microsoft\crypto\rsa\MachineKeysOld *
and hit enter.
Reboot.