Skip to main content
Question

Login Window Profile: Set computer name to computer record name


Forum|alt.badge.img+19

What "computer record" is this Login Window Profile Payload referring to? A JAMF computer record? An LDAP computer record?

Does this Profile payload also set the computer's host name and local host name to match the computer record name, too?

How does this Profile Payload differ from the Policy Maintenance Payload > Reset Computer Names > "Change the computer names on computers to match the computer names in the JSS"?

8 replies

Forum|alt.badge.img+24
  • Honored Contributor
  • 341 replies
  • February 28, 2016

It is referring to the JSS name. The difference is that it is managed and cannot be changed as long as the profile is installed.


Brad_G
Forum|alt.badge.img+16
  • Valued Contributor
  • 124 replies
  • February 29, 2016

Make sure you test that option in the configuration profile before mass deployment. There was a defect in a previous version of the JSS that changed the computer name to "localhost". Having a few hundred devices with the same name in the JSS caused us some grief.


Forum|alt.badge.img+2
  • New Contributor
  • 11 replies
  • September 20, 2018
Posted: 2/27/16 at 11:01 PM by mscottblake It is referring to the JSS name. The difference is that it is managed and cannot be changed as long as the profile is installed.

Does this mean the name cannot be altered by self service policies or terminal commands at all?


Forum|alt.badge.img+24
  • Honored Contributor
  • 341 replies
  • September 21, 2018

@jon.verret It's been a while since I used it, but I do believe that's right. As long as the profile is installed, the name becomes read-only.

Someone correct me if that's no longer the case.


Forum|alt.badge.img+10
  • Valued Contributor
  • 71 replies
  • May 8, 2020

dstranathan asked:

How does this Profile Payload differ from the Policy Maintenance Payload > Reset Computer Names > "Change the computer names on computers to match the computer names in the JSS"?

Any ideas on that? I used the "Set computer name to computer record name" from "Login Window" in "Configuration Profiles" and that does not work. It always resets the computer record name from jamf back to the computer name.


Forum|alt.badge.img+5
  • Contributor
  • 25 replies
  • April 21, 2022

I use this setting, and I have had to set the name with scutil (using root shell in Ninja) on the computer in order to control the name I see in Jamf. So while this achieves making the name read-only (my goal), it works the opposite of how it should work. Which is to set in Jamf and see the name change on the target computer. If the name is wrong on the target computer, it will change in Jamf check-ins until you change it via terminal on the client.


Forum|alt.badge.img+5
  • Contributor
  • 25 replies
  • April 21, 2022

There is also a policy under Maintenance: "Change the computer name on computers to match the computer name in Jamf Pro". So the question is, are these working at cross purposes, and how do they interact? On my setup this NEVER works. If I remove the other setting does the name become editable on the client, but with the one in Maintenance it keeps getting set back to what is set in Jamf? It's unclear what the intention is between these two options.


Forum|alt.badge.img+5
  • Contributor
  • 25 replies
  • April 21, 2022

I have kept the Maintenance setting in recurring check-in and ditched the other one. NOW, the recurring check-in policy pushes the name in Jamf to the client, and it remains read-only. So the "Reset Computer Names" check-box seems pretty worthless. In fact it makes the situation worse.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings