I haven't done this, but what if you used partition magic to move the partion that holds D: to be the first partion. Boot w/ the Windows XP CD, run a fixboot, fixmbr and bootcfg /rebuild so the system will boot, then run partition magic's Drive Remapper which searches the registry and renames all D:'s to C:'s.
just a thought, again, i haven't done it.