Upvote:10
Trying to do a Change of Status in the US from B2 to F1 is a bad idea. The reason is that you are not allowed to start studying until the Change of Status is approved, and processing times for Change of Status can be 5-6 months or more. So you will miss the start of your classes and your school will have to push back your starting date. (And if Change of Status takes so long that your B2 status is going to expire, you would have to file a separate Extension of Status application to extend your B2 status to bridge the gap.)
It is much easier to leave the US after your function and re-enter on an F1 visa.