Article ID: 813711 - View products that this article applies to.
Expand all | Collapse all

On This Page

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

Diagnose and fix the problem automatically

The Diagnose and repair Windows File and Folder Problems automatically troubleshooter may automatically fix the problem described in this article.
This troubleshooter fixes many problems.Learn moreRun now

Fix the problem manually

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.

MORE INFORMATION

How the MATS package works to fix this problem

  1. The MATS package scans your computer and detects if the computer is running Windows XP, Windows Vista, or Windows 7.

    If the computer is running Windows XP, the MATS package verifies that one of the following conditions is true:
    • The BagMRU Size registry value in the following registry subkey does not exist or is less than 5000:
      HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell
    • The highest subkey number in the following registry subkey is greater than 20% of the BagMRU Size registry value:
      HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags


      Note During this process, a dialog box appears. This dialog box gives you the option to fix the issue automatically (this is the recommended option) or to manually select individual issues to fix. If you manually select individual issues to fix, you have to select the Icon and folder customizations or the Others or I don’t know option from the dialog box.


    If the computer is running Windows Vista or Windows 7, the MATS package verifies that one of the following conditions is true:
    • The NoSaveSettings registry value in the following registry subkey does not equal to 1:
      HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
      Additionally, the BagMRU Size registry value in the following registry subkey does not exist or is less than 5000:
      HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\BagMRU
    • The highest subkey number in the following registry subkey is greater than 20% of the BagMRU Size registry value:
      HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags


      Note During this process, a dialog box appears. This dialog box gives you the option to fix the issue automatically (This is the recommended option) or to manually select individual issues to fix. If you manually select individual issues to fix, yot have to select the Icon and folder customizations or the Others or I don’t know option from the dialog box.
  2. The MATS package verifies that registry settings and the customizations for folders are reset correctly.

Other issues that the MATS package fixes

2394521 Can't empty the Recycle Bin in Windows XP or in Windows Vista
949109 "The file or folder does not exist" error in Windows Vista
934160 "Network or file permission" or "folder does not exist" error
2394740 Can't select multiple items after upgrading from Windows XP to Windows Vista
2396571 Icons change incorrectly in Windows

Properties

Article ID: 813711 - Last Review: June 28, 2012 - Revision: 16.0
APPLIES TO
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Starter
  • Windows Vista Ultimate
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Starter
  • Windows 7 Ultimate
Keywords: 
kbtshoot kbprb kbexpertisebeginner kbexpertiseinter kbsurveynew kbmatsfixme KB813711

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com