Pre-heat the oven to 350° F.
In a large mixing bowl, combine the hash browns, melted butter, salt, pepper, minced garlic and onion, cream of chicken soup, sour cream, and shredded cheese.
Spread the mixture in a greased 9x13 baking dish.
In a smaller mixing bowl, mix together the slightly crushed Corn Flakes and melted butter.
Sprinkle the Corn Flakes over the hash brown mixture in the baking dish.
Bake uncovered at 350° F for about 1 hour.
Serve while warm.