Setting the SMB/Netbios name of your Mac
Posted by jpluimers on 2015/03/30
Even after changing the name of your Mac, from the Windows side it still looks like this:
I knew I had solved this in the past, as the MacBook Air showed up correctly in the list:
The trick is that there are 2 names for your Mac: the name for the Apple side of things, and the name for the Windows side of things. For the latter you’d think it would be named SMB or NetBIOS.
You’d think that after enabling File Sharing, the Options would not only allow you to enable SMB file sharing, but also allow you to change the SMB name for your Mac, but it doesn’t.
What you have to do is change the WINS name for your Mac. The frustrating thing is that you cannot find the WINS or NetBIOS option using Spotlight: those are not indexed, but SMB is (and leads you to the dialog on the right). How confusing!
For the first step does not matter which connection you choose: any connection will work as the NetBIOS name in the WINS setting is a global setting for the whole machine (so it is not specific for each connection: that’s why I used the screenshot while using my Nexus 4 bluetooth connection), so here are the steps:
- Select the network service you want to set up to use a WINS server, such as Ethernet or Wi-Fi.
- Click Advanced, and then click WINS.
- Enter the NetBIOS name you received from your network administrator.
- Optionally: Choose the workgroup you want to use from the pop-up menu.
- Optionally: Click Add (+), and then enter the IP address of the WINS server. Check with your network administrator if you don’t know the address.
- Click OK, and then click Apply to make the settings active for that network service.
The fun is: after changing the WINS name, the SMB name caching for a while shows your Mac as having a split personality: