extractrdpkeys is used for extracting the RSA keys from Win7+ boxes. Compiled versions are available for x86 and x64.
For XP Windows versions to < Win7 then the following can be used:
http://www.passcape.com/index.php?section=docsys&cmd=details&id=23