Garforth almost caught Rainworth cold in the opening seconds when Mark Simpson latched onto a stray pass and darted towards the Wrens' goal. Perhaps the Miners striker was also not up to speed, as his touch deserted him and the chance disappeared.
After quarter of an hour of the teams getting to know each other, Max Curzon raced onto a cross by the tricky Lewis Bingham, but, over-stretching, he could only divert the ball over the Garforth goal.
In a half that saw sporadic attacks by both sides, it was the Miners that made the first concerted spell of pressure, staring when Spencer Lund went past Rainworth goalkeeper, Joe McCormack. His cut-back was cleared before Simpson could it home.
Andy Hawksworth then saw his header from the resulting corner cleared off the line. Curtly Martin-Wyatt then nodded a header across goal, but again Simpson was denied by a desperate clearance.
The visitors also had a near miss when Ben Hunter scrambled to stop Jordan Harris getting on the score-sheet.
The opening goal was scored by Rainworth. Bingham stayed calm in the Garforth area, before rolling the ball back for Sam Dockwray to place a controlled low shot past Hunter.
Their joy was cut short just before the break. A sweeping miners' move ended when Danny Harris teed up Simpson, who eventually got his reward.
Those late back from half time refreshments will have missed the first of Andy Hawksworths' two goals in this game.
The deserved man-of-the-match hit two wonder strikes. The late winner (a thirty yard left foot drive) took the plaudits, but the first was also sublime. Ashley Preece put in a deep cross which the Garforth skipper stretched for, deftly half volleying a finish into the top corner.
Simpson could have extended Garforths' lead before Dockwray again placed an effort beyond Hunter.
Just as the game seemed to have fizzled out and was heading for a draw, up the pitch drove Hawksworth from right-back. After receiving the ball back in midfield, there were one or two groans when he attempted a shot from such distance, but we should all know better by now!
This was a satisfying win against tough opposition and gives Garforth a great boost ahead two big games this week.