Hey guys! I've been trying to sort out my motherboard swap from intel to amd with windows 7 and I can confirm that Fix_HDC.cmd does work!! with one modification
simply edit the fix_hdc.cmd file and right down the bottom delete the two lines:
if not exist %system_root% etc txtsetup.... and the line after it
I used the windows 7 recovery console rather than a PE cd, make sure you have all necessary files, reg.exe, regedit.exe, devcon.exe, expand.exe, findstr.exe
make sure they are all in the same folder, I put them in the system32 folder, then run fix_hdc
worked like a charm