If you have specific rental purposes, I suggest you consult the local government or relevant departments. They can provide more specific information and guidance, telling you whether you can rent abandoned schools and how to go through relevant procedures.
It should be noted that abandoned schools may have potential safety hazards and poor conditions, so it is necessary to know and evaluate whether they are suitable for rental in advance. Please ensure the legality and safety of renting abandoned schools and ensure compliance with relevant laws, regulations and authoritative requirements.