How and when they moved? It possible one screenshot before and one after moving What version Windows 10 You have? (Why I ask this?This problem usually was on some computer before version 1803, later not) What size of desktop icons You use (there is possible Large icons, Medium icons and small icons).
Your problem @Pasta88 is that you always post your issues with a minimum amount of words. Then someone, @kaljukass for this matter, asks you to post a screenshot or a small video showing your problem but you stay silent, you do nothing to give more infos. For me you always seem to be reticent to be more explicit, you are short on words. You want us to intuit and guess. I suggest you to use more words and sentences, be more expressive and show screenshots or videos for us to have a better understanding. Have fun.
Icons can get moved around sometimes on display resolution changes (even if being on low-res only for a short moment). They are re-arranged to fit the lower res (stay on-screen), but not back to what they were before.
Thanks for screenshots. To me seems, that Your system does not restore desktop layout. Usually helps, if to reset desktop icon cache, ie delete file IconCache.db, what is stored in folder %LocalAppData% or C:\Users\{username}\AppData\Local\ if C: is disk or partition where is installed Windows. Simply delete file (it is hidden file) IconCache.db and restart computer or explorer.exe. If it doesn't help, try to scan Windows files Code: C:\Windows\system32\cmd.exe (Run as Administrator) sfc.exe /scannow if it also doesn't help, should look for the reason, most likely it is in system settings what have been changed.
You might have a broken usb device (joystick/pad/mouse) causing uncontrollable mouse movement, or a compulsory affliction coupled with attention disorder. The icons shown in the second picture could not have moved by themselves (and such specific effect can't be caused by resolution changes like other users guessed). And NO, you can't prevent icons from being (accidentally?!) moved around (unless you somehow revive the Active desktop feature from Windows 9x/XP) Did I get this right?
Windows does not need any reason, it just does as it pleases. Backup is essential, especially if you have hundreds of icons, good for reinstall/upgrade too. I backup my taskbar.
i always get this issue too, since first Windows 10 version or maybe 14393 and it get worse with each new version it happen for me when opening files from new location or add new shortcut to desktop right-click > Refresh solve it sometimes
Desktop is broken since 1703. I'm running LTSB on PC and my desktop works normally, but on my notebook I had problems with icons randomly changing positions while trying to arrange them since version 1703.
okay. you all need a chkdsk tutorial. it will destroy unresolved linkages. this is a known issue since Windows 95 probably.