Changes to the size, view, icon or position of a folder are lost

Attiecas uz: Microsoft Windows XP Home EditionMicrosoft Windows XP ProfessionalWindows Vista Enterprise 64-bit Edition

Symptoms


The changes to the size, view, icon or position of a folder are lost on a computer that is running Windows XP, Windows Vista, or Windows 7.

For example, you may experience one or more of the following issues:
  • Microsoft Windows does not remember the View settings for a folder when you reopen the folder.

    Note The View settings include Thumbnails, Tiles, Icons, List, Details, and so on.
  • Windows does not remember the size or the position of a folder window when you reopen the folder.
  • An incorrect thumbnail image is displayed for a folder.
  • The thumbnail image does not appear for a folder.

Note This issue may occur in Windows XP or in Windows Vista even if you select the Remember each folder's view settings check box under the Advanced settings menu on the View tab of Folder Options in Control Panel.

Cause


This issue occurs because the registry settings for folder options are incorrect.

Resolution


Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

To fix this problem, reset the registry settings for folders. To do this, follow the appropriate steps for your operating system:
 

Windows XP

  1. Delete the following registry subkeys:
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BagMRU
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags
  2. Re-create the following registry subkeys:
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam
  3. Create and then set the BagMRU Size registry value to 5000 in the registry subkeys that you created in Step 2.

Windows Vista or Windows 7

  1. Delete the following registry subkeys:
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BagMRU
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags
    • HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU
    • HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU
    • HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags


    For x64-based versions of Windows Vista or Windows 7, delete the following registry subkeys:
    • HKEY_CURRENT_USER\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\Bags
    • HKEY_CURRENT_USER\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\BagMRU
  2. Re-create the following registry subkeys:
    • HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU
    • HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags


    For x64-based versions of Windows Vista or Windows 7, re-create the following registry subkeys:
    • HKEY_CURRENT_USER\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\Bags
    • HKEY_CURRENT_USER\Software\Classes\Wow6432Node\Local Settings\Software\Microsoft\Windows\Shell\BagMRU
  3. Create and then set the BagMRU Size registry value to 5000 in the registry subkeys that you created in Step 2.