Fix for Desktop Icons Layout Not Getting Saved Upon Restarting Windows

Windows saves the desktop icon layout when the user logs off, and the setting is read during logon. Recently I came across a case where the desktop icons rearrange to their default positions after a restart or logoff/login cycle.

This turned out to be a Permissions issue with a registry key, which kept Windows from writing to it. Here are some fixes for this issue, which apply to all versions of Windows, including Windows 10.

Fix for Desktop Icons Layout Not Getting Saved

1) Fix the MruPidlList Registry key in Windows 10

The desktop icon position and folder views may not be retained if malware has modified some settings under the MruPidlList registry key. To fix the settings, follow these steps:

  1. Start the Registry Editor (regedit.exe)
  2. Go to the following registry branch:
    HKEY_CLASSES_ROOT\CLSID\{42aedc87-2188-41fd-b9a3-0c966feabec1}\InProcServer32
  3. Double-click (default) and set its value data to:
    C:\Windows\System32\windows.storage.dll
  4. Repeat the same in the following registry path:
    HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{42aedc87-2188-41fd-b9a3-0c966feabec1}\InProcServer32
  5. Then, delete the following branch under HKEY_CURRENT_USER. Do NOT delete the one under HKEY_CLASSES_ROOT.
    HKEY_CURRENT_USER\Software\Classes\CLSID\{42aedc87-2188-41fd-b9a3-0c966feabec1}

    (The above branch is to be deleted irrespective of the Operating System.)

  6. Exit the Registry Editor.

REG File to automate the above three tasks: Download w10-desktop-icons-guid-fix.zip and save to desktop. Run the REG file to apply the contents to the registry.

Note: If you’re unable to change the value data and getting a permissions error, you need to take ownership of the above registry locations, and then update the value data. For information on how to change ownership, refer to the article Take ownership of a registry key.




2) Fix the desktop folder registry key (all versions of Windows)

Step 1: Terminate Explorer (Shell) Cleanly

  1. Open the Registry Editor (regedit.exe)
  2. Press and hold the Ctrl & Shift keys, and right-click on an empty area in the Taskbar.
  3. Click the Exit Explorer option. This closes the Explorer shell cleanly.
    exit explorer windows 10
The above applies to Windows 8 and Windows 10. For more information on restarting the Explorer shell, visit:

  1. Exit Explorer and Restart Explorer in Windows 10 and Windows 8
  2. Terminate and Restart Explorer.exe Process Cleanly in Windows 7 & Vista

Step 2: Fix Registry Key Permissions

  1. Switch to the Registry Editor window, and navigate to the following key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags\1\Desktop
  2. Right-click on the Desktop key, and choose Permissions.
  3. Click Advanced, and delete any “Deny” entries if present.
  4. Make sure that your user account has “Full Control” (Allow) Permissions for the registry branch.
  5. Click OK, OK.
  6. See if you can create a sample registry value in the Desktop key to test if you can write to the branch.

Step 3: Reset the Desktop Icon Layout Registry Key

This step is required only if the problem remains unresolved although you’re able to write to the Desktop registry key.

  1. Using the Registry Editor, rename the key Desktop to Desktop.old
  2. Exit the Registry Editor.
  3. Press Ctrl + Shift + Esc to open Task Manager.
  4. From the File menu, click Run.
  5. Type explorer.exe and press Enter.
  6. Customize the desktop icons layout as you want.
  7. Log off and log back in to check if the icon positions are retained.

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time.

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a ten-time recipient of the Microsoft MVP award in Windows Desktop Experience (Windows Shell), from 2003 to 2012. Ramesh founded Winhelponline.com in 2005.

19 thoughts on “Fix for Desktop Icons Layout Not Getting Saved Upon Restarting Windows”

  1. When I went to those registry keys, the values I was supposed to change were already what you said I was supposed to replace them with. However, I still have the desktop icon problem. Any ideas?

    Reply
  2. Didn’t work for me on Windows 10 Pro Version 10.0.18363. The dll setting was already there in steps 1 and 2, and in step 3 I didn’t have the branch to delete. Logging out and back in reverted to previous icon positions.

    Reply
  3. So I have searched everywhere for an answer to this issue and could not find a solution that worked for me. Up until yesterday I was using ReIcon to restore my icon positions. But after every game launch that was at a different resolution I would still have to refresh the icon positions to where I had them before. That was until I was looking through the windows logs trying to find out why one of my games started crashing all of a sudden and noticed an error: event iD 455 esent svchost tilerepositorys… … … to make a long story short after applying this fix for that itexperience.net/2019/11/06/1-minute-fix-for-event-id-455-esent-error/

    I launched a game that I knew before hand I was going to have to restore my icon positions back, but then I noticed they did not change this time. So I moved a few around, then launched another game. They stayed, even after I rebooted. Apparently this was my issue with icons not staying in place. I hope this helps reduce the annoyances of this issue for someone else as well.

    Reply

Leave a Comment