Yes, you can use command line to save or load the desktop icons layout directly from a file! From DesktopOK 1.57 an higher.1.) ... The examples to load / save the icon layouts via program parameters!
|
(Image-1) Save the desktop icons layout on all Windows OS! |
![]() |

You can save the desktop icons layout not only in Windows 10, you can also save the desktop icons on Windows Server 2016 and 2012.
Info: Windows allocates on many computers the desktop icons without asking and randomly reat. Especially on large screens and with many neatly arranged desktop icons that is pretty annoying. But fortunately there is a remedy. Here are the solution to keep the icons in the right place.
The problem with the unwanted rearrangement of the desktop icons has been known for many versions of Windows . Whether XP, Windows Vista, Windows 7 or Windows 10 . Tumbling Desktop Icons are almost as old as Windows. It's amazing that Microsoft still has not found a reliable solution for it. After all, the desktop is the most widely used Windows component.
Info:
It's easy to save or load the icons layout directly from the command line or cmd. The solution is not only written as a instruction for Windows 10, you can use this example to create via CMD command line to save the icon positions on the desktop via cmd as a solution even on earlier versions of Microsoft's Windows operating systems, whether it is a Windows desktop computer, tablet PC, Surface Pro and Go, or even a server operating system, it has been tested and successfully verified at all .
It's easy to save or load the icons layout directly from the command line or cmd. The solution is not only written as a instruction for Windows 10, you can use this example to create via CMD command line to save the icon positions on the desktop via cmd as a solution even on earlier versions of Microsoft's Windows operating systems, whether it is a Windows desktop computer, tablet PC, Surface Pro and Go, or even a server operating system, it has been tested and successfully verified at all .

2.) With taskkill / F / IM the save process named "» DesktopOK_Exit «" does not take place!
User request:
If I exit the DesktopOK program with a mouse click, it will save an icon according to my program settings with the name "» DesktopOK_Exit «". I would have liked to have done exactly the same thing with a batch command line. If I use the command in the batch:
"taskkill / F / IM DesktopOK_x64.exe / T"
use, the program is closed, but the save process named "» DesktopOK_Exit «" does not take place.
It should be something with task program exit + parameters ?? In the console, the text should be similar.
Answer:
Please use ►► program aguments in Desktop OK
Task-Kill Kills the program and does not send a program terminate command!
Described here: ►► Use Taskkill correctly and sensibly with the Cmd.exe with examples
FAQ 4: Updated on: 23 November 2021 15:32