James Burgess came on and scored a late winner in only his second substitute appearance since being sidelined for over a year through injury.
Mo Fadera continues to impress since his recent signing, and he gave the Miners the lead on sixty three minutes.
Knaresborough levelled the scores from the penalty spot minutes later, but Burgess grabbed the headlines with the kind of late winner that Garforth fans remeber well.
Town are at home to Worksop Town on Saturday, kick-off 3pm.