Skip to main content
Question

How to Disable NetBios TCP/IP for Mac


Forum|alt.badge.img+3

Hello,

How do I disable Netbiox TCP/IP for Mac, and is it the same on all versions for Mac? And is there a way to check if it has been disabled/enabled?

I know in windows, if you do ipconfig /all, it will list that Netbios tcp/ip is enabled or disabled.

I found a site that said to do this but it doesn't seem to work?

Launchctl unload -w /System/Library/LaunchDaemons/nmbd.plist

10 replies

Forum|alt.badge.img+10
  • Contributor
  • 142 replies
  • August 7, 2015

the command you're referencing, is likely applicable before SMBX.

disabling the com.apple.netbiosd Launch Daemon will disable NetBIOS. You should be able to interactively see very quickly in Finder as any NetBIOS-based devices disappear in the Shared Sidebar in Finder.

launchctl unload -w /System/Library/LaunchDaemons/com.apple.netbiosd.plist

Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 3 replies
  • August 11, 2015

Do i just type this in terminal? Because it says "Could not find specified service..."
I'm also running Yosemite.


bpavlov
Forum|alt.badge.img+18
  • Esteemed Contributor
  • 1206 replies
  • August 11, 2015

Yes type it in Terminal. You may need to run that with sudo as such:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.netbiosd.plist

Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 3 replies
  • August 12, 2015

Still says could not find specified service ?

If I disable File sharing that would accomplish what I'm trying here right?

/bin/launchctl load -F /System/Library/LaunchDaemons/com.apple.AppleFileServer.plist;;


Forum|alt.badge.img+10
  • Contributor
  • 142 replies
  • August 12, 2015

I've been able to replicate the error you're getting, when running the command as Standard User. This is modifying a system service, you'll need run the command as an Administrator or with sudo privileges for OS X to accept and process the command.


Forum|alt.badge.img
  • New Contributor
  • 1 reply
  • November 17, 2015

"I've been able to replicate the error you're getting, when running the command as Standard User. This is modifying a system service, you'll need run the command as an Administrator or with sudo privileges for OS X to accept and process the command."

Unfortunately even logged in as root, I get the same message as NightWing still. Any other suggestions perhaps?

thank you.


Forum|alt.badge.img+8
  • Valued Contributor
  • 119 replies
  • June 7, 2016

Good Morning! Was this ever resolved? I am experiencing the same issue stated above.

I was told by my security team at the college I work at that it needs to be disabled, unfortunately as @NightWing & @mlawrence both stated it won't allow me to do this. I am running into this on El Capitan and only one system at this point. All of my other system have been disabled. Also same thing when trying to MV(rename) /usr/sbin/netbiosd, as sudo or root.

Thank you all for the great comments and assistance. Have a great day everyone!


Forum|alt.badge.img+7
  • Contributor
  • 24 replies
  • June 7, 2016

If on MacOS 10.10.x and above...

Disable netbiosd command

sudo launchctl disable system/netbiosd

Enable netbiosd command

sudo launchctl enable system/netbiosd

The error you were receiving re: service not found indicates the service is not running.
For MacOS 10.9.x and below - your launchctl unload command should be working fine. I have tested this in a postinstall script in a package - works for my systems.


Forum|alt.badge.img+8
  • Valued Contributor
  • 119 replies
  • June 7, 2016

Thank you @mpebley I ran the fix in terminal and it went through without an error. I appreciate all of the assistance. Have a very great day!


Forum|alt.badge.img
  • New Contributor
  • 1 reply
  • September 6, 2016

I just tried to disable using the code above and it worked, only it requires a passcode. What does that mean and how do I get it? I didn't install this and I want it gone.

See below:
cynthias-MBP:~ cynthiapress$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.netbiosd.plist

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility.

Password:


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings