Posted on 04-07-2017 02:51 PM
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.
Solved! Go to Solution.
Posted on 04-08-2017 04:23 PM
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.
Posted on 04-10-2017 07:37 AM
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.
Posted on 04-08-2017 04:23 PM
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.
Posted on 04-10-2017 07:37 AM
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.
Posted on 04-10-2017 10:04 AM
@kbingham That must be it, I do have a payload to block users from changing their computer name.
Posted on 04-11-2017 06:32 AM
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?
Posted on 08-23-2019 10:36 AM
Worked like a charm thanks!!
Posted on 08-24-2019 03:29 AM
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.