Conference side Hayes were no match for Welsh visitors Wrexham who cruised to a 4-0 win at Church Road.
Wrexham scored three times before the break and were able to coast home in the second half.
An early chance apart, Hayes were rarely in it as Wrexham showed their class.
Kevin Warner stretched in vain for that early opening but failed to connect with Jon Case's pass across the face of goal.
From there on, it was one-way traffic with Wrexham taking the lead after 17 minutes when Hector Sam pulled the ball back from the byline for Andy Holt, in acres of space, to score.
Denis Lawrence extended the lead just before the half-hour when he met a Matt Crowell cross and headed against the post but then followed up to bundle the ball in.
Eight minutes before the break it was 3-0. A delightful reverse pass from Chris Armstrong freed Simon Spender in space and his whipped cross was met by Sam, rising above the Hayes defence.
In the second half Hayes substitute Peter Dean released Kevin Warner, whose first effort was kept out by Matt Baker's knees and the rebound went way over.
Hayes manager Willie Wordsworth rang the changes, using all three substitutes, but to no avail as they found it difficult to carve out any openings.
Nine minutes remained of a lacklustre half when Chris Llewellyn netted Wrexham's fourth to complete the rout.