I entered some commands in terminal in efforts of disabling 'Harddrive' and 'Users' folder shared, did not receive much response. What exactly do the commands do?
command:
1$ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server VirtualAdminShares -bool NO
2$ sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server VirtualHomeShares -bool NO
3$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.smbd.plist
4$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.smbd.plist
responce:
1$ "password?" (fill in password)
2$ "operation in process"
3$
4$
Bellow is the forum with the terminal commands. https://apple.stackexchange.com/a/376494