Skip to main content
Solved

Changing Computer name's in JSS

  • July 16, 2014
  • 5 replies
  • 37 views

Forum|alt.badge.img+10

When changing name's in General Tab for computer it ends up going back to the old name after saving it. What's the best way to change the computer name and it actually stay's the new name ??

Thanks

Best answer by hodgesji

You could also change and save it in the JSS and then with Casper Remote, select your computers and under the Advanced tab check "Reset Computer Names".

You just have to make sure to push "reset computer names" before the computers check in again.

5 replies

Forum|alt.badge.img+18
  • Valued Contributor
  • July 16, 2014

change it on the host, probably using scutil and then run recon.


Forum|alt.badge.img+18
  • Valued Contributor
  • July 16, 2014

scutil --set HostName $hostname scutil --set LocalHostName $hostname scutil --set ComputerName $hostname


hodgesji
Forum|alt.badge.img+17
  • Contributor
  • Answer
  • July 16, 2014

You could also change and save it in the JSS and then with Casper Remote, select your computers and under the Advanced tab check "Reset Computer Names".

You just have to make sure to push "reset computer names" before the computers check in again.


Forum|alt.badge.img+8
  • Valued Contributor
  • July 16, 2014

Posting to +1 hodgesji's comment. This is how I do it. You could also scope the reset computer name policy to the computer and wait for check-in to occur if you aren't interested in manually running it using Casper Remote.


mpermann
Forum|alt.badge.img+22
  • Valued Contributor
  • July 17, 2014

I have a policy setup that I use to do this. I clone my template and modify the scope and name of computer as necessary. It's triggered on the recurring check-in to run once per computer and I scope it to the specific computer that needs the name updated. Under Files and Processes I have it execute scutil --set ComputerName 'Name of Computer'. When the policy completes successfully I delete the cloned policy.