Fix: Desktop Icons Not Getting Saved

Some people like to rearrange the desktop icons in a familiar or easy to access arrangement. These settings should be saved and the icons should stay in the same order after every restart of the system. However, in some cases, the icons will be rearranged back to their default positions. This is, obviously, inconvenient for a lot of users since they want the desktop icons to be in a specific spot.

The reason behind this issue is related to permission problems. Whenever you change the settings of your desktop icons, these settings should be saved. But, if you don’t have the proper permissions, your registry key won’t be able to save these new settings. So, simply fixing the issue of permissions will most likely resolve this problem. This problem can also be cause by a malware. This isn’t very common but it definitely isn’t impossible. A lot of malwares are designed to change registry key values. So, it might be a malware that overwrites your registry key and, therefore, prevents your settings from getting saved.

  1. If your icons rearrange themselves even after a desktop refresh then there might be a problem with your settings. Make sure your desktop settings aren’t on “auto-arrange icons”. To do this, follow the steps given below
    1. Right click on an empty space on your Desktop
    2. Select View
    3. Make sure the options auto arrange and Align icons to grid option is unchecked
    4. Once done, check if the icons stay on their position or not.
  2. Another thing worth trying is to change your icon’s position and then refreshing your desktop. You can simply right click on an empty space on Desktop and select Refresh. A desktop refresh will lock your icons to their positions.
  3. This didn’t work for a lot of users but a few of the users solved their issue by switching from uTorrent to Bittorrent. So, if you are using uTorrent then try to switch to some other torrent client and check if that resolves the issue.

Method 1: Change the Registry Key Values

This solution will work if the registry keys were changed because of a malware. Manually changing the data of some registry keys (mentioned below) and deleting a certain registry key branch will most likely resolve the issue. Follow the steps given below to apply this solution

  1. Hold Windows key and press R
  2. Type regedit and press Enter

  1. Now, navigate to this location in the registry key HKEY_CLASSES_ROOT\CLSID\{42aedc87-2188-41fd-b9a3-0c966feabec1}\InProcServer32. If you have no idea how to navigate to this location then follow the steps given below
    1. Locate and double click HKEY_CLASSES_ROOT from the left pane
    2. Locate and double click CLSID from the left pane
    3. Locate and double click {42aedc87-2188-41fd-b9a3-0c966feabec1} from the left pane
    4. Locate and select InProcServer32 from the left pane

  1. Double click Default from the right pane
  2. A new window will open. Type %SystemRoot%\system32\windows.storage.dll in the value data section and click Ok

  1. If you see an error related to permission issues or that you don’t have permission to change the value of these keys then do the following
    1. Right click InProcServer32 from the left pane and select permissions

    1. Click Advanced

    1. Click Change in front of the Owner section

    1. Click Advanced

    1. Click Find Now

    1. Select Administrators
    2. Click Ok

    1. Click Ok again

    1. Check the option Replace owner on sub containers and objects
    2. Check the option Replace all child object permission entries with inheritable permission entries from this object
    3. Click Ok

    1. You should be back to permission for InProcServer32 window. Select Administrators from the group or usernames section
    2. Check Allow option in front of Full Control
    3. Click Ok

    1. Now perform steps 4-5
  1. Now, you should navigate to this location HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{42aedc87-2188-41fd-b9a3-0c966feabec1}\InProcServer32 in the registry editor. Follow the steps given below to navigate to this location
    1. Locate and double click HKEY_CLASSES_ROOT from the left pane
    2. Locate and double click Wow6432Node from the left pane
    3. Locate and double click CLSID from the left pane
    4. Locate and double click {42aedc87-2188-41fd-b9a3-0c966feabec1} from the left pane
    5. Locate and select InProcServer32 from the left pane

  1. Double click Default from the right pane
  2. A new window will open. Type %SystemRoot%\system32\windows.storage.dll in the value data section and click Ok

  1. If you see an error related to permission issues or that you don’t have permission to change the value of these keys then do the following
    1. Right click InProcServer32 from the left pane and select permissions
    2. Click Advanced
    1. Click Change in front of the Owner section
    2. Click Advanced
    3. Click Find Now
    4. Select Administrators
    5. Click Ok
    6. Click Ok again
    7. Check the option Replace owner on sub containers and objects
    8. Check the option Replace all child object permission entries with inheritable permission entries from this object
    9. Click Ok
    10. You should be back to permission for InProcServer32 window. Select Administrators from the group or usernames section
    11. Check Allow option in front of Full Control
    12. Click Ok
    13. Now perform steps 8-9
  2. Once you are done, navigate to this location in the registry editor HKEY_CURRENT_USER\Software\Classes\CLSID\{42aedc87-2188-41fd-b9a3-0c966feabec1}. Follow the steps given below if you aren’t sure how to navigate to this location
    1. Locate and double click HKEY_CURRENT_USER from the left pane
    2. Locate and double click Software from the left pane
    3. Locate and double click Classes from the left pane
    4. Locate and double click CLSID from the left pane

  1. Locate and right click {42aedc87-2188-41fd-b9a3-0c966feabec1} from the left pane
  2. Select delete and confirm any additional prompts

Close the registry editor once you have deleted the registry key and you should be good to go.

Method 2: Fix Registry Key Permissions

This solution will work for the people who are seeing this problem because of permission issues. As mentioned in the beginning of this article, the most likely cause of this problem is the lack of proper permissions that prevent your registry keys from getting updated. So, follow the steps given below to fix the permissions issue.

  1. Hold Windows key and press R
  2. Type regedit and press Enter

  1. Now, navigate to this location in the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop. If you have no idea how to navigate to this location then follow the steps given below
    1. Locate and double click HKEY_CURRENT_USER from the left pane
    2. Locate and double click Software from the left pane
    3. Locate and double click Microsoft from the left pane
    4. Locate and select Windows from the left pane
    5. Locate and select Shell from the left pane
    6. Locate and select Bags from the left pane
    7. Locate and select 1 from the left pane

  1. Right click Desktop from the left pane and select permissions
  2. Click Advanced

  1. Look at the entries in permission entries Select any entry that has Deny in its Type column and click Remove
  2. Repeat the previous step for all the Deny entries in the permission entries section
  3. Now, make sure your account has Full Control Locate the account from the permission entries section. If your account doesn’t have Full Control written in Access column, select your account entry and click Edit
  4. Check the box Full Control from the newly opened window
  5. Click Ok

  1. Click Ok and then select Ok again

Once done, you should be good to go. Change the icon settings and it will retain even after a restart.

Method 3: Delete Bags and BagMRU folders

Deleting Bags and BagMRU folders from the registry editor has helped a lot of users in solving this issue. Deleting these folder will bring your icons to default settings and it will most likely resolve the issue for you.

Here are the steps for locating and deleting Bags and BagMRU folders.

  1. Hold Windows key and press R
  2. Type regedit and press Enter

  1. Now, navigate to this location in the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell. If you have no idea how to navigate to this location then follow the steps given below
    1. Locate and double click HKEY_CURRENT_USER from the left pane
    2. Locate and double click Software from the left pane
    3. Locate and double click Microsoft from the left pane
    4. Locate and select Windows from the left pane
    5. Locate and double click Shell from the left pane

  1. You should be able to see multiple folders. There should be four folders under Shell. These four folders will be Associations, AttachmentExecute, BagMRU, and Bags
  2. Locate and right click BagMRU. Select Delete and confirm any additional prompts. Click yes if it asks whether you want to delete the sub-keys or not.

  1. Locate and right click Bags. Select Delete and confirm any additional prompts. Click yes if it asks whether you want to delete the sub-keys or not.

  1. Right click Shell folder from the left pane
  2. Select New then select Key

  1. Name this key BagMRU and press Enter
  2. Right click Shell folder again
  3. Select New then select Key
  4. Name this key Bags and press Enter
  5. Close the registry editor

You should be good to go now. Refresh your desktop and rearrange your icons. Your icons should stay at the same place now.

Method 4: ESET Antivirus

This issue can also be caused by the ESET Antivirus. The problem occurs whenever the antivirus removes a malware/virus from your system. Basically, this bug in the antivirus corrupts your icon and folder (registry) settings after successfully removing a Trojan. Once the settings are corrupted, you cannot fix these settings.

The good thing is that ESET has fixed the issue in their latest updates. So, if you have this antivirus and you are seeing this issue then simply update the antivirus reinstall the program by downloading the latest installer from their website.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.