High court asks secretaries to ensure immediate measures to redress the situation