Set your oven to 350°F (175°C).
This ensures even cooking throughout the casserole.
Wash and peel the potatoes thoroughly.
Slice them into thin, even rounds.
This helps them cook faster and more evenly.
Combine soup, sour cream, and milk in a bowl.
Whisk until completely smooth.
Add minced garlic and chopped onion.
Season with salt and pepper.
Mix everything together well.
Grease your baking dish with butter or spray.
Add half the potato slices on the bottom.
Spread half the diced ham over potatoes.
Pour half the creamy sauce over everything.
Sprinkle one cup of cheese on top.
Repeat these layers one more time.
Cover the dish tightly with aluminum foil.
Bake for 60 minutes in preheated oven.
Remove foil after 60 minutes.
Bake 15 more minutes until bubbly and golden.
Let the casserole rest for 10 minutes.
This helps the sauce set properly.
Garnish with fresh chopped parsley.
Serve hot and enjoy!