How to Undo Desktop Icon Changes in Windows 11

Published by Nyau Wai Hoe - Updated on

Windows 11 is a versatile operating system, allowing users to customize their desktops in numerous ways. However, sometimes, you may accidentally move, sort, or rearrange your desktop icons and want to revert to the previous arrangement. Thankfully, there are several techniques to undo these changes and restore your desktop icon positions to their original state.

In this guide, we will show you a quick workaround to quickly undo desktop icon changes in Windows 11. We will also discuss how to backup and restore your desktop icon positions using third-party applications.

How to Undo Desktop Icon Changes in Windows 11

Undo desktop changes by killing and restarting explorer.exe

A quick and effective method to undo desktop icon changes in Windows 11 is by killing and restarting the explorer.exe process. This technique works because desktop changes, including the positions and arrangements of icons, are not saved immediately in Windows 11. Instead, they remain in memory until you log off or restart your computer.

Also see: How to Stop Windows 11 from Rearranging Desktop Icons

To kill and restart the explorer.exe process using Command Prompt, follow these steps:

  1. Open Start menu and type “cmd” in the search bar.
  2. Right-click Command Prompt from the search results and select “Run as administrator“.Command Prompt Run as Administrator
  3. In the Command Prompt, type the following command and press Enter to terminate the explorer.exe process:
    taskkill /IM explorer.exe /F
  4. Next, type the following command and press Enter to restart the explorer.exe process:

    Undo Desktop Changes by restarting explorer

If the above commands don’t work for you, try using the tskill explorer command instead.

Related issue: Windows 11 Desktop Icons Move to Secondary Monitor

In case the commands don’t work, you can follow these steps to kill and restart explorer.exe using the Task Manager:

  1. Press Ctrl + Shift + Esc to open the Task Manager.
  2. Find the Windows Explorer process under the Processes tab.
  3. Right-click on Windows Explorer and select End task.Killing explorer.exe Windows 11
  4. Click on File in the Task Manager menu, then click on Run new task.
  5. Type “explorer” in the Open field and click OK.Revert desktop icons to previous state Windows 11

By killing and restarting the explorer.exe process using either of these methods, you force Windows to discard any unsaved changes to your desktop icon arrangement. When the process restarts, it will reload the last saved icon layout, effectively undoing any unwanted desktop icon changes.

Useful tip: How to Change Desktop Icon Spacing in Windows 11

Why does killing explorer work to undo desktop changes?

This method of killing and restarting the explorer.exe process works because Windows 11 manages desktop icon arrangements differently from other system settings. When you move, sort, or rearrange your desktop icons, the changes are stored in memory and not immediately written to the disk. The explorer.exe process is responsible for managing the desktop environment, including the positions of your desktop icons.

By terminating the explorer.exe process, you force Windows to discard any unsaved changes to your desktop icon arrangement that are still in memory. When you restart explorer.exe, it will load the last saved icon layout from the disk. This effectively reverts your desktop to the previous state before the unwanted changes occurred.

What if you have logged out or restarted your computer?

If you have already logged out or restarted your computer, the method of killing and restarting the explorer.exe process will not work. This is because when you log out or restart, Windows saves the current desktop icon arrangement to the disk. As a result, the changes are no longer held in memory and cannot be discarded by terminating the explorer.exe process.

In such situations, you will need to resort to alternative methods to revert your desktop icon arrangement to the previous state. One option is to manually rearrange the icons to your preferred layout. Another option is to use third-party applications that can backup and restore desktop icon positions, as discussed in the next section.

A better way to backup and restore your icon positions in Windows 11

To avoid losing your preferred desktop icon arrangement in the future, consider using third-party applications to backup and restore your icon positions. These tools allow you to create multiple snapshots of your desktop icon layout, making it easy to revert to a previous state if needed.

One such application is DesktopOK, which is a lightweight and portable tool that does not require installation. Here’s how to use DesktopOK:

  1. Download DesktopOK from the official website:
  2. Run the program by double-clicking on the executable file.
  3. Click on the Save button to save your current desktop icon layout. You can create multiple snapshots by clicking Save at different times.
  4. If you need to restore a previous icon layout, simply select the desired snapshot from the list and click on the Restore button.

Reset desktop icons arrangement sort

Troubleshooting common desktop icon issues

At times, you may encounter issues with your desktop icons, such as disappearing icons or icons not responding to clicks. Here are a few troubleshooting tips to resolve these issues:

  1. Disappearing desktop icons: If your desktop icons have vanished, right-click on an empty area of the desktop, select View, and ensure that the Show desktop icons option is checked.
  2. Icons not responding: If your desktop icons are not responding to clicks, try restarting the explorer.exe process as described earlier in the article. This can often resolve minor issues with the desktop environment.
  3. Corrupted icon cache: If some icons appear as generic icons or are not displaying correctly, the icon cache may be corrupted. To rebuild the icon cache, open the Command Prompt as an administrator and run the following commands:
    taskkill /IM explorer.exe /F
    cd %localappdata%
    del IconCache.db /a
    shutdown /r

    This will terminate the explorer.exe process, delete the icon cache file, and restart your computer to rebuild the icon cache.

Closing remarks

In conclusion, killing and restarting explorer.exe is a quick and effective way to undo desktop icon changes in Windows 11, but it may not be suitable for all situations. Users who are uncomfortable with working with command-line tools or have other programs running in the background may need to resort to manually rearranging icons.

Alternatively, users can use third-party applications such as DesktopOK to backup and restore their desktop icon layout. However, it’s important to note that you must have a previously saved icon layout in DesktopOK to restore to it. Regardless of the method used, it’s always a good idea to back up your desktop icon layout regularly, especially if you have a lot of icons or frequently rearrange them. This can help you avoid the hassle of having to undo unwanted changes in the first place.

Categories: Windows 11

Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

Share via
Copy link