If your desktop icons aren't saving their positions or are disappearing entirely, there are several quick fixes to lock them in place or restore them. 1. Stop Icons from Auto-Rearranging
Fix for macOS:
Choose the version that fits your platform. how to save icon on desktop fix