One class that is very unpopular to teach is Operating System Concepts. Its a very dry subject that can be difficult to get students to engage in.
So how did I get the students to engage in the class topics? I taught the majority of the class not as a laundry-list of facts, but as a series of stories; the story of why the first digital computer was made is an exciting one if told properly and given some context.
After teaching Operating Systems several times I eventually turned most of the classwork into stories or interactive group discussions, and these classes have had some of my best student participation.