Guard Mode
A student computer that has been managed by a teacher cannot become a teacher computer just by being renamed.
Why it exists
C-Class uses the computer name to identify teachers. Without this protection, a student with local admin rights could rename a computer and take control of the class.
Guard Mode is on by default and needs no setup.
Behavior
| Computer | Result |
|---|---|
| True teacher computer (never managed) | Starts normally |
| Managed student computer | Stays a student after being renamed, and the teacher is notified |
| Teacher app on a managed computer | Requires the admin password |
The student app stores a managed record each time it connects. The record is kept in multiple locations and restored if one copy is deleted.
Teacher app startup check
On a managed computer, the teacher app asks for the admin password:
- Correct: removes the binding and continues.
- Three wrong attempts: exits and records the event.
Run as administrator once
Without admin rights, the password is accepted but the record cannot be fully removed, so it asks again next time.
Convert a student computer
The simplest method is to run the teacher app as administrator and enter the password once. Then rename the computer and restart right away. If it remains a student name, the student app can connect and recreate the record.
| Method | How |
|---|---|
| Student tray | Right-click > Unbind Teacher |
| Command line | StudentApp --clear-guard PASSWORD |
| Teacher app | Remote Settings > Unbind Teacher |
| Uninstall | Removes the record |
To check status, run StudentApp --guard-status or TeacherApp.exe --guard-status.
Lost the admin password
Contact your vendor or installer. The forced-removal tool is intentionally not included with the app.
Limits
- A student with full admin rights may still find ways around local protections. Limit admin access on student computers.
- If no password was ever set, the check uses the default password. Change it after deployment.
- Linux students must use the current package for Guard Mode to work.