It needed a late goal from Danny Swailes and a rare goal from player manager Andy Preece to push Shakers up to ninth place in the Third Division.
Swailes secured the points six minutes from time with a left foot shot after a Preece effort had been blocked.
Preece was forced to pick himself after Preston used their loan option to recall popular striker Pawel Abott.
Preece put Shakers in front after 12 minutes only for Kyle Kightbourne to equalise for the Silkmen on 52 minutes.
There was another disappointing attendance of just 3,506
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules hereComments are closed on this article