York recovered from their sorry defeat against Histon to ease to victory over struggling Stafford.
City dominated the first half and went ahead when Fred Murray fouled Onome Sodje just outside the box and Stuart Elliott slammed in the free-kick
Daniel McBreen doubled the lead before the break when he met Martyn Woolford's cross and headed home.
The visitors improved after the break and both Neil Grayson and David Oldfield went close from distance.
York: Evans, Craddock, McGurk, Kelly, Robinson, Elliott, Panther, Woolford, Sodje (Brodie 64), Brayson, McBreen (Meechan 89).
Subs Not Used: Mimms, Wroe, Purkiss
Goals: Elliott 36, McBreen 39.
Stafford Rangers: Loach, Sutton, Murray, Avinel (Richards 88), Arnolin (Hamilton 84), Draper, Oldfield, Flynn, Youngs, Grayson, Adaggio.
Subs Not Used: Alcock, Hopkinson, Phil Robinson.
Booked: Murray, Draper.
Ref: L Metcalf (England).