DesktopOK Hotkeys: Save and Restore Icon Layouts with Keyboard Shortcuts

DesktopOK Hotkeys let you save and restore your desktop icon layout with a quick key press, instead of opening the main window every time. You press one shortcut to save the layout, and another to bring it back when your icons move.

This guide shows the setup that works on Windows 10 and Windows 11: Windows shortcut keys, DesktopOK command-line parameters, and tray and auto-save options.

What DesktopOK Hotkeys Really Mean

DesktopOK does not ship with one fixed global key for saving a layout. There is no single built-in shortcut, such as Ctrl+S, that saves your icon positions from anywhere. The main window uses Save and Restore buttons, and that is the normal way to work.

That gap is easy to close with tools Windows already gives you. You pair a Windows desktop shortcut with a DesktopOK command-line parameter, then assign a key combination to that shortcut. The result feels like a built-in hotkey, and it uses only real, documented features.

The Keyboard Workflow in Short

You create two desktop shortcuts. One runs DesktopOK with the save parameter, and the other runs it with the load parameter. Each shortcut gets its own key combination, and each one points at the same layout file.

  • Save shortcut: runs DesktopOK with /save and writes the current layout to a .dok file.
  • Restore shortcut: runs DesktopOK with /load and reads that same .dok file back.
  • Optional backup: add a dated save shortcut, so you always keep a second copy.

Method 1: Windows Shortcut Keys for Save and Restore

Windows lets you assign a shortcut key to any desktop shortcut. Right-click the shortcut, open Properties, click the Shortcut key box, and press your chosen combination. Windows accepts combinations that start with Ctrl+Alt plus a letter or number.

Pick keys you can remember and that do not clash with other apps. Ctrl+Alt+S for save and Ctrl+Alt+R for restore are a clear pair. Test each one right after you set it. For the basic steps, see how to save and restore desktop icons with DesktopOK.

Create a Save Shortcut

  • Right-click an empty part of the desktop, then choose New, then Shortcut.
  • Type the DesktopOK path, then /save, /silent, and your .dok file path.
  • Example: “C:\Tools\DesktopOK_x64.exe” /save /silent C:\Layouts\main.dok
  • Name it “Save Desktop Layout”, then right-click it, open Properties, and set Shortcut key to Ctrl+Alt+S.

Create a Restore Shortcut

Repeat the same steps with /load instead of /save, and point at the same .dok file. Use “C:\Tools\DesktopOK_x64.exe” /load /silent C:\Layouts\main.dok as the target, then set its shortcut key to Ctrl+Alt+R.

Method 2: DesktopOK Command-Line Save and Restore

Command-line parameters are the engine behind the keyboard method. DesktopOK supports /save and /load from version 1.57 onward, so this is a long-standing feature, not a new trick. The /silent switch hides error messages, which keeps the shortcut quiet while it works.

Layout files must end in .dok, and DesktopOK treats them as plain-text files. Put the path in quotes when it holds spaces. The full reference is covered in the DesktopOK command-line guide.

ParameterWhat it doesExample
/saveSaves the current icon layout to a fileDesktopOK.exe /save C:\Layouts\main.dok
/loadRestores an icon layout from a fileDesktopOK.exe /load C:\Layouts\main.dok
/silentHides error messages during save or loadDesktopOK.exe /save /silent C:\Layouts\main.dok
/spacingSaves icon spacing with the layoutDesktopOK.exe /save /spacing C:\Layouts\main.dok
/sizeSaves icon size with the layoutDesktopOK.exe /save /size C:\Layouts\main.dok
/reportLists found and missing icons with /loadDesktopOK.exe /load /report C:\Layouts\main.dok

Method 3: Tray, Startup, and Auto-Save

Keyboard shortcuts work best when DesktopOK is already close at hand. Turn on Start DesktopOK with Windows in Options, and let the app sit in the system tray. From the tray icon you can open the main window, save, or restore in two clicks.

Turn on Save on Windows Shutdown, plus Restore on Windows Startup, and your layout survives restarts without any extra step. Add auto-save, so DesktopOK saves the layout on a schedule as well. The DesktopOK auto-save feature and the startup setup guide explain both options in full.

Which Method Should You Use

Most people need only two methods: Windows shortcut keys for quick manual saves, and auto-save as a safety net. Command-line shortcuts give you speed, while auto-save covers the times you forget to press anything at all.

Recommended Shortcut Setup

Use Ctrl+Alt+S to save and Ctrl+Alt+R to restore, with both shortcuts pointing at one file called main.dok. Save once after you arrange your icons, then press Ctrl+Alt+R to test the restore. If the icons return to their places, the pair is ready to use.

Keep a second dated file as well, such as main-2026-11-09.dok, and update it once a week. Add /spacing and /size to the save command, so icon size and spacing come back too.

Fix Common Shortcut Problems

Shortcut Does Nothing

Check the target path first, because a wrong DesktopOK path is the most common cause. Make sure the .exe path is correct, and the .dok path is in quotes when it holds spaces. Try double-clicking the shortcut, with no key press at all.

Wrong Layout Comes Back

This usually means the restore shortcut points at a different .dok file than the save shortcut. Open both shortcuts, compare their target lines, and fix the file path so they match. Then save the layout again, and test the restore once more.

Shortcut Opens Another App

Another program may already use the same key combination. Change your DesktopOK shortcut to a free pair, such as Ctrl+Alt+U for save and Ctrl+Alt+J for restore. Close the other app first, test the new keys, and keep the pair you can remember.

FAQ

Does DesktopOK have a built-in hotkey to save a layout?

No, there is no single built-in global hotkey for saving a layout. The reliable method is a Windows desktop shortcut with a shortcut key, pointed at DesktopOK with the /save parameter.

What is the best shortcut key for DesktopOK?

Ctrl+Alt+S for save and Ctrl+Alt+R for restore work well for most people. Both are easy to remember, and Windows accepts them as shortcut keys. Avoid keys your other apps already use.

Can DesktopOK save my layout automatically?

Yes, turn on auto-save in Options, and choose how often it should run. You can also turn on Save on Windows Shutdown, so the layout is saved every time you shut down.

Can I keep different layouts for work and gaming?

Yes, save each layout to its own .dok file, such as work.dok and gaming.dok. Create one save and restore shortcut pair for each file, with its own key combination.

Do the shortcuts still work after a restart?

Yes, if DesktopOK starts with Windows and the .dok files stay in the same folder. If you move the files, update the target path in each shortcut before you use the keys again.

Conclusion

DesktopOK Hotkeys work best as a small system you build yourself. Windows shortcut keys give you the key press, command-line parameters do the save and restore work, and auto-save covers the gaps.

Start with Ctrl+Alt+S and Ctrl+Alt+R on a single layout file today. Once that pair works every time, add a second layout or a scheduled save.

Related Guides

DesktopOK System Tray Icon Missing: Fix It in 2 Minutes

1 thought on “DesktopOK Hotkeys: Save and Restore Icon Layouts with Keyboard Shortcuts”

  1. Pingback: Save & Restore Desktop Icons with DesktopOK on Windows

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top