Nathan Elder grabbed the only goal as Hereford United beat Barnet to leapfrog them out of the relegation zone, with the Bees dropping into the bottom two.
The Bulls started brightly, Harry Pell heading against the crossbar from Joe Heath's cross after only two minutes.
Barnet's Ricky Holmes, Mark Hughes and Izale McLeod were all denied by David Cornell before Elder headed home Nicky Featherstone's corner.
Holmes hit the Hereford crossbar late on but the hosts held on for the win.
VIEWS FROM THE DRESSING ROOM
Hereford director of football Gary Peters told BBC Hereford and Worcester:
"I don't think it's about the players. I think it's about the way the team reacts as a team.
"When I looked at previous games from earlier in the season I felt there were 11 individuals out there trying to play attractive football.
"I won't say that we are playing well yet, but we have got 11 working as one and because of that we are a bit more solid."
Hereford 28 Cornell 03 Heath Booked 24 Stam 29 Todd 04 Pell Booked 06 Purdie 07 Leslie 08 Featherstone 21 Barkh'zen 25 Elder (Arquin - 85' ) 26 Winnall Booked (McQuilkin - 74' ) Substitutes 38 Hoult 05 Townsend 20 Dalibard 14 McQuilkin 09 Arquin Barnet 18 O'Brien 03 Parkes 05 Dennehy Booked 16 Borrowdale Booked (Byrne - 77' ) 21 Kamdjo 22 Leach 04 Hughes (Owusu - 77' Booked ) 10 Deering 20 Marshall 11 Holmes 23 McLeod Substitutes 01 Brill 15 Uddin 08 Byrne 27 Vilhete 12 Owusu
Ref: Mark Heywood