Skip to main content
Solved

Computer Name field grayed out?

  • April 7, 2017
  • 6 replies
  • 55 views

Forum|alt.badge.img+9

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.

Best answer by talkingmoose

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.

6 replies

talkingmoose
Forum|alt.badge.img+36
  • Community Manager
  • Answer
  • April 8, 2017

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.


Forum|alt.badge.img+2
  • New Contributor
  • April 10, 2017

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.


Forum|alt.badge.img+9
  • Author
  • Contributor
  • April 10, 2017

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


Forum|alt.badge.img+5
  • Contributor
  • April 11, 2017

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?


Forum|alt.badge.img+3
  • New Contributor
  • August 23, 2019

Worked like a charm thanks!!


Forum|alt.badge.img+15
  • Valued Contributor
  • August 24, 2019

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.