Prepare oven and baking dish: Preheat oven to 350°F. Lightly butter a 9-x 13-inch casserole or baking dish.
Combine filling: In a large bowl, combine sour cream, soup, 1 cup Cheddar cheese, 2 Tbsp. melted butter, chopped onion, and salt. Mix well. Add hash browns, and stir until well combined, then spread in the prepared pan.
Mix cornflake topping: In a medium bowl, combine the cornflakes, remaining 1 cup cheese, and remaining 2 Tbsp. butter. Sprinkle evenly over the potatoes in the pan.
Bake casserole: Bake for 45 minutes, or until crispy on top and golden brown around the edges.
