But County had to come from behind after Glynn Hurst had given the Shakers a second half lead before Jason Taylor and Pilkington secured a sixth win out of seven league games for Jim Gannon's side.
Knill had only taken over at Gigg Lane on Monday and was immediately faced with a derby against in-form Stockport.
The contrast between the two sides going into last night's game couldn't have been starker. Bury were without a win in the league since November while County had taken 16 points out of their previous six games and were unbeaten in the league in 2008.
The home crowd, who had witnessed Saturday's 5-1 demolition of their side by MK Dons, must have feared a repetition of that hammering when Pilkington gave the visitors the lead in the just seventh minute.
Gary Dicker's clever reverse pass in the middle of the pitch set free Pilkington, who took the ball on before firing an unstoppable shot from 25-yards high past Bury keeper Jim Provepp.
But instead of letting their heads drop the home side reacted positively. It took a vital interception by Ashley Williams to deny former Stockport striker Hurst before Bury got their reward in the 14th minute. Jack Dorney whipped in a cross from the left that was directed past keeper Conrad Logan by Andy Bishop.
The same combination almost worked a second Bury goal when Dorney, this time from the right, found Bishop in front of goal but Logan reacted to his flick to turn the ball around the post.
Three minutes into the second half Stockport failed to clear the ball after Bishop took it into their penalty area and while the striker couldn't wriggly of the defenders the ball fell to Hurst who clipped the ball over Logan.
But the Bury lead only lasted three minutes with Taylor making space for himself before picking his spot from 20-yards with a low left-footed drive into the corner of the net.
Pilkington grabbed his second after a mix up in the Bury defence with Provepp unwilling to pick up a back pass and the striker stabbing the ball in from close range.
Provepp denied Pilkington his hat-trick with a smart save and both sides created late chances.
Meanwhile, Kevin Ellison's proposed loan move to Stockport is in doubt according to Chester. The 28-year-old winger was due to return for a second spell at Edgeley Park, initially on loan with a view to a summer permanent move.
A Chester spokesman said: "The deal that would have seen winger Kevin Ellison move to Stockport County on loan for the remainder of the season is now in question due to objections raised by the player."
What is your verdict on the game? Have your say. Tweet

Comments
Login or Register to comment
Very important result for County. I knew it would be a real scrap. Sounded like a really exciting game and it's a good sign we've got players other than the departed Elding who can score goals.
A full blooded local derby with goals, near misses, great goal-line clearence, save after save, and then more goals. A wonderful turnout by the county fans who must have outnumbered the home fans by severial hundreds.
Thank you Tod for your inciteful comments. You make it sound like outnumbering Bury fans is some kind of achievement when in fact it is an odd day when the away support doesnt. And thinking on, you may gain some satisfaction on seeing Bury drop out of the league but remember that it's 6 points you wont get in division four next year, where of course you will still be, trudging to barnet and the like when the Bury fans will be sunning themselves in Torquay. I suppose you would have posted your comments had county lost - i dont think so.
CALM DOWN CALM DOWN!!
Torquay looking good for promotion at the moment though so even if we don't go up, it may still be us travelling to Torquay whilst you would be off to Grays Athletic... bet you can't wait!!
Edwards you muppet. What is inciteful about telling the truth?? Which other teams have outnumbered the Bury fans this season? Macclesfield, Barnet or Dagenham maybe --- I don't think so.
You will probably stay up on the basis that there will still be two teams worse than you. Then you can look forward to another season of mediocrity. Need I go on.
Terrific local derby. We played some excellent football in patches and can show that with the right balance we don`t need to simply play the long ball.
Dicker was super and even Taylor had a much more effective game.
The support was what you come to expect from County and I for one would not like to see them go down and I believe they showed enough to stay up. Bishop for County?
When you see a home support numbering less than 1200 you do wonder how clubs like Bury along with the Dagenhams, Barnets and Wrexhams of this world can possibly survive
Harrogate Hatter
you county fans are so so easy to wind up it is quite frankly getting ridiculous.
Edwards? Would that be Jimmy Edwards? He was a lame comedian too.......