Your computers are being named "Ldhostname" most likely because the % signs are missing from <ComputerName>ldHostname</ComputerName> and so it is not being treated as a variable. As joebaggadonuts mentions, replace with <ComputerName>%ldHostname%</ComputerName>.
↧