Set up SMB file sharing on Mac
You can use the Server Message Block (SMB) protocol to share files on your Mac.
Turn on SMB file sharing
On your Mac, choose Apple menu > System Settings, click General in the sidebar, then click Sharing. (You may need to scroll down.)
Below Content & Media, click next to File Sharing.
Turn on File Sharing.
Click Options, then turn on “Share files and folders using SMB.”
If you’re sharing files with Windows computers, below Windows File Sharing, select the On checkbox for each user that needs to share files with a Windows computer, then enter the password for each user’s account.
Click Done.
Turn off SMB file sharing
On your Mac, choose Apple menu > System Settings, click General in the sidebar, then click Sharing. (You may need to scroll down.)
Below Content & Media, click next to File Sharing.
Click Options, then turn off “Share files and folders using SMB.”
Below Windows File Sharing, deselect any checkboxes that are selected.
Click Done.
Because passwords for some Windows users may be stored less securely, it’s a good idea to deselect the On checkbox next to each account when it’s not in use. Do this before you turn off file sharing on your Mac. Otherwise, the password is still active and stored in a less secure manner.