Skip to content

How to disable SMB 1 or NetBIOS in macOS — by Apple Support

advancedpageLink only (©)

Apple's admin article on /etc/nsmb.conf, a file that does not exist by default: under a [default] section, protocol_vers_map=6 stops SMB 1 and port445=no_netbios stops NetBIOS fallback for outgoing connections. Deleting the file reverts it. Apple says these are on for compatibility with third-party products, so turning them off may affect older devices; editing /etc needs sudo.

Quick steps

  1. Create /etc/nsmb.conf with a [default] line (sudo tee -a)
  2. Add protocol_vers_map=6
  3. Add port445=no_netbios
  4. Delete /etc/nsmb.conf to revert

Paraphrased from the source. Menus can differ by version, so check the original for full details.

Read the full article on support.apple.com

Source: How to disable SMB 1 or NetBIOS in macOS by Apple Support. Licence: Link only (©).

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

smbnsmb.confnetworkingmacos

More in macOS

Gatekeeper - Permanently Resetting Quarantine — by jdag and KALLT on MacRumors Forums

intermediateforum

Thread from 2016 where the poster uses xattr -d -r com.apple.quarantine /Applications/APPNAME.app to strip the flag recursively. KALLT notes each download gets a unique quarantine flag, suggests right-click and Open instead, and says an app Gatekeeper reports as tampered with should be raised with its developer. Removing quarantine bypasses Gatekeeper's check, so only do it for software you trust.