REW

How Do I Stop Icons From Moving On My Desktop When I Undocking?

Published Aug 29, 2025 4 min read
On this page

**1.

  1. Right-click on an empty space on your desktop.
  2. In the context menu, hover your mouse over View.
  3. Ensure that Auto arrange icons is unchecked.
  4. Optionally, also uncheck Align icons to grid if you want more precise, off-grid placement of your icons. Leaving this checked will still snap icons to an invisible grid but will not automatically rearrange them.

**2. Turn Off "Allow Themes to Change Desktop Icons"**A common, but less obvious, culprit is a setting that allows your desktop theme to alter your icon layout. When you undock, the display change can trigger a theme reset, which then rearranges your icons.

  1. Right-click on your desktop and select Personalize.
  2. In the Settings window, navigate to Themes.
  3. Scroll down to Related settings and click on Desktop icon settings.
  4. In the new dialog box, uncheck the box next to Allow themes to change desktop icons.
  5. Click Apply and then OK.

3. Set Consistent Display Scaling and ResolutionIcon shifting is often triggered by changes in screen resolution and scaling (DPI settings). When you undock from a high-resolution external monitor and switch back to a smaller, lower-resolution laptop screen, Windows has to fit all the icons into the new, smaller display area. By setting consistent scaling, you can minimize or eliminate this effect.

  1. Right-click the desktop and go to Display settings.
  2. Make sure the Scale and layout settings for both your internal laptop display and your external monitor(s) are set to a consistent level. For example, if your external monitor is at 125%, try setting your laptop display to 100% or the recommended setting.
  3. Set both displays to their Recommended resolution. While your external display can have a higher resolution, ensuring the scaling is consistent helps Windows manage the transition.

4. Update Your Graphics DriversOutdated or corrupted graphics drivers can cause display glitches, including the failure to correctly save and restore your desktop icon layout. Keeping your drivers current ensures that your computer's software for managing display settings is functioning correctly.

  1. Right-click the Start Menu and select Device Manager.
  2. Expand the Display adapters category.
  3. Right-click on your graphics card(s) and select Update driver.
  4. Choose Search automatically for drivers and follow the on-screen instructions.

5. Reset the Icon CacheSometimes, a corrupted icon cache can cause icons to be displayed incorrectly or to shift their positions. Resetting the icon cache forces Windows to rebuild the file that stores icon information, which can resolve the issue.

  1. Open Command Prompt as Administrator by searching for "cmd" in the Start Menu, right-clicking it, and selecting Run as administrator.
  2. Enter the following commands, pressing Enter after each one:
    • ie4uinit.exe -show
    • taskkill /IM explorer.exe /F
    • DEL /A /Q "%localappdata%\IconCache.db"
    • DEL /A /F /Q "%localappdata%\Microsoft\Windows\Explorer\iconcache*"
    • start explorer.exe
  3. Reboot your computer and arrange your icons as desired.

6. Use Third-Party Software for Icon ManagementFor a more robust and reliable solution, especially if you frequently dock and undock, third-party applications can save and restore your icon layout with a single click.

  • DesktopOK: This is a popular, free utility that allows you to save and restore multiple desktop layouts. It's especially useful for users with multi-monitor setups.
  • Stardock Fences: This is a premium application that lets you organize icons into shaded areas called "fences". These fences can be locked in place, ensuring icons do not move, even after resolution changes.

7. Advanced Troubleshooting: Edit the RegistryFor advanced users, a registry edit can be used to prevent icons from automatically arranging themselves. Warning: Editing the registry can cause system instability if done incorrectly. Back up your registry before making any changes.

  1. Press Win + R, type regedit, and press Enter to open the Registry Editor.
  2. Navigate to the following key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies.
  3. Right-click on the Policies key, select New, and then Key. Name the new key Explorer.
  4. Right-click the new Explorer key, select New, and then DWORD (32-bit) Value. Name it NoSaveSettings.
  5. Set the value of NoSaveSettings to 1.
  6. Restart your computer.

8. Ensure Windows is Up to DateSystem updates often include fixes for display-related bugs and compatibility issues. Ensure the Windows operating system is fully up to date.

  1. Press Win + I to open Settings.
  2. Go to Windows Update.
  3. Click Check for updates and install any available updates.

In summary, the most effective approach combines these methods. Start by disabling "Auto arrange icons" and "Allow themes to change desktop icons". For a more reliable fix, ensure graphics drivers are up to date and display scaling is consistent. If the problem continues, try resetting the icon cache or using a third-party utility.

Enjoyed this article? Share it with a friend.