Set aside 1/4 of the cheese for topping. Put rest in a large bowl, add cream, thyme, garlic, salt and pepper. Mix, add potato slices, toss, separating slices stuck together.
Grease a 4 litre / 4 quart ceramic baking dish with butter for the Large size (or 2 litre / 2 quarts for the Regular one). Loosely stack potatoes upright, using just what you need to keep them upright. Pour over remaining cream to cover 75-80% of the way up the potato. Cover with baking paper then foil. Put in a 200°C/400°F oven (all oven types, including fan) – bake the Large for 2 hours and Regular for 1 hr 30 minutes, or until potato is just about cooked (ie 90 – 95% soft).
Uncover, put back in, lower oven to 180°C/350°F (160°C fan). Bake for 20 minutes until lightly golden (as oven temp is dropping). Sprinkle with cheese, bake 15 min until deep golden. Rest 5 minutes before serving.
https://www.hangryrecipes.com/potato-recipes/crispy-hasselback-potato-gratin-11218/