If your desktop icons keep rearranging themselves in Windows 11, it’s usually caused by the system automatically reorganizing icons based on name, date, or type—often triggered by screen resolution changes, display scaling adjustments, or a reset icon layout after updates. The issue is fixable without third-party tools, and no special hardware or software is required—just your Windows 11 PC and a few minutes to adjust settings.
What You’ll Need
- A Windows 11 PC (version 22H2 or later)
- Administrator access to the device
- No additional tools, apps, or downloads needed
Step-by-Step
- Disable automatic icon arrangement
Right-click anywhere on an empty area of your desktop. Hover over View in the context menu that appears. Uncheck the option labeled Auto arrange icons. This is the most common fix—when enabled, Windows forces icons into a strict grid, often overriding your manual layout after a restart or update. - Turn off align icons to grid
Still in the same View context menu, also uncheck Align icons to grid. This prevents Windows from snapping icons to invisible gridlines when you move them, which can cause subtle shifts even after you position them manually. - Check display scaling settings
Press Windows + I to open Settings. Go to System > Display. Under Scale & layout, verify your Scale setting (e.g., 100%, 125%, 150%). Make sure it matches your monitor’s native recommendation—mismatches can cause icons to shift during login or after waking from sleep. If you recently changed resolution or added a new monitor, try reverting to the default scale and resolution temporarily to test if the problem stops. - Reset icon positions via registry (if needed)
Press Windows + R, typeregedit, and press Enter. Navigate to:HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics.
Right-click the WindowMetrics folder and choose Export to back up the key. Then, delete the following values if present:IconSpacing,IconVerticalSpacing,Shell Icon BPP. Restart your PC. Windows will recreate them with default values optimized for your display. - Use a script to lock layout (optional backup)
Create a new text file on your desktop, paste the following PowerShell code, and save it asLockIcons.ps1(make sure Save as type is All Files and encoding is ANSI):Add-Type -TypeDefinition @' using System; using System.Runtime.InteropServices; public class DesktopIconLock { [DllImport("user32.dll", SetLastError = true)] public static extern bool SendMessageTimeout( IntPtr hWnd, uint Msg, UIntPtr wParam, IntPtr lParam, uint fuFlags, uint uTimeout, out UIntPtr lpdwResult); public const uint SMTO_ABORTIFHUNG = 0x0002; public const uint WM_SETTINGCHANGE = 0x001A; public static void Refresh() { SendMessageTimeout((IntPtr)0xFFFF, WM_SETTINGCHANGE, (UIntPtr)0, IntPtr.Zero, SMTO_ABORTIFHUNG, 100, out UIntPtr result); } } '@ [DesktopIconLock]::Refresh()
Run the script as Administrator by right-clicking the file and selecting Run with PowerShell. This forces Windows to reapply your current layout without auto-rearranging.
Common Mistakes
- Only disabling Auto arrange icons but leaving Align icons to grid enabled—this still causes minor snapping and realignment after a reboot.
- Changing display scale or resolution while icons are scattered—this almost always triggers rearrangement because Windows recalculates positions based on pixel density.
- Assuming third-party apps like Fences are needed—Windows 11’s built-in settings usually resolve the issue without extra software.
- Editing registry values without backing them up first—typos or deletions can cause display instability.
Tips
- After disabling auto-arrange, manually drag icons to your preferred spots, then log out and back in to confirm the layout holds.
- Use consistent display scaling across multi-monitor setups—mismatched scales are a frequent cause of icon shifts.
- Keep your Windows 11 up to date: some rearrangement bugs were fixed in 22H2 and later updates (check Settings > Windows Update).
- Consider enabling Lock desktop items via Group Policy if you’re on a Pro or Enterprise edition: Local Group Policy Editor > User Configuration > Administrative Templates > Desktop > Lock desktop items > set to Enabled.
Troubleshooting
If icons still rearrange after trying the steps above:
- Restart File Explorer
Press Ctrl + Shift + Esc to open Task Manager. Find Windows Shell Experience Host and Explorer in the Processes tab. Right-click each and select Restart. This refreshes the desktop shell without rebooting. - Create a new user profile
Icon layout issues sometimes stem from a corrupted user profile. Press Windows + R, typecontrol userpasswords2, and create a new local account. Log into the new profile and check if icons stay put. If they do, migrate your data to the new profile. - Check for display adapter issues
Press Windows + X and select Device Manager. Expand Display adapters, right-click your GPU, and choose Update driver. If that doesn’t help, try rolling back the driver (if available) or uninstalling it—Windows will reinstall a basic driver on next restart. - Run System File Checker
Open Command Prompt as Administrator (searchcmd, right-click, Run as administrator). Typesfc /scannowand press Enter. Wait for the scan to complete (10–30 minutes). Restart and test layout stability. - Check for third-party shell extensions
Some context menu enhancers (like old versions of RightMouse or ShellExView utilities) can interfere. Use ShellExView (from NirSoft) to disable non-Microsoft extensions, especially those related to desktop management or cloud storage (e.g., OneDrive, Dropbox). Restart Explorer and test again.
Frequently Asked Questions
Why do icons move after I update Windows 11?
Windows updates sometimes reset display settings or icon spacing values. After major updates, recheck Auto arrange icons and Align to grid, and verify your scale setting matches your monitor’s native resolution.Can a second monitor cause this?
Yes. Adding or moving a secondary monitor changes how Windows calculates desktop coordinates. If you frequently connect/disconnect external displays, disable Auto arrange and Align to grid after reconnecting, and consider setting a fixed scale on each display.Does turning off hardware acceleration help?
Rarely—but if you’re using older GPU drivers, try disabling hardware acceleration in Settings > System > Display > Graphics settings (toggle Hardware-accelerated GPU scheduling off). This is a last resort and may reduce performance.Will resetting the registry fix it permanently?
ResettingWindowMetrics often helps, but if the root cause is scaling mismatches or auto-arrange being re-enabled, the issue will return. Combine registry reset with the full steps above for lasting results.