An HM inspectors of schools report condemned the levels of care and welfare offered at Musselburgh Grammar School.
But Alan Blackie, East Lothian's education director, said the report was unfairly negative and disappointing, and ignored£800,000 investment in the school over the last two years.
Another£300,000 has been made available from the government's excellence fund, and will be spent over three years to recruit more teachers to tackle some of the problems highlighted in the report, he said.
The schools inspectors have demanded an update from East Lothian by September and will return to the school next May to see what work has been done.
Norman Murray, the leader of the council, said the school had problems which needed to be addressed but insisted it had been falsely portrayed and many good factors ignored.