This is so yummy. It's great to help use up leftover ham from the holidays.I also sprinkle seasoned salt on the potatoes before adding to the mixture. You don't have to, sometimes the ham can be salty. Also, I have used crushed Ritz crackers on top instead of the corn flakes.
Heat oven to 375. Mix the soup, sour cream, onions, and ham together in a large bowl. Add the potatoes to this mixture. Spread into an ungreased 9x13 baking dish. Combine the butter and corn flakes and sprinkle over the top. Bake for 60 minutes.