Rooting a Desire HD from version 2.50.405.2 is done with this tool:
http://forum.xda-developers.com/showthread.php?t=1259821
It works like a charm and doesn't downgrade your firmware version.
Get a local copy here: aahk-15102011.zip