I can't change netbios name and workgroup

I can't change netbios name and workgroup.

After I have change it and apply old names always back again.


Could you please provide a work-around.

MacBook Air, macOS High Sierra (10.13.1), 2013 HD5000

Posted on Nov 30, 2017 4:38 PM

Reply
3 replies

Dec 31, 2017 3:41 PM in response to MaximM

Following the almost always helpful JAMF public discussion pages - see this entry:


Script to Change workgroup - Jamf Nation


I tried forcing the Workgroup entry of /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist to a new name using both /usr/libexec/PlistBuddy and the defaults terminal mode command. Both commands did work. I confirm this with the Print command of PlistBuddy For example with PlistBuddy my session looked like:


% sudo /usr/libexec/PlistBuddy /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist

Command: Print

Dict {

ServerDescription = Fred’s MacBook Pro

NetBIOSName = FREDS-MACBOOK

AllowGuestAccess = false

LocalKerberosRealm = LKDC:SHA1.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Workgroup = WORKGROUP

DOSCodePage = 437

}

Command: set :Workgroup NEWNAME

Command: Save

Saving...

Command: Print

Dict {

ServerDescription = Fred’s MacBook Pro

NetBIOSName = FREDS-MACBOOK

AllowGuestAccess = false

LocalKerberosRealm = LKDC:SHA1.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Workgroup = NEWNAME

DOSCodePage = 437

}

Command: Exit


I also succeeded in changing the Workgroup entry value with the a defaults command like this:


sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server Workgroup "NEWNAME"


However even though after rebooting and confirming that the Workgroup entry showed NEWNAME, the WINS tab in the network control panel still showed WORKGROUP.


So it looks like High Sierra really changed something here because the JAMF post was from 2011 and apparently this kept working since since there are no further comments mentioning problems.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

I can't change netbios name and workgroup

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.