If you are getting a lot of complaints of sound issues on teacher pcs and this is due to multiple users logged in you can deploy this exe to run at login and it will show a warning to the user, if there is only one user logged in the program will just close.
We have found this useful so I thought I would share the full source code for anyone else who may find use.
If you dont want to compile from source the exe is in \bin\Release. But you can add your school logo if you do
user detect.zip