Midfielder Darren Ferguson supplied the ammunition for 10-man Wrexham to win what could be their last ever match 2-1 at Huddersfield Town.
The club are due to face a winding up order at the High Court on Friday over a £900,000 unpaid tax bill.
Wrexham's only hope of fending off the Inland Revenue's action is to go into administration and that means they may have become the first league club to be docked 10 points for doing so under new rules brought in last summer.
But Ferguson, son of Manchester United manager Sir Alex, gave them a boost by helping Wrexham secure a morale-boosting first win in seven games.
He supplied a cross from the right on nine minutes that was headed into the net by Andy Holt after the Wrexham midfielder out jumped Town defender Nat Clarke.
It proved to be Clarke's only misjudgement in an outstanding performance by the academy produced youngster who signed a new contract at the Galpharm Stadium last week.
Meanwhile Ferguson put substitute Chris Armstrong clear early in the second half - only for the ex-Spurs striker to be hacked down from behind in the box by defender David Mirfin.
Armstrong, who once cost Tottenham £4.5million in a transfer from Crystal Palace, dusted himself down to bag the penalty by sending keeper Paul Rachubka the wrong way.
Mirfin was booked for his challenge on Armstrong but did not face a more serious sanction from Leicestershire-based referee Paul Danson as he was not the last man.
Huddersfield drew level before the break through Danny Schofield's shot from an acute angle and then visiting stopper Matt Baker made two brilliant saves to prevent the home side going in front.
Baker twice denied Junior Mendes by parrying first a close range effort and then a curling and dipping 20-yarder.
Once the visitors were ahead again though they never looked like surrendering the lead, despite having substitute Hector Sam sent off for a professional foul barely three minutes after coming onto the field.
Baker did not have a serious save to make in the second half but Wrexham's win could be a hollow victory should they be unable to defeat the Inland Revenue's winding up order.