Leading scorer Gary Hooper created the first after six minutes with a far-post cross which left a simple tap-in for winger Kevan Hurst.
Hooper then scored himself eight minutes later with his 25th goal of the season, firing a right-foot shot past goalkeeper Owain fon Williams.
It threatened to be a difficult afternoon for a young Stockport side. But they were back in business when centre-back Michael Raynes headed home a free-kick from Michael Rose.
However, they failed to take anything from the second half, with Adkins saying: "The three points were ones we really needed and I thought they were well deserved. Hopefully now we've had our blip in form and can push on.
"We have to have the belief and the confidence that we can go on another run like we enjoyed earlier in the season. Stockport are a good side and we had to work hard to beat them, with Gary Hooper still very much in form for us in front of goal."