The War of the Fifth Coalition found Heinrich leading a division in the V Armeekorps under Archduke Louis of Austria. He commanded 12 battalions in the brigades of Federico Bianchi and Franz Schulz von Rothacker. In the campaign culminating in the Battle of Eckmühl on 22 April, he fought at the battles of Abensberg and Landshut. He led an attacking column in a successful action at Neumarkt-Sankt Veit on 24 April. He participated in the Battle of Ebersberg on 3 May.