Regardless of whether you have upgraded to Microsoft Windows 11 or are still using Windows 10, the Windows desktop is where you are most likely to start your computer session. For many users, the shortcut icons that populate the Windows desktop are the primary gateway to their productivity applications, games, preferred web browser, etc. The desktop is where their day begins and ends.

SEE: Checklist: PC and Mac migrations (TechRepublic Premium)

Personalizing Windows 11 desktop shortcut icons is limited. Users can use a grid to keep icons orderly and they can sort icons based on name, size or modified date, but little else. By default, the vertical and horizontal distance between each desktop icon when using the grid option is fixed and unchangeable. Unless, of course, you know where those settings reside in the Windows Registry file.

This how-to tutorial shows how to change the vertical and horizontal distance between Windows 11 desktop icons by editing the Windows Registry file.

How to change the icon spacing on the Windows 11 desktop

As you can see in Figure A, while we can change the size of the Windows 11 desktop shortcut icons by right-clicking on an empty part of the desktop, we cannot change the vertical and horizontal distances between the icons. We will have to edit the Windows Registry file to achieve that personalization change.

Figure A

Disclaimer: Editing the Windows Registry file is a serious undertaking. A corrupted Windows Registry file could render your computer inoperable, requiring a reinstallation of the Windows operating system and potential loss of data. Back up the Windows Registry file and create a valid restore point before you proceed.

To make our edits in the Windows 11 Registry File, we will type “regedit” into the Windows 11 search tool. From the results, choose the Regedit app and then use the left-hand window to navigate to this key, as shown in Figure B.

HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics

Figure B

When you select the WindowsMetrics folder in the left-hand navigation window, you will see a long list of parameters in the right-hand window. Within that list you will see an item labeled IconSpacing, that is the setting for horizontal distance between desktop icons. The item labeled IconVerticalSpacing is, obviously, for vertical distance.

The default setting for those parameters in our example is -1128 pixels. When you double-click those items, you will be able to change the values to a setting of your choosing, as shown in Figure C.

Figure C

Before you go wild making changes to these icon distance settings, I would suggest you proceed with caution. Moving those desktop icons too close together may lead to overlap and run counter to your likely purpose of more efficiency and a better user experience. On the other hand, setting the distance between icons too large could force icons off the desktop, rendering them unusable. Be judicious in your changes.

When you are satisfied with your personalization changes, exit out of the registry editor.