Problem
We have restored one of our courses in Moodle but we recently noticed that there are over 500 users enrolled into this newly restored course which we do not want. Can you explain to us why this has occurred because neither the students nor our administrators enrolled these students?
Solution
When you restore a course, one of the options available to you once you reach step 3 (ie Settings) is to "Include enrolled users". This option MUST be disabled otherwise all enrolled users will be imported.