Computer Name field grayed out?

dmitchell
Contributor

I haven't touched policies or config profiles in months. Recently we had two Macs, one Macbook Pro and one iMac that went through pre-stage, config and policy. After that's all done our Techs rename the device and add it to our domain. Well for some reason the computer name field has been grayed out and we can only access the computername.local so when they're added to the domain it will be added as "imac" or whatever. What kind of policy or config do I need to enable the computer name field? Both these Macs were running the latest version of Sierra.

2 ACCEPTED SOLUTIONS

talkingmoose
Moderator
Moderator

Verify whether you have a Login Window payload installed as part of a configuration profile.

The Login Window has a payload under the Options tab to "Set computer name to computer record name". If that's enabled, you'll see the behavior you're describing.

View solution in original post

kbingham
New Contributor III

We use a Login Window payload to block our users from changing their computer name. To change the computer name we use 'sudo jamf setComputerName -name <computer_name>'. You can see all the options with 'sudo jamf help setComputerName'. This is easier for us since we can use a policy that calls a script to set the computer name then bind to Active Directory after the name has been set.

View solution in original post

6 REPLIES 6

talkingmoose
Moderator
Moderator

Verify whether you have a Login Window payload installed as part of a configuration profile.

The Login Window has a payload under the Options tab to "Set computer name to computer record name". If that's enabled, you'll see the behavior you're describing.

kbingham
New Contributor III

We use a Login Window payload to block our users from changing their computer name. To change the computer name we use 'sudo jamf setComputerName -name <computer_name>'. You can see all the options with 'sudo jamf help setComputerName'. This is easier for us since we can use a policy that calls a script to set the computer name then bind to Active Directory after the name has been set.

dmitchell
Contributor

@kbingham That must be it, I do have a payload to block users from changing their computer name.

seann
Contributor

Is the login window config profile still bugged? Meaning does it still have the side effect of randomly disabling any other screensaver/lock settings you have defined by other profiles?

dstaubitz
New Contributor

Worked like a charm thanks!!

ericbenfer
Contributor III

BTW - The only acceptable computer name is based on the computer serial number and fully automated via a script.
Otherwise humans will incorrectly enter the name.