More than 100 motorists have received warnings and 15 traffic offence notices have been issued after police targeted dangerous parking outside schools in Richmondshire.
Officers visited 14 schools across the district in recent weeks after concerns were raised about the problem.
Inspector Martin Metcalfe, from Richmondshire neighbourhood policing team, said: “Since then we have issued over 100 warnings to motorists and also issued over 15 traffic offence reports to motorists who we considered were parked, clearly endangering pupils and other people in the area.
“Traffic offence reports involve a fine or a court appearance depending on the circumstances.
“I am very pleased to say that we have seen a huge improvement since doing this, but some people are still risking it.”
Insp Metcalfe said officers would continue to turn up at any time at any of the 14 schools with reported issues and anyone found to be on the yellow markings between 8am and 5pm on a weekday would receive a traffic offence report.
He added: “Others will also be dealt with pro-actively if deemed to be in a dangerous place causing our pupils to be at risk.
“All pupils and parents should be able to safely walk or cycle to and from school if they choose to.”