James Norwood scored in the second half to help Oldham win the National League after beating Woking, who had no manager at that time.
Devarn green played the 33-year old striker in, and he produced a calm finish just after the hour-mark. The Latics ended a run of three consecutive losses.
Five minutes later, Dan Gardner’s effort was blocked by the lower crossbar.
Alexis Andre, Woking’s goalkeeper, made a number of fine saves before Norwood broke the deadlock to deny Dan Ward and Charlie Raglan.
Woking sacked Darren Sarll and replaced him with Ian Day after a losing streak of nine matches.
Early on, Oldham’s Matthew Hudson saved a fierce shot by striker Dennon Lewis.