High Sierra loses my desktop folder and functionality

I upgraded to macOS High Sierra from macOS Sierra last week and since then my desktop has gone.


What happened?

My Desktop folder (~/Desktop) changed from a folder to a file alias.


This now means:

  • No files, folders or icons may appear on my desktop
  • Desktop context menu doesn't show "New Folder"
  • Rectangular selection when dragging the cursor shows a rectangle but doesn't select anything, as there's nothing on the desktop to select
  • Desktop background still appears
  • iCloud Desktop & Documents Folders has never been selected and is still not selected
  • Finder preferences to show/hide desktop icons has no effect
  • Screen captures produced an error saying they couldn't write to the desktop since there is no desktop so I had to change their default location to another folder


It also means I have lost the few files I had stored on my desktop. I have no desktop except for the background image.


I created a screen recording to show related actions: 2017 09 30 macOS High Sierra loses desktop (YouTube)


Any help would be appreciated!


Thanks,

Brian.

MacBook Air, Mac OS X (10.7.2)

Posted on Sep 30, 2017 6:32 AM

Reply
16 replies

Sep 30, 2017 5:14 PM in response to pasiphae

Apologies, I didnt' watch the entire video. I wonder if checking the option in iCloud then turning off would put the folder back. I would move everything out of your Documents folder for this test.


In Finder Preferences > Sidebar is Desktop checked?


I have seen similar when using a terminal command to move user folders to an external drive. Usually you can put the folder back by creating a new folder and name it Desktop. I doubt any of the move back steps will work since you didn't move to an external drive.


If simply creating a new folder and naming it Desktop does not work, log out/in to Guest. Do you see the Desktop folder? If yes, this indicates the problem is specific to your User's folder.


You might want to boot into the Recovery Drive and select to reinstall macOS.


Boot into the Recovery Drive by holding down Command R when restarting.


This step is not necessary, but it's easy to do and it would verify there are no issues with your drive.

Open Disk Utility

Run First Aid on your internal drive, Macintosh HD

Quit Disk Utility



Select Reinstall macOS

Depending on your internet connection this could take some time to download the installer. Connect via Ethernet if possible

(You can reinstall High Sierra over High Sierra. This procedure is no different than installing one OS over another.


This process should not damage your data but it's always advised that you backup first.


MORE INFO:

https://support.apple.com/en-us/HT201314

Nov 23, 2017 9:50 AM in response to Vtcd

  • From your Mac, go to Apple menu User uploaded file > System Preferences
  • Open System Preferences > iCloud
  • Select iCloud Drive > Options
  • Uncheck Desktop & Documents Folders
  • Click Done


When you turn off Desktop and Documents, your files stay in iCloud Drive and a new folder is created on your Mac. You can move files from iCloud Drive to your Mac as you need them, or select all of your files and drag them to the place you want to keep them.

Sep 30, 2017 3:51 PM in response to ShadowDust99

Yes, I have logged off and on, as well as restarted (and shutdown and turned on) quite a few times.


Even if Finder would recreate my Desktop correctly, which it hasn't, it still doesn't explain why it was turned into a broken alias in the first place.


You've touched on a good point though: since Finder isn’t recreating it, how do I create a Desktop folder? I’m assuming there’s some metadata that needs to be stored along with the folder so that it recognises it as a desktop.

Oct 6, 2017 6:34 PM in response to dianeoforegon

Thanks again. I checked out your site and it’s very informative so a thumbs up from me 👍


As for moving the files, I literally moved most of them using sudo mv and changed the owner once moved over. I’m very familiar with UNIX, as it was my second O/S when I cut my teeth at uni; first being CP/M in the 80s. I moved the folders and files by hand and it wasn’t too bad. Nothing that wholesale is without a bit of pain, though!


Where your valuable info really came into play was to do with the Apple-specific folders, such as ~/Library. You confirmed my suspicions with those folders and I heeded your warning. It was just what I needed. Thank you for all of your suggestions and assistance.


Thanks,

Brian.

Nov 29, 2017 6:50 PM in response to adamo010

Sorry--like the user below, my knowledge of fixing computers (especially Macs) is almost non-existent. I'm not sure what "sudo" means, but I can see "Desktop" in my finder. It just doesn't contain any files since it was wiped from the update.


I had a significant number of files and folders on my desktop, and I've been trying to troubleshoot with free recovery software apps for macs that won't even open. If anyone can recommend another solution that hasn't been listed already in this thread, I'd be extremely grateful! Thank you!

Oct 6, 2017 12:37 AM in response to dianeoforegon

Apologies for the delayed response... busy week!


Thanks for your suggestions. I appreciate it!


My replies

  • I checked the Finder preferences and Desktop is turned on. The problem is that the Desktop folder is no longer a folder at all; it is now an alias. There is no folder to show.
  • I can also report that over the last week, a few more folders have appeared in my home folder that sit at the same level as the Desktop alias. Every time I logon, more folders appear. This is what I have so far:
    • Two new folders with no name (i.e. blank)
    • One new folder with a name of "?àz"
    • One new folder with a name of "fdy"
    • One new folder with a name of "Localip"
    • One new folder with a name of "ontents"
    • One new folder with a name of "rt"
  • You're right about the Desktop issue being specific to my user account. To prove it, I created a new test account and its Desktop works fine. The guest account also works fine. Another user's Desktop also works fine. They all have a Desktop folder that can contain files and folders. It is a true container and the icons of its contents works on the Desktop as expected.


Next steps

I think the operating system is functioning ok so before reinstalling macOS, I'll create a new user account and move all my files over and then delete this malfunctioning user account. If I continue having issues with the Desktop and other spurious folders, I'll go down the route of reinstalling macOS.


I'll sign off and mark your answer as the solution. If you have any further ideas on what may be creating weird folders, I'd be interested to hear. My main fear is that some of the file system may have become corrupt when installing High Sierra and migrating the storage to APFS.


Thanks for your help!

Brian.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

High Sierra loses my desktop folder and functionality

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.