If you find that your Windows 7 forgets Folder View settings or does not remember it, you can try this registry modification. The usual way to reset a Folder Type View Settings is as follows:
Open Explorer > Folder Options > View tab > Reset Folders OK > Apply/OK.
Windows 7 forgets Folder View settings
However, Windows may keep forgetting the folder type view settings. This occurs because by default, Windows Vista is set to remember folder view settings for only 5000 folders. (In Windows XP it was 400, but has been increased in Windows Vista it is 5000.) The way out is to increase this value to, say, 10000 folders.
You can do so as follows:
Open regedit and navigate to the following registry key:
In the RHS pane, rt click > New > DWORD (32-bit) Value > Name it BagMRU Size.
Next right click BagMRU Size > Click Modify.
Select Decimal and type 10000 (or in Hexadecimal base type 2710). Click OK. Reboot.
Ported from WinVistaClub.