Inverness recovered from an early setback to overcome Queen’s Park 4-1 at Hampden Park.
Jack Turner converted Dom Thomas’ cross to put the Spiders ahead after 10 minutes.
But Inverness, who suffered defeat for the first time under Duncan Ferguson against Raith seven days earlier, levelled after 21 minutes through Max Anderson and Niko Ujdur’s close-range header put them ahead just before the hour mark.
David Wotherspoon provided a two-goal cushion 15 minutes from time, and Billy Mckay’s penalty completed the visitors’ biggest win of the season.