We had some abuse of the Messages app here and decided to restrict it from running via a software restriction policy. This policy works fine, in that if you try to launch Messages, you just get a notice that it's been disabled. However, the students, enterprising as they are, have found a way around that. If you make a contact (in the standard "contacts" window) with an email address, the option is there to send that contact a message. It opens up a small Messages window which you can use to send a quick message. If you wait too long, the software restriction policy will kick it out, so you have to be quick.
Once the student on the other end receives the message, they get notified that they have a new message, but can't read it because they can't open Messages. This process also generates a ton of notifications about Messages being blocked.
What I'd like to do is remove their iTunes account from the configuration, because if there's no account configured, they can't open Messages to add one, and it won't let them send the message. Obviously they had all set up their accounts prior to the restriction policy being in place. Is there a way for me to "unconfigure" iMessage via a policy or script? I can't just remove the entire app since it's baked in to OS X.
Thanks!