Yes, you can use command line to save or load the desktop icons layout directly from a file! From DesktopOK 1.57 an higher.
For example SAVE TO FILE:
DesktopOK.exe /save /silent c:\icon_lay.dok
DesktopOK.exe /save "c:\long path name\icon_lay.dok"
Example LOAD FROM FILE:
DesktopOK.exe /load /silent c:\icon_lay.dok
/silent = don't show error messages
Nev from ver 5.65
/spacing = save icon spacing
/size = save icon size
The file name must end with *.dok. This is a teeny overwrite protection for the other system files.
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.
FAQ 4: Updated on: September 21th 2018 15:57