Start with completely thawed shredded hashbrowns and pat them dry. Preheat the oven to 350°F (175°C). Grease a 9×13-inch baking dish with butter or non-stick spray.
In a very large bowl, whisk together ¼ cup of the melted butter, the sour cream, cream of chicken soup, diced onion, salt, black pepper, and garlic powder until blended. Reserve the other ¼ cup of butter for the topping.
Add the thawed, dried hashbrowns and freshly grated cheddar. Fold with a spatula until the potatoes are evenly coated and the cheese is distributed throughout.
Transfer the potato mixture to the prepared dish and spread it into an even layer, including the corners.
In a small bowl, toss the crushed cornflakes with the remaining ¼ cup of melted butter until the crumbs are coated. Crushed Ritz crackers are the alternative listed in the ingredients.
Sprinkle the buttered cornflakes evenly over the potato mixture, covering the middle and edges without pressing the crumbs down.
Bake uncovered for 45–55 minutes, until the edges are hot and bubbling and the topping is golden brown. Check that the filling is hot through the middle. If the topping browns too quickly, cover the dish loosely with foil while the filling finishes heating.
Remove from the oven and let rest for 5–10 minutes before serving.
Use a broad serving spoon to scoop through the crisp topping and creamy potato filling. Serve hot as a breakfast dish or potato side.