everytime a new course is created in moodle it becomes unresponsive for all users and the only way to get it working again is to restart IIS. im completely new to moodle so i have no idea what is causing it.
Describe what you mean by "unresponsive".
Does Moodle only become "unresponsive" when you create a new course?
What are the details of your Moodle environment? (DB, OS, PHP version, etc...)
Who installed Moodle for you?