Crewe Alexandra ended their run of four straight defeats to deny League One play-off contenders Sheffield United the chance to go fifth in the table.
Harry Maguire and Jonathan Forte both placed chances wide for the Blades in the first half.
Arsenal loan man Chuks Aneke broke the deadlock on 49 minutes with a powerful volley from the edge of the area.
Joe Ironside went close to an equaliser for the visitors but his strike was well saved by Steve Phillips.
The Blades had already made sure of their play-off place but, with one game remaining, they now look likely to finish fifth or sixth and be at home in the first leg of their play-off semi-final.
After beating Southend at Wembley on 7 April, Johnstone's Paint Trophy winners Crewe's testing final six league matches of the season were all against teams in promotion contention.
VIEW FROM THE DRESSING ROOM
Alex boss Steve Davis told BBC Radio Stoke:
"We've had a bad spell since Wembley. I have found it difficult to pick them up after the final because Wembley is associated with the end of the season.
"We have had six really tough games after the final. But we had pride to play for and the players responded with a real battling performance which also had some quality too.
"We didn't deserve to lose at Yeovil on Saturday. I was really pleased with the way we performed there. But the boys can now take real confidence from this win because it shows that they can do it against the top teams.
"We won it with a great goal from Chuks, worthy of winning any game. He is capable of doing that. He was excellent."
Blades caretaker manager Chris Morgan told BBC Radio Sheffield:
"I wanted to look at a different setup away from home with the play-offs in mind. I also need to rest a few.
"We changed things up a little bit tonight - we had a look at some different players.
"The 11 we've had on the pitch at the start is well strong enough to win the game - we've tested the goalkeeper, we've had set-plays, and they have one chance and they win the game.
"Anyone that's seen us play this year will say that has probably been our Achilles heel. When we're on top and we're created chances we're not ruthless in front of goal."
Live Text Commentary
Full Time The referee brings the game to a close.90:00 +2:08
Neill Collins takes a shot. Blocked by Mark Ellis. The official flags Chris Porter offside. Steve Phillips restarts play with the free kick.90:00 +1:21
Shot by Chris Porter. Save made by Steve Phillips. Outswinging corner taken right-footed by Darryl Westlake from the right by-line.87:23
George Long takes the free kick.87:23 Substitution
Substitution Ajay Leitch-Smith leaves the field to be replaced by George Ray.87:23
Free kick awarded for an unfair challenge on Jamie Murphy by Byron Moore.86:33
Effort from outside the penalty area by Michael Doyle goes wide left of the goal.85:05 Substitution
Substitution Nathan Ellington replaces Chuks Aneke.76:10
Chuks Aneke has an effort at goal from just outside the box which goes wide of the right-hand post.71:28
Chuks Aneke takes a shot from deep inside the box clearing the bar.69:00 Substitution
Substitution Jordan Chapell on for Barry Robson.69:00
Joe Ironside has shot on goal from just outside the box which goes wide of the right-hand upright.66:05
Byron Moore takes the inswinging corner, save by George Long.64:07 Substitution
Substitution Jonathan Forte goes off and Joe Ironside comes on.57:41
Shot from just outside the area by Jonathan Forte goes over the bar.57:04
Jamie Murphy fouled by Byron Moore, the ref awards a free kick. Free kick taken by Neill Collins.56:01
Direct free kick taken by Harry Davis.56:01 Booking
Booking The referee shows Neill Collins a yellow card for unsporting behaviour.55:40
Handball decision goes against Neill Collins.52:46
Barry Robson fouled by Kevin Stewart, the ref awards a free kick. Barry Robson has a direct shot on goal from the free kick, Steve Phillips makes a save.
Goal! - Chuks Aneke - Crewe 1 - 0 Sheff Utd Chuks Aneke finds the back of the net with a goal from long range to the top right corner of the goal. Crewe 1-0 Sheff Utd.47:46
Kevin McDonald fouled by Ajay Leitch-Smith, the ref awards a free kick. Barry Robson takes the free kick.45:46
Ajay Leitch-Smith challenges Darryl Westlake unfairly and gives away a free kick. Darryl Westlake restarts play with the free kick.45:01
The referee blows his whistle to start the second half.45:01 Substitution
Substitution Jamie Murphy comes on in place of Danny Higginbotham.45:00 +1:50 Half time
Half Time The half-time whistle blows.45:00 +0:34
Foul by Barry Robson on Byron Moore, free kick awarded. Strike on goal comes in from Harry Davis from the free kick.45:00 +0:08
Outswinging corner taken right-footed by Oliver Turton from the right by-line.44:00
Shot by Chuks Aneke. George Long makes a save. Corner taken by Oliver Turton, Harry Maguire manages to make a clearance.42:47
Chris Porter gives away a free kick for an unfair challenge on Chuks Aneke. Mark Ellis takes the free kick.41:05
Corner taken by Barry Robson, Byron Moore makes a clearance.40:21
Outswinging corner taken from the left by-line by Barry Robson, Mark Ellis makes a clearance.38:50
Free kick awarded for an unfair challenge on Byron Moore by Darryl Westlake. Direct free kick taken by Harry Davis. Mark Ellis takes a shot. George Long makes a save.37:15
Corner taken short by Byron Moore. A cross is delivered by Byron Moore, clearance made by Neill Collins.31:26
Shot by Michael Doyle. Save by Steve Phillips.29:33
Inswinging corner taken left-footed by Barry Robson from the right by-line to the near post, Mark Ellis makes a clearance. Corner taken left-footed by Barry Robson to the near post, Kelvin Mellor manages to make a clearance.28:30
Mark Ellis gives away a free kick for an unfair challenge on Chris Porter. Free kick crossed left-footed by Barry Robson from left channel, clearance by Mark Ellis.25:56
Oliver Turton takes a shot. Blocked by Neill Collins. Inswinging corner taken right-footed by Oliver Turton, Harry Maguire makes a clearance.24:31
Effort from 20 yards by Callum McFadzean. Steve Phillips makes a save. Chris Porter takes a shot. Steve Phillips makes a comfortable save.20:59
The referee blows for offside against Chris Porter. Steve Phillips restarts play with the free kick.18:49
The referee blows for offside against Chris Porter. Free kick taken by Steve Phillips.18:00
Jonathan Forte produces a left-footed shot from just outside the box that goes wide left of the goal.16:32
The official flags Jonathan Forte offside. Indirect free kick taken by Steve Phillips.15:59
Foul by Ajay Leitch-Smith on Harry Maguire, free kick awarded. George Long takes the free kick.15:07
Shot by Bradden Inman from outside the box goes over the net.14:15
Barry Robson challenges Bradden Inman unfairly and gives away a free kick. Direct free kick taken by Kevin Stewart.11:33
The assistant referee signals for offside against Kevin McDonald. Free kick taken by Harry Davis.7:58
Foul by Kevin McDonald on Kelvin Mellor, free kick awarded. Harry Davis takes the free kick.4:21
Kelvin Mellor gives away a free kick for an unfair challenge on Kevin McDonald. The ball is sent over by Barry Robson, Michael Doyle takes a shot. Save made by Steve Phillips. Corner taken left-footed by Barry Robson to the near post, Byron Moore makes a clearance.0:51
Shot from just outside the box by Jonathan Forte goes over the bar.0:00
The match gets underway.
Live data and text provided by our data suppliers