Spread potatoes evenly in greased 9 x 13 inch casserole pan.
Mix together soup, sour cream, cheese and 1 stick of melted margarine.
Spread over potatoes.
Crumble cornflakes over top.
Pour remaining stick of melted margarine over top.
Bake 400 degrees about 1 hour and 15 minutes.