In 1689, Heister commanded the entire Infantry under Louis of Baden in the Battles of Batočina and Niš, and in 1693 he led his own army corps against the insurgents in Hungary.
Heister became Field Marshal and crushed in May 1704 a Kuruc army under Sándor Károlyi near St. Niclas.
He fought many more battles against the insurgents, winning victories at Győr (22 June 1704) and Trnava (26 December 1704) and pushed ruthlessly the fighting back into Hungary.
Here he won the decisive Battle of Trenčín, but was again replaced by the more diplomatic Johann Pálffy, who finally negotiated the end of the war in 1711.
After failing to besiege Novi, he played an important role in the capture of Belgrad on 22 August 1717.