I am unable to turn on File Sharing on my iMac running macOS Catalina.

I cannot get the File Sharing to switch on with my old iMac running Catalina. It has been working and I have been sharing files between it and another M1 laptop for some months. I failed to connect to the MacBook this morning so did the usual of turning off the File Share and then rebooting and then tried to switch it back on by it will not!


I have even booted up in recovery mode and reinstalled Catalina but to no avail.


Can anyone think of any reason and what I can do to get it to switch on?


Thanks


[Re-Titled By Moderator]


iMac Line (2012 and Later)

Posted on Jun 14, 2022 12:21 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 17, 2022 8:50 PM

I actually found the attached thread useful by manually turning on file sharing using TERMINAL.


Enable and disable file sharing from term… - Apple Community


Here's my synopsis:


  1. Close system Preferences (If open)
  2. Open Terminal
  3. Paste: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist and press [Enter]
  4. Type your computer password (Typing will not show, do it anyway) and press [Enter]
  5. Paste: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist and press [Enter]
  6. Type exit and press [Enter]
  7. Once the process finishes, close the Terminal window.
  8. Open System Preferences and go to Sharing
  9. DONE!


I was having this same exact problem with my Mac Mini running Catalina 10.15.7 and this fixed it!

Now my Mac Mini shows it's shared folders on my Macbook Pro running High Sierra 10.13.6!

Similar questions

85 replies

Jun 27, 2022 8:19 AM in response to l008com

Check out the previous post by editor1979 regarding using terminal app to manually start the services via the command line. Worked like a freaking charm for me.


** one thing I've not seen posted and turned out to be important: Do NOT use the same single drive for Time Machine backups on the host computer and for "sharing". i.e. use two drive, one for Time Machine backups of the host computer, and a second drive on the host computer to share with other machines for them to use as Time Machine backups. Trying to get both to use the same Time Machine formatted drive apparently causes massive problems....though I've not seen it posted anywhere nor does the software warn.

Jun 15, 2022 10:07 AM in response to in_van

Exactly the same problem here. I turned File Sharing off to remove my shared external USB drive, but when I put the drive back on that computer and tried to activate File Sharing the check box will not activate. It's not grey it simply won't "check". I can turn on SMB and apple file share from the command line but the authentications fail.

Jun 21, 2022 3:19 AM in response to faith185

Hi Faith

I had the same problem, the Untickable File Sharing Box. I tried checking by setting up a test user account. the file sharing box was untickable in the test user as well. I too used up a lot of Apple's tech support line's time without any resolution to the problem.

After about six hours work and help from my son, we worked out that because my system includes an iMac with a remote SSD boot hard drive, which had not been upgraded to the latest version of Catalina, we could do a work around. By booting from the SSD, I am now able to have one Mac that is capable of file sharing.

It would be useful to know if Apple plan to fix the file sharing issue.

Thanks for your help.

Mark


Jun 21, 2022 8:11 AM in response to markgreenwood

Yeah I also spent a LOT of time with Apple support. They told me to wipe the drive and re-install from scratch, and NOT to use time machine recovery (set up as new machine) then manually move the files over. Another post stated that this did not work. I believe they mentioned that wiping and re-install worked until the latest security patch was included. Then file sharing broke again?

Jun 27, 2022 1:54 AM in response to Bob Hawkins

Add me to the list. Running the latest Catalina on a 2012 File server. Yes, this is my home file server and i cannot turn file sharing on. I turned it off and now when I check the box to turn it back on, nada. I did not make any configuration changes. I rebooted a million times, disconnected all external drives, etc etc etc. No matter what I try, it just won't turn on.


I just tried the command line options, manually enabled the file sharing related LaunchD items and it did seem to work. It makes zero sense that this stopped working through the GUI though. If there's no underlying unix problem, I wonder if it's just a sharing prefs file glitch that could have been solved by removing just the right preferences file.

Jun 16, 2022 9:17 AM in response to Bob Hawkins

You are amazing! That is great detective work and thank you for the confirmation. I spent all yesterday on tech support moving up the food chain. Stumped everyone. Has nothing to do with login items, permissions, full disk access, ...the file sharing service just does not check box "on". I can use the command line and launchctl to manually start the smb or apple file service, but authentication fails. I was about to wipe and re-install but it looks like doing so would be a waste of time. Greatly appreciate the work you've done. Thank you!

Jun 21, 2022 8:09 AM in response to editor1979

Thank you thank you! This worked perfectly for me. I was able to get both services up and running and authentication properly resumed. I now have an external drive connected and doing time machine backups of all my family's laptops. Previously I'd just tried the smbd and authentication didn't turn on. Looks like turning on both got me moving. I have not tried clicking off the check mark "File Share".....3rd rule Ain't broke don't fix it.

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.

I am unable to turn on File Sharing on my iMac running macOS Catalina.

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