We already know the solution. What did colleges have students doing to ensure they knew how to use microsoft office? Three 50min lectures and two in-person 1.5hr labs a week for 2 credits, all dedicated to using word and excel. For a normal person in the 2000s, this is ridiculous to force on all students. It was not ridiculous 10 years before. Today, students again need the forced in-person learning for office applications.
For CS, homework should be done how you want. Homework is practice. Let AI assist you, but you better learn it because you'll be coding some part of it in lab with a physical programming book as a reference. They can lock down computers for labs to prevent web access or limit only to certain websites. Since labs are weekly, it will be obvious if someone is not learning as they do the homework. It won't be an F on the final as the first sign of trouble.
Schools can do things to improve student resources. Self host llms that are not corporate controlled that every student can use. The school can provide a search engine that is useful and not google's marketing. You can offer an education proxy that caches the pages you look at when doing education work, preserving anything you cite. This can all feed into the school llms for rebuilding to keep them trained on current info.