To set an enrollment key:
Please take the time to set an enrollment key on each of your Moodle courses. An enrollment key restricts students from self-enrolling in your class. Use the following steps:
1. Login to Moodle
2. Access your course
3. Click on "Settings" in the Administration block
4. Click on "Availability"
5. Click on "Enrollment Key"
6. Type in an enrollment key (password) known only to you; if you forget the password you can click on the "Unmask" check box next to the enrollment key to reveal the key or you can enter a new one