Posted on 07-16-2014 12:36 PM
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
Solved! Go to Solution.
Posted on 07-16-2014 01:12 PM
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.
Posted on 07-16-2014 04:56 PM
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.
Posted on 07-16-2014 12:37 PM
change it on the host, probably using scutil and then run recon.
Posted on 07-16-2014 12:38 PM
scutil --set HostName $hostname scutil --set LocalHostName $hostname scutil --set ComputerName $hostname
Posted on 07-16-2014 01:12 PM
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.
Posted on 07-16-2014 04:56 PM
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.
Posted on 07-16-2014 05:12 PM
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.