Cheltenham picked up their first win in nine games as Wes Thomas downed League Two's bottom club Stockport.
Jake Thompson, on loan from Exeter, put the hosts ahead when he raced onto Jeff Goulding's pass and slotted past Hatters debutant Ian McLoughlin.
Aaron Brown pegged the Robins back when he rose to head home David Poole's cross unmarked at the back post.
Thomas earned the winner when he robbed defender Mansour Assoumani, cut inside and slotted into the corner.
Cheltenham Town boss Mark Yates told BBC Radio Gloucestershire: "We were better all over the place, we had energy, we had a tempo to us, we closed down, second half we didn't start too well.
"I'm not going over the top, but it was a damned sight better than Saturday. We've got our things that we're not quite so good at, but when they give me that commitment and effort then we look a half decent team.
"We've never said we're the finished article, we've never said we're going to do this, we're going to do that and perhaps one or two have got carried away that we have been in a lofty position - we needed that win."
Stockport County caretaker manager Peter Ward told BBC Radio Manchester: "It shows the deficiencies in our squad. When we lose three players we look a shadow of the team that played on Saturday [a 3-2 defeat by Bradford].
"The naivety of our defending is just becoming so frustrating.
"It was frustrating as they sat back and drew us on and hit us with a sucker punch on the counter-attack."
Live text and stats
Tuesday, 1 March 2011
Npower League Two
28 Thomson (Pack 68)
17 Lewis (Smikle 68)
23 Green (Artus 82)
23 O'Donnell (Tansey 15 yellow card)
14 Poole (Rowe 76)
09 Elding (Fisher 75)
Ref: BoothAtt: 2,191
Attempts on target
Attempts off target
94:22 The referee signals the end of the game.
90:00+2:11 Inswinging corner taken by Greg Tansey, clearance by Joshua Low.
90:00+2:00 Alan Goodall produces a left-footed shot from outside the penalty box and misses right.
89:21 Daniel Rowe produces a cross.
88:20 Marlon Pack takes a shot. Save by Ian McLoughlin.
86:10 Corner from the left by-line taken by Greg Tansey, comfortable save by Scott P Brown.
85:16 Ashley Eastham challenges Daniel Rowe unfairly and gives away a free kick. Aaron Brown takes the free kick.
85:07 The ball is swung over by Andy Halls, clearance by Joshua Low.
83:28 Free kick awarded for a foul by Brian Smikle on Alan Goodall. Greg Tansey delivers the ball from the free kick right-footed
from left wing, Michael Pook manages to make a clearance.
81:23 Substitution Frankie Artus comes on in place of Matthew Green.
80:33 Foul by Matthew Green on Mansour Assoumani, free kick awarded. Ian McLoughlin takes the direct free kick.
80:03 Jeff Goulding crosses the ball, Brian Smikle takes a shot. Save by Ian McLoughlin.
77:26 The ball is swung over by Alan Goodall, Ashley Eastham makes a clearance.
76:51 Handball decision goes against Wesley Thomas. Andy Halls takes the direct free kick.
75:45 Substitution Daniel Rowe on for David Poole.
74:57 Substitution Tom Fisher on for Anthony Elding.
73:05 Anthony Elding fouled by Steve Elliott, the ref awards a free kick. Direct free kick taken by Greg Tansey.
68:21 Michael Pook fouled by James Vincent, the ref awards a free kick. Scott P Brown restarts play with the free kick.
67:31 Substitution Brian Smikle comes on in place of Theo Lewis.
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.